HomeSort by relevance Sort by last modified time
    Searched defs:OpIdx (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/swiftshader/third_party/LLVM/include/llvm/Analysis/
ConstantsScanner.h 28 unsigned OpIdx; // Operand index
33 assert(!InstI.atEnd() && OpIdx < InstI->getNumOperands() &&
35 return isa<Constant>(InstI->getOperand(OpIdx));
39 inline constant_iterator(const Function *F) : InstI(inst_begin(F)), OpIdx(0) {
47 : InstI(inst_end(F)), OpIdx(0) {
50 inline bool operator==(const _Self& x) const { return OpIdx == x.OpIdx &&
56 return cast<Constant>(InstI->getOperand(OpIdx));
61 ++OpIdx;
64 while (OpIdx < NumOperands && !isAtConstant())
    [all...]
  /external/llvm/lib/Target/AMDGPU/
R600ExpandSpecialInstrs.cpp 60 int OpIdx = TII->getOperandIdx(*OldMI, Op);
61 if (OpIdx > -1) {
62 uint64_t Val = OldMI->getOperand(OpIdx).getImm();
  /external/llvm/utils/TableGen/
CodeEmitterGen.cpp 86 unsigned OpIdx;
87 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) {
89 OpIdx = CGI.Operands[OpIdx].MIOperandNo;
90 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) &&
113 OpIdx = NumberedOp++;
116 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx);
127 " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx);
133 " op = getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")";
192 unsigned OpIdx;
    [all...]
CodeGenInstruction.cpp 140 unsigned OpIdx;
141 if (hasOperandNamed(Name, OpIdx)) return OpIdx;
147 /// given name. If so, return true and set OpIdx to the index of the
149 bool CGIOperandList::hasOperandNamed(StringRef Name, unsigned &OpIdx) const {
153 OpIdx = i;
176 unsigned OpIdx = getOperandNamed(OpName);
180 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp &&
186 return std::make_pair(OpIdx, 0U);
190 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo
    [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/
ProcessImplicitDefs.cpp 49 unsigned Reg, unsigned OpIdx,
51 switch(OpIdx) {
263 unsigned OpIdx = Ops[j];
264 RMI->RemoveOperand(OpIdx-j);
  /external/swiftshader/third_party/LLVM/utils/TableGen/
CodeEmitterGen.cpp 107 unsigned OpIdx;
108 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) {
110 OpIdx = CGI.Operands[OpIdx].MIOperandNo;
111 assert(!CGI.Operands.isFlatOperandNotEmitted(OpIdx) &&
118 OpIdx = NumberedOp++;
121 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx);
132 " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx);
139 " op = getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")";
CodeGenInstruction.cpp 135 unsigned OpIdx;
136 if (hasOperandNamed(Name, OpIdx)) return OpIdx;
142 /// given name. If so, return true and set OpIdx to the index of the
144 bool CGIOperandList::hasOperandNamed(StringRef Name, unsigned &OpIdx) const {
148 OpIdx = i;
171 unsigned OpIdx = getOperandNamed(OpName);
175 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp &&
181 return std::make_pair(OpIdx, 0U);
185 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
RegBankSelect.h 339 unsigned OpIdx;
351 /// Create a repairing placement for the \p OpIdx-th operand of
356 RepairingPlacement(MachineInstr &MI, unsigned OpIdx,
363 unsigned getOpIdx() const { return OpIdx; }
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
RegBankSelect.h 339 unsigned OpIdx;
351 /// Create a repairing placement for the \p OpIdx-th operand of
356 RepairingPlacement(MachineInstr &MI, unsigned OpIdx,
363 unsigned getOpIdx() const { return OpIdx; }
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 80 int64_t OpIdx = MatchTable[CurrentIdx++];
86 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx);
109 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
234 int64_t OpIdx = MatchTable[CurrentIdx++];
237 << "]->getOperand(" << OpIdx << "), TypeID=" << TypeID
240 if (MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg()) !=
249 int64_t OpIdx = MatchTable[CurrentIdx++];
253 << "]->getOperand(" << OpIdx
265 const LLT &Ty = MRI.getType(State.MIs[InsnID]->getOperand(OpIdx).getReg());
274 int64_t OpIdx = MatchTable[CurrentIdx++]
    [all...]
  /external/llvm/include/llvm/CodeGen/GlobalISel/
RegBankSelect.h 320 unsigned OpIdx;
332 /// Create a repairing placement for the \p OpIdx-th operand of
337 RepairingPlacement(MachineInstr &MI, unsigned OpIdx,
344 unsigned getOpIdx() const { return OpIdx; }
  /external/llvm/include/llvm/CodeGen/
ScheduleDAGInstrs.h 58 /// For non-data-dependent uses, OpIdx == -1.
61 int OpIdx;
64 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}
  /external/llvm/lib/CodeGen/
ExecutionDepsFix.cpp 206 bool shouldBreakDependence(MachineInstr*, unsigned OpIdx, unsigned Pref);
478 bool ExeDepsFix::shouldBreakDependence(MachineInstr *MI, unsigned OpIdx,
480 unsigned reg = MI->getOperand(OpIdx).getReg();
566 unsigned OpIdx = UndefReads.back().second;
573 if (!LiveRegSet.contains(UndefMI->getOperand(OpIdx).getReg()))
574 TII->breakPartialRegDependency(*UndefMI, OpIdx, TRI);
581 OpIdx = UndefReads.back().second;
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/
ScheduleDAGInstrs.h 58 /// For non-data-dependent uses, OpIdx == -1.
61 int OpIdx;
64 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/CodeGen/
ScheduleDAGInstrs.h 75 /// For non-data-dependent uses, OpIdx == -1.
78 int OpIdx;
81 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/CodeGen/
ScheduleDAGInstrs.h 75 /// For non-data-dependent uses, OpIdx == -1.
78 int OpIdx;
81 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/CodeGen/
ScheduleDAGInstrs.h 75 /// For non-data-dependent uses, OpIdx == -1.
78 int OpIdx;
81 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/CodeGen/
ScheduleDAGInstrs.h 75 /// For non-data-dependent uses, OpIdx == -1.
78 int OpIdx;
81 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}

Completed in 526 milliseconds

1 2 3