Home
last modified time | relevance | path

Searched refs:MCOp (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp68 MCOperand &MCOp) { in lowerOperand() argument
78 MCOp = MCOperand::CreateReg(MO.getReg()); in lowerOperand()
81 MCOp = MCOperand::CreateImm(MO.getImm()); in lowerOperand()
84 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in lowerOperand()
88 MCOp = GetSymbolRef(MO, Mang->getSymbol(MO.getGlobal())); in lowerOperand()
91 MCOp = GetSymbolRef(MO, in lowerOperand()
95 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand()
98 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand()
101 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand()
107 MCOp = MCOperand::CreateFPImm(Val.convertToDouble()); in lowerOperand()
[all …]
DARMAsmPrinter.h78 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);
/external/llvm/lib/Target/MBlaze/
DMBlazeMCInstLower.cpp123 MCOperand MCOp; in Lower() local
129 MCOp = MCOperand::CreateReg(MO.getReg()); in Lower()
132 MCOp = MCOperand::CreateImm(MO.getImm()); in Lower()
135 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( 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()
160 MCOp = MCOperand::CreateImm(Val); in Lower()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp115 MCOperand MCOp; in Lower() local
123 MCOp = MCOperand::CreateReg(MO.getReg()); in Lower()
126 MCOp = MCOperand::CreateImm(MO.getImm()); in Lower()
129 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in Lower()
133 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
136 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
139 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower()
142 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower()
145 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower()
148 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp139 MCOperand MCOp; in LowerPPCMachineInstrToMCInst() local
146 MCOp = MCOperand::CreateReg(MO.getReg()); in LowerPPCMachineInstrToMCInst()
149 MCOp = MCOperand::CreateImm(MO.getImm()); in LowerPPCMachineInstrToMCInst()
152 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in LowerPPCMachineInstrToMCInst()
157 MCOp = GetSymbolRef(MO, GetSymbolFromOperand(MO, AP), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
160 MCOp = GetSymbolRef(MO, AP.GetJTISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
163 MCOp = GetSymbolRef(MO, AP.GetCPISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
166 MCOp = GetSymbolRef(MO,AP.GetBlockAddressSymbol(MO.getBlockAddress()),AP, in LowerPPCMachineInstrToMCInst()
171 OutMI.addOperand(MCOp); in LowerPPCMachineInstrToMCInst()
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp91 MCOperand MCOp; in Lower() local
101 MCOp = MCOperand::CreateReg(MO.getReg()); in Lower()
104 MCOp = MCOperand::CreateImm(MO.getImm()); in Lower()
112 MCOp = LowerSymbolOperand(MO, MOTy); in Lower()
116 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp307 MCOperand MCOp; in Lower() local
315 MCOp = MCOperand::CreateReg(MO.getReg()); in Lower()
318 MCOp = MCOperand::CreateImm(MO.getImm()); in Lower()
321 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in Lower()
326 MCOp = LowerSymbolOperand(MO, GetSymbolFromOperand(MO)); in Lower()
329 MCOp = LowerSymbolOperand(MO, AsmPrinter.GetJTISymbol(MO.getIndex())); in Lower()
332 MCOp = LowerSymbolOperand(MO, AsmPrinter.GetCPISymbol(MO.getIndex())); in Lower()
335 MCOp = LowerSymbolOperand(MO, in Lower()
340 OutMI.addOperand(MCOp); in Lower()