Lines Matching defs:MO
34 static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol,
42 switch (MO.getTargetFlags()) {
65 if (!MO.isJTI() && MO.getOffset())
66 ME = MCBinaryExpr::createAdd(ME, MCConstantExpr::create(MO.getOffset(), MC),
90 const MachineOperand &MO = MI->getOperand(i);
92 if (MO.getTargetFlags() & HexagonII::HMOTF_ConstExtended)
95 switch (MO.getType()) {
101 if (MO.isImplicit()) continue;
102 MCO = MCOperand::createReg(MO.getReg());
105 APFloat Val = MO.getFPImm()->getValueAPF();
115 MCConstantExpr::create(MO.getImm(), AP.OutContext));
119 (MCSymbolRefExpr::create(MO.getMBB()->getSymbol(),
123 MCO = GetSymbolRef(MO, AP.getSymbol(MO.getGlobal()), AP);
126 MCO = GetSymbolRef(MO, AP.GetExternalSymbolSymbol(MO.getSymbolName()),
130 MCO = GetSymbolRef(MO, AP.GetJTISymbol(MO.getIndex()), AP);
133 MCO = GetSymbolRef(MO, AP.GetCPISymbol(MO.getIndex()), AP);
136 MCO = GetSymbolRef(MO, AP.GetBlockAddressSymbol(MO.getBlockAddress()),AP);