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

1 2 3 4 5 6

  /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/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
ARMMCCodeEmitter.cpp 78 uint32_t getHiLo16ImmOpValue(const MCInst &MI, unsigned OpIdx,
81 bool EncodeAddrModeOpValues(const MCInst &MI, unsigned OpIdx,
87 uint32_t getThumbBLTargetOpValue(const MCInst &MI, unsigned OpIdx,
92 uint32_t getThumbBLXTargetOpValue(const MCInst &MI, unsigned OpIdx,
96 uint32_t getThumbBRTargetOpValue(const MCInst &MI, unsigned OpIdx,
100 uint32_t getThumbBCCTargetOpValue(const MCInst &MI, unsigned OpIdx,
104 uint32_t getThumbCBTargetOpValue(const MCInst &MI, unsigned OpIdx,
109 uint32_t getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
114 uint32_t getUnconditionalBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
119 uint32_t getARMBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
    [all...]
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MCCodeEmitter.cpp 62 uint32_t getLdStUImm12OpValue(const MCInst &MI, unsigned OpIdx,
68 uint32_t getAdrLabelOpValue(const MCInst &MI, unsigned OpIdx,
74 uint32_t getAddSubImmOpValue(const MCInst &MI, unsigned OpIdx,
80 uint32_t getCondBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
86 uint32_t getLoadLiteralOpValue(const MCInst &MI, unsigned OpIdx,
93 uint32_t getMemExtendOpValue(const MCInst &MI, unsigned OpIdx,
99 uint32_t getTestBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
105 uint32_t getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
111 uint32_t getMoveWideImmOpValue(const MCInst &MI, unsigned OpIdx,
116 uint32_t getVecShifterOpValue(const MCInst &MI, unsigned OpIdx,
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCCodeEmitter.cpp 81 uint32_t getHiLo16ImmOpValue(const MCInst &MI, unsigned OpIdx,
85 bool EncodeAddrModeOpValues(const MCInst &MI, unsigned OpIdx,
92 uint32_t getThumbBLTargetOpValue(const MCInst &MI, unsigned OpIdx,
98 uint32_t getThumbBLXTargetOpValue(const MCInst &MI, unsigned OpIdx,
103 uint32_t getThumbBRTargetOpValue(const MCInst &MI, unsigned OpIdx,
108 uint32_t getThumbBCCTargetOpValue(const MCInst &MI, unsigned OpIdx,
113 uint32_t getThumbCBTargetOpValue(const MCInst &MI, unsigned OpIdx,
119 uint32_t getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
125 uint32_t getThumbBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
131 uint32_t getARMBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
    [all...]
  /external/llvm/lib/CodeGen/GlobalISel/
RegisterBankInfo.cpp 186 const MachineInstr &MI, unsigned OpIdx, const TargetInstrInfo &TII,
190 const TargetRegisterClass *RC = MI.getRegClassConstraint(OpIdx, &TII, &TRI);
223 for (unsigned OpIdx = 0, End = MI.getNumOperands(); OpIdx != End; ++OpIdx) {
224 const MachineOperand &MO = MI.getOperand(OpIdx);
243 CurRegBank = getRegBankFromConstraints(MI, OpIdx, TII, TRI);
273 Mapping.setOperandMapping(OpIdx, RegSize, *CurRegBank);
288 for (unsigned OpIdx = 0, End = MI.getNumOperands(); OpIdx != End; ++OpIdx)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/ARM/
ARMCodeEmitter.cpp 101 unsigned OpIdx);
152 unsigned getMachineOpValue(const MachineInstr &MI, unsigned OpIdx) const {
153 return getMachineOpValue(MI, MI.getOperand(OpIdx));
239 uint32_t getLdStmModeOpValue(const MachineInstr &MI, unsigned OpIdx)
241 uint32_t getLdStSORegOpValue(const MachineInstr &MI, unsigned OpIdx)
269 uint32_t getAddrMode2OpValue(const MachineInstr &MI, unsigned OpIdx)
271 uint32_t getAddrMode2OffsetOpValue(const MachineInstr &MI, unsigned OpIdx)
273 uint32_t getPostIdxRegOpValue(const MachineInstr &MI, unsigned OpIdx)
275 uint32_t getAddrMode3OffsetOpValue(const MachineInstr &MI, unsigned OpIdx)
    [all...]
ARMExpandPseudoInsts.cpp 419 unsigned OpIdx = 0;
421 bool DstIsDead = MI.getOperand(OpIdx).isDead();
422 unsigned DstReg = MI.getOperand(OpIdx++).getReg();
433 MIB.addOperand(MI.getOperand(OpIdx++));
436 MIB.addOperand(MI.getOperand(OpIdx++));
437 MIB.addOperand(MI.getOperand(OpIdx++));
440 MIB.addOperand(MI.getOperand(OpIdx++));
447 SrcOpIdx = OpIdx++;
450 MIB.addOperand(MI.getOperand(OpIdx++));
451 MIB.addOperand(MI.getOperand(OpIdx++))
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
ProcessImplicitDefs.h 34 unsigned OpIdx,
  /external/llvm/lib/Target/AArch64/
AArch64AddressTypePromotion.cpp 208 static bool shouldSExtOperand(const Instruction *Inst, int OpIdx) {
209 return !(isa<SelectInst>(Inst) && OpIdx == 0);
311 for (int OpIdx = 0, EndOpIdx = Inst->getNumOperands(); OpIdx != EndOpIdx;
312 ++OpIdx) {
313 DEBUG(dbgs() << "Operand:\n" << *(Inst->getOperand(OpIdx)) << '\n');
314 if (Inst->getOperand(OpIdx)->getType() == SExt->getType() ||
315 !shouldSExtOperand(Inst, OpIdx)) {
320 Value *Opnd = Inst->getOperand(OpIdx);
323 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType()
    [all...]
  /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...]
  /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) + ")";
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
RegisterBankInfo.h 272 /// The OpIdx-th cell contains the index in NewVRegs where the VRegs of the
273 /// OpIdx-th operand starts. -1 means we do not have such mapping yet.
290 /// values for the \p OpIdx-th operand.
294 /// \pre getMI().getOperand(OpIdx).isReg()
296 getVRegsMem(unsigned OpIdx);
326 /// OpIdx-th operand.
333 /// \pre getMI().getOperand(OpIdx).isReg()
335 /// \post All the partial mapping of the \p OpIdx-th operand have been
337 void createVRegs(unsigned OpIdx);
340 /// the OpIdx-th operand to \p NewVReg
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
RegisterBankInfo.h 272 /// The OpIdx-th cell contains the index in NewVRegs where the VRegs of the
273 /// OpIdx-th operand starts. -1 means we do not have such mapping yet.
290 /// values for the \p OpIdx-th operand.
294 /// \pre getMI().getOperand(OpIdx).isReg()
296 getVRegsMem(unsigned OpIdx);
326 /// OpIdx-th operand.
333 /// \pre getMI().getOperand(OpIdx).isReg()
335 /// \post All the partial mapping of the \p OpIdx-th operand have been
337 void createVRegs(unsigned OpIdx);
340 /// the OpIdx-th operand to \p NewVReg
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
RegisterBankInfo.h 272 /// The OpIdx-th cell contains the index in NewVRegs where the VRegs of the
273 /// OpIdx-th operand starts. -1 means we do not have such mapping yet.
290 /// values for the \p OpIdx-th operand.
294 /// \pre getMI().getOperand(OpIdx).isReg()
296 getVRegsMem(unsigned OpIdx);
326 /// OpIdx-th operand.
333 /// \pre getMI().getOperand(OpIdx).isReg()
335 /// \post All the partial mapping of the \p OpIdx-th operand have been
337 void createVRegs(unsigned OpIdx);
340 /// the OpIdx-th operand to \p NewVReg
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
RegisterBankInfo.h 272 /// The OpIdx-th cell contains the index in NewVRegs where the VRegs of the
273 /// OpIdx-th operand starts. -1 means we do not have such mapping yet.
290 /// values for the \p OpIdx-th operand.
294 /// \pre getMI().getOperand(OpIdx).isReg()
296 getVRegsMem(unsigned OpIdx);
326 /// OpIdx-th operand.
333 /// \pre getMI().getOperand(OpIdx).isReg()
335 /// \post All the partial mapping of the \p OpIdx-th operand have been
337 void createVRegs(unsigned OpIdx);
340 /// the OpIdx-th operand to \p NewVReg
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
RegisterBankInfo.h 272 /// The OpIdx-th cell contains the index in NewVRegs where the VRegs of the
273 /// OpIdx-th operand starts. -1 means we do not have such mapping yet.
290 /// values for the \p OpIdx-th operand.
294 /// \pre getMI().getOperand(OpIdx).isReg()
296 getVRegsMem(unsigned OpIdx);
326 /// OpIdx-th operand.
333 /// \pre getMI().getOperand(OpIdx).isReg()
335 /// \post All the partial mapping of the \p OpIdx-th operand have been
337 void createVRegs(unsigned OpIdx);
340 /// the OpIdx-th operand to \p NewVReg
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 34 /// Try to constrain Reg so that it is usable by argument OpIdx of the
46 unsigned Reg, unsigned OpIdx);
  /external/llvm/include/llvm/CodeGen/GlobalISel/
RegisterBankInfo.h 164 /// Set the operand mapping for the \p OpIdx-th operand.
168 void setOperandMapping(unsigned OpIdx, unsigned MaskSize,
194 /// The OpIdx-th cell contains the index in NewVRegs where the VRegs of the
195 /// OpIdx-th operand starts. -1 means we do not have such mapping yet.
211 /// values for the \p OpIdx-th operand.
215 /// \pre getMI().getOperand(OpIdx).isReg()
217 getVRegsMem(unsigned OpIdx);
244 /// OpIdx-th operand.
248 /// \pre getMI().getOperand(OpIdx).isReg()
250 /// \post All the partial mapping of the \p OpIdx-th operand have bee
    [all...]

Completed in 642 milliseconds

1 2 3 4 5 6