Home
last modified time | relevance | path

Searched refs:MO1 (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp104 const MCOperand &MO1 = MI->getOperand(1); in printInst() local
115 printRegName(O, MO1.getReg()); in printInst()
127 const MCOperand &MO1 = MI->getOperand(1); in printInst() local
137 printRegName(O, MO1.getReg()); in printInst()
317 const MCOperand &MO1 = MI->getOperand(OpNum); in printThumbLdrLabelOperand() local
318 if (MO1.isExpr()) in printThumbLdrLabelOperand()
319 O << *MO1.getExpr(); in printThumbLdrLabelOperand()
320 else if (MO1.isImm()) { in printThumbLdrLabelOperand()
322 << markup("<imm:") << "#" << formatImm(MO1.getImm()) in printThumbLdrLabelOperand()
336 const MCOperand &MO1 = MI->getOperand(OpNum); in printSORegRegOperand() local
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp437 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); in EncodeAddrModeOpValues() local
441 int32_t SImm = MO1.getImm(); in EncodeAddrModeOpValues()
725 const MCOperand &MO1 = MI.getOperand(OpIdx); in getThumbAddrModeRegRegOpValue() local
727 unsigned Rn = CTX.getRegisterInfo().getEncodingValue(MO1.getReg()); in getThumbAddrModeRegRegOpValue()
859 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); in getT2AddrModeImm0_1020s4OpValue() local
861 unsigned Imm8 = MO1.getImm(); in getT2AddrModeImm0_1020s4OpValue()
941 const MCOperand &MO1 = MI.getOperand(OpIdx+1); in getLdStSORegOpValue() local
944 unsigned Rm = CTX.getRegisterInfo().getEncodingValue(MO1.getReg()); in getLdStSORegOpValue()
991 const MCOperand &MO1 = MI.getOperand(OpIdx+1); in getAddrMode2OffsetOpValue() local
992 unsigned Imm = MO1.getImm(); in getAddrMode2OffsetOpValue()
[all …]
/external/llvm/lib/Target/X86/
DX86CodeEmitter.cpp1264 const MachineOperand &MO1 = MI.getOperand(CurOp++); in emitInstruction() local
1266 if (MO1.isImm()) { in emitInstruction()
1267 emitConstant(MO1.getImm(), Size); in emitInstruction()
1278 if (MO1.isGlobal()) { in emitInstruction()
1279 bool Indirect = gvNeedsNonLazyPtr(MO1, TM); in emitInstruction()
1280 emitGlobalAddress(MO1.getGlobal(), rt, MO1.getOffset(), 0, in emitInstruction()
1282 } else if (MO1.isSymbol()) in emitInstruction()
1283 emitExternalSymbolAddress(MO1.getSymbolName(), rt); in emitInstruction()
1284 else if (MO1.isCPI()) in emitInstruction()
1285 emitConstPoolAddress(MO1.getIndex(), rt); in emitInstruction()
[all …]
DX86FloatingPoint.cpp1321 const MachineOperand &MO1 = MI->getOperand(1); in handleSpecialFP() local
1324 unsigned SrcST = MO1.getReg() - X86::ST0; in handleSpecialFP()
1325 bool KillsSrc = MI->killsRegister(MO1.getReg()); in handleSpecialFP()
1329 unsigned SrcFP = getFPReg(MO1); in handleSpecialFP()
1382 unsigned SrcFP = getFPReg(MO1); in handleSpecialFP()
DX86InstrInfo.cpp4190 MachineOperand &MO1 = DataMI->getOperand(1); in unfoldMemoryOperand() local
4191 if (MO1.getImm() == 0) { in unfoldMemoryOperand()
4204 MO1.ChangeToRegister(MO0.getReg(), false); in unfoldMemoryOperand()
/external/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.h83 const MachineOperand &MO1 = MI->getOperand(OpNo); in printMEMriOperand() local
86 O << getRegisterName(MO1.getReg()) in printMEMriOperand()
93 const MachineOperand &MO1 = MI->getOperand(OpNo); in printFrameIndexOperand() local
96 O << getRegisterName(MO1.getReg()) in printFrameIndexOperand()
DHexagonAsmPrinter.cpp255 const MachineOperand &MO1 = MI->getOperand(OpNo); in printAddrModeBasePlusOffset() local
258 O << HexagonInstPrinter::getRegisterName(MO1.getReg()) in printAddrModeBasePlusOffset()
/external/llvm/lib/Target/Hexagon/InstPrinter/
DHexagonInstPrinter.cpp143 const MCOperand& MO1 = MI->getOperand(OpNo + 1); in printMEMriOperand() local
146 O << " + #" << MO1.getImm(); in printMEMriOperand()
152 const MCOperand& MO1 = MI->getOperand(OpNo + 1); in printFrameIndexOperand() local
154 O << getRegisterName(MO0.getReg()) << ", #" << MO1.getImm(); in printFrameIndexOperand()
/external/llvm/lib/Target/ARM/
DARMCodeEmitter.cpp262 const MachineOperand &MO1 = MI.getOperand(Op + 1); in getAddrModeImm12OpValue() local
268 int32_t Imm12 = MO1.getImm(); in getAddrModeImm12OpValue()
317 const MachineOperand &MO1 = MI.getOperand(Op + 1); in getAddrMode5OpValue() local
323 int32_t Imm12 = MO1.getImm(); in getAddrMode5OpValue()
743 const MachineOperand &MO1 = MI.getOperand(1); in emitMOVi32immInstruction() local
748 unsigned Lo16 = getMovi32Value(MI, MO1, ARM::reloc_arm_movw) & 0xFFFF; in emitMOVi32immInstruction()
761 unsigned Hi16 = getMovi32Value(MI, MO1, ARM::reloc_arm_movt) >> 16; in emitMOVi32immInstruction()
779 const MachineOperand &MO1 = MI.getOperand(1); in emitMOVi2piecesInstruction() local
780 assert(MO1.isImm() && ARM_AM::isSOImmTwoPartVal(MO1.getImm()) && in emitMOVi2piecesInstruction()
782 unsigned V1 = ARM_AM::getSOImmTwoPartFirst(MO1.getImm()); in emitMOVi2piecesInstruction()
[all …]
DARMExpandPseudoInsts.cpp891 const MachineOperand &MO1 = MI.getOperand(1); in ExpandMI() local
892 const GlobalValue *GV = MO1.getGlobal(); in ExpandMI()
893 unsigned TF = MO1.getTargetFlags(); in ExpandMI()
907 .addGlobalAddress(GV, MO1.getOffset(), TF | LO16TF) in ExpandMI()
912 .addGlobalAddress(GV, MO1.getOffset(), TF | HI16TF) in ExpandMI()
DARMAsmPrinter.cpp991 const MachineOperand &MO1 = MI->getOperand(OpNum); in EmitJumpTable() local
993 unsigned JTI = MO1.getIndex(); in EmitJumpTable()
1037 const MachineOperand &MO1 = MI->getOperand(OpNum); in EmitJump2Table() local
1039 unsigned JTI = MO1.getIndex(); in EmitJump2Table()
DARMBaseInstrInfo.cpp1307 const MachineOperand &MO1 = MI1->getOperand(1); in produceSameValue() local
1308 if (MO0.getOffset() != MO1.getOffset()) in produceSameValue()
1317 return MO0.getGlobal() == MO1.getGlobal(); in produceSameValue()
1322 int CPI1 = MO1.getIndex(); in produceSameValue()
1363 const MachineOperand &MO1 = MI1->getOperand(i); in produceSameValue() local
1364 if (!MO0.isIdenticalTo(MO1)) in produceSameValue()
/external/llvm/docs/
DWritingAnLLVMBackend.rst1739 machine operand, ``MO1``, is extracted. The helper methods such as
1752 const MachineOperand &MO1 = MI.getOperand(CurOp++);
1754 if (MO1.isImmediate())
1755 emitConstant(MO1.getImm(), Size);
1761 if (MO1.isGlobalAddress()) {
1762 bool NeedStub = isa<Function>(MO1.getGlobal());
1763 bool isLazy = gvNeedsLazyPtr(MO1.getGlobal());
1764 emitGlobalAddress(MO1.getGlobal(), rt, MO1.getOffset(), 0,
1766 } else if (MO1.isExternalSymbol())
1767 emitExternalSymbolAddress(MO1.getSymbolName(), rt);
[all …]