Lines Matching refs:MO
27 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, in GetSymbolRef() argument
30 unsigned Option = MO.getTargetFlags() & ARMII::MO_OPTION_MASK; in GetSymbolRef()
59 if (!MO.isJTI() && MO.getOffset()) in GetSymbolRef()
61 MCConstantExpr::create(MO.getOffset(), in GetSymbolRef()
68 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, in lowerOperand() argument
70 switch (MO.getType()) { in lowerOperand()
74 if (MO.isImplicit() && MO.getReg() != ARM::CPSR) in lowerOperand()
76 assert(!MO.getSubReg() && "Subregs should be eliminated!"); in lowerOperand()
77 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand()
80 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand()
84 MO.getMBB()->getSymbol(), OutContext)); in lowerOperand()
87 MCOp = GetSymbolRef(MO, in lowerOperand()
88 GetARMGVSymbol(MO.getGlobal(), MO.getTargetFlags())); in lowerOperand()
92 MCOp = GetSymbolRef(MO, in lowerOperand()
93 GetExternalSymbolSymbol(MO.getSymbolName())); in lowerOperand()
96 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand()
99 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand()
102 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand()
105 APFloat Val = MO.getFPImm()->getValueAPF(); in lowerOperand()
151 const MachineOperand &MO = MI->getOperand(i); in LowerARMMachineInstrToMCInst() local
154 if (AP.lowerOperand(MO, MCOp)) { in LowerARMMachineInstrToMCInst()