Lines Matching refs:MO

31 GetGlobalAddressSymbol(const MachineOperand &MO) const {  in GetGlobalAddressSymbol()
32 switch (MO.getTargetFlags()) { in GetGlobalAddressSymbol()
37 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol()
41 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
42 switch (MO.getTargetFlags()) { in GetExternalSymbolSymbol()
47 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol()
51 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol()
56 << MO.getIndex(); in GetJumpTableSymbol()
58 switch (MO.getTargetFlags()) { in GetJumpTableSymbol()
68 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol()
73 << MO.getIndex(); in GetConstantPoolIndexSymbol()
75 switch (MO.getTargetFlags()) { in GetConstantPoolIndexSymbol()
85 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol()
86 switch (MO.getTargetFlags()) { in GetBlockAddressSymbol()
91 return Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in GetBlockAddressSymbol()
95 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand() argument
100 switch (MO.getTargetFlags()) { in LowerSymbolOperand()
105 if (!MO.isJTI() && MO.getOffset()) in LowerSymbolOperand()
107 MCConstantExpr::create(MO.getOffset(), Ctx), in LowerSymbolOperand()
119 const MachineOperand &MO = MI->getOperand(i); in Lower() local
122 switch (MO.getType()) { in Lower()
128 if (MO.isImplicit()) continue; in Lower()
129 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
132 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
136 MO.getMBB()->getSymbol(), Ctx)); in Lower()
139 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
142 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
145 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower()
148 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower()
151 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower()