Lines Matching full:mo
27 BPFMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol()
28 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
32 BPFMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
33 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol()
36 MCOperand BPFMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() argument
41 if (!MO.isJTI() && MO.getOffset()) in LowerSymbolOperand()
50 for (const MachineOperand &MO : MI->operands()) { in Lower() local
52 switch (MO.getType()) { in Lower()
58 if (MO.isImplicit()) in Lower()
60 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
63 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
67 MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), Ctx)); in Lower()
72 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
75 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
78 MCOp = LowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in Lower()