/external/llvm/lib/Target/ARM/InstPrinter/ |
D | ARMInstPrinter.cpp | 116 const MCOperand &MO1 = MI->getOperand(1); in printInst() local 127 printRegName(O, MO1.getReg()); in printInst() 139 const MCOperand &MO1 = MI->getOperand(1); in printInst() local 149 printRegName(O, MO1.getReg()); in printInst() 360 const MCOperand &MO1 = MI->getOperand(OpNum); in printThumbLdrLabelOperand() local 361 if (MO1.isExpr()) { in printThumbLdrLabelOperand() 362 O << *MO1.getExpr(); in printThumbLdrLabelOperand() 368 int32_t OffImm = (int32_t)MO1.getImm(); in printThumbLdrLabelOperand() 390 const MCOperand &MO1 = MI->getOperand(OpNum); in printSORegRegOperand() local 394 printRegName(O, MO1.getReg()); in printSORegRegOperand() [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCCodeEmitter.cpp | 562 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); in EncodeAddrModeOpValues() local 566 int32_t SImm = MO1.getImm(); in EncodeAddrModeOpValues() 871 const MCOperand &MO1 = MI.getOperand(OpIdx); in getThumbAddrModeRegRegOpValue() local 873 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg()); in getThumbAddrModeRegRegOpValue() 1011 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); in getT2AddrModeImm0_1020s4OpValue() local 1013 unsigned Imm8 = MO1.getImm(); in getT2AddrModeImm0_1020s4OpValue() 1078 const MCOperand &MO1 = MI.getOperand(OpIdx+1); in getLdStSORegOpValue() local 1081 unsigned Rm = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg()); in getLdStSORegOpValue() 1130 const MCOperand &MO1 = MI.getOperand(OpIdx+1); in getAddrMode2OffsetOpValue() local 1131 unsigned Imm = MO1.getImm(); in getAddrMode2OffsetOpValue() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 641 const MachineOperand &MO1 = MI.getOperand(1); in expandMI() local 642 unsigned Flags = MO1.getTargetFlags(); in expandMI() 650 if (MO1.isGlobal()) { in expandMI() 651 MIB1.addGlobalAddress(MO1.getGlobal(), 0, Flags | AArch64II::MO_PAGE); in expandMI() 652 MIB2.addGlobalAddress(MO1.getGlobal(), 0, in expandMI() 654 } else if (MO1.isSymbol()) { in expandMI() 655 MIB1.addExternalSymbol(MO1.getSymbolName(), Flags | AArch64II::MO_PAGE); in expandMI() 656 MIB2.addExternalSymbol(MO1.getSymbolName(), in expandMI() 659 assert(MO1.isCPI() && in expandMI() 661 MIB1.addConstantPoolIndex(MO1.getIndex(), MO1.getOffset(), in expandMI() [all …]
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonInstPrinter.cpp | 189 const MCOperand& MO1 = MI->getOperand(OpNo + 1); in printMEMriOperand() local 192 O << " + #" << MO1.getImm(); in printMEMriOperand() 198 const MCOperand& MO1 = MI->getOperand(OpNo + 1); in printFrameIndexOperand() local 200 O << getRegisterName(MO0.getReg()) << ", #" << MO1.getImm(); in printFrameIndexOperand()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCCodeEmitter.cpp | 276 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); in getAddSubImmOpValue() local 277 assert(AArch64_AM::getShiftType(MO1.getImm()) == AArch64_AM::LSL && in getAddSubImmOpValue() 279 unsigned ShiftVal = AArch64_AM::getShiftValue(MO1.getImm()); in getAddSubImmOpValue()
|
/external/llvm/lib/Target/AArch64/InstPrinter/ |
D | AArch64InstPrinter.cpp | 1088 const MCOperand MO1 = MI->getOperand(OpNum + 1); in printAMIndexedWB() local 1090 if (MO1.isImm()) { in printAMIndexedWB() 1091 O << ", #" << (MO1.getImm() * Scale); in printAMIndexedWB() 1093 assert(MO1.isExpr() && "Unexpected operand type!"); in printAMIndexedWB() 1094 O << ", " << *MO1.getExpr(); in printAMIndexedWB()
|
/external/llvm/lib/Target/ARM/ |
D | ARMExpandPseudoInsts.cpp | 977 const MachineOperand &MO1 = MI.getOperand(1); in ExpandMI() local 978 const GlobalValue *GV = MO1.getGlobal(); in ExpandMI() 1030 const MachineOperand &MO1 = MI.getOperand(1); in ExpandMI() local 1031 const GlobalValue *GV = MO1.getGlobal(); in ExpandMI() 1032 unsigned TF = MO1.getTargetFlags(); in ExpandMI() 1043 .addGlobalAddress(GV, MO1.getOffset(), TF | LO16TF) in ExpandMI() 1048 .addGlobalAddress(GV, MO1.getOffset(), TF | HI16TF) in ExpandMI()
|
D | ARMAsmPrinter.cpp | 938 const MachineOperand &MO1 = MI->getOperand(OpNum); in EmitJumpTable() local 940 unsigned JTI = MO1.getIndex(); in EmitJumpTable() 984 const MachineOperand &MO1 = MI->getOperand(OpNum); in EmitJump2Table() local 986 unsigned JTI = MO1.getIndex(); in EmitJump2Table()
|
D | ARMBaseInstrInfo.cpp | 1452 const MachineOperand &MO1 = MI1->getOperand(1); in produceSameValue() local 1453 if (MO0.getOffset() != MO1.getOffset()) in produceSameValue() 1463 return MO0.getGlobal() == MO1.getGlobal(); in produceSameValue() 1468 int CPI1 = MO1.getIndex(); in produceSameValue() 1509 const MachineOperand &MO1 = MI1->getOperand(i); in produceSameValue() local 1510 if (!MO0.isIdenticalTo(MO1)) in produceSameValue()
|
/external/llvm/docs/ |
D | WritingAnLLVMBackend.rst | 1842 machine operand, ``MO1``, is extracted. The helper methods such as 1855 const MachineOperand &MO1 = MI.getOperand(CurOp++); 1857 if (MO1.isImmediate()) 1858 emitConstant(MO1.getImm(), Size); 1864 if (MO1.isGlobalAddress()) { 1865 bool NeedStub = isa<Function>(MO1.getGlobal()); 1866 bool isLazy = gvNeedsLazyPtr(MO1.getGlobal()); 1867 emitGlobalAddress(MO1.getGlobal(), rt, MO1.getOffset(), 0, 1869 } else if (MO1.isExternalSymbol()) 1870 emitExternalSymbolAddress(MO1.getSymbolName(), rt); [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 1312 const MachineOperand &MO1 = MI->getOperand(1); in handleSpecialFP() local 1314 bool KillsSrc = MI->killsRegister(MO1.getReg()); in handleSpecialFP() 1318 unsigned SrcFP = getFPReg(MO1); in handleSpecialFP()
|
D | X86InstrInfo.cpp | 5481 MachineOperand &MO1 = DataMI->getOperand(1); in unfoldMemoryOperand() local 5482 if (MO1.getImm() == 0) { in unfoldMemoryOperand() 5495 MO1.ChangeToRegister(MO0.getReg(), false); in unfoldMemoryOperand()
|