Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp67 MCOperand &MCOp) { in lowerOperand() argument
75 MCOp = MCOperand::CreateReg(MO.getReg()); in lowerOperand()
78 MCOp = MCOperand::CreateImm(MO.getImm()); in lowerOperand()
81 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in lowerOperand()
85 MCOp = GetSymbolRef(MO, Mang->getSymbol(MO.getGlobal())); in lowerOperand()
88 MCOp = GetSymbolRef(MO, in lowerOperand()
92 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand()
95 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand()
98 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand()
104 MCOp = MCOperand::CreateFPImm(Val.convertToDouble()); in lowerOperand()
[all …]
DARMAsmPrinter.h81 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp100 MCOperand &MCOp) const { in lowerOperand()
107 MCOp = MCOperand::CreateReg(MO.getReg()); in lowerOperand()
110 MCOp = MCOperand::CreateImm(MO.getImm()); in lowerOperand()
114 MCOp = MCOperand::CreateFPImm(0.0); in lowerOperand()
118 MCOp = lowerSymbolOperand(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand()
121 MCOp = lowerSymbolOperand(MO, GetExternalSymbolSymbol(MO.getSymbolName())); in lowerOperand()
124 MCOp = lowerSymbolOperand(MO, Mang->getSymbol(MO.getGlobal())); in lowerOperand()
127 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in lowerOperand()
131 MCOp = lowerSymbolOperand(MO, GetJTISymbol(MO.getIndex())); in lowerOperand()
134 MCOp = lowerSymbolOperand(MO, GetCPISymbol(MO.getIndex())); in lowerOperand()
[all …]
DAArch64AsmPrinter.h43 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const;
/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()
151 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/R600/
DAMDGPUMCInstLower.cpp39 MCOperand MCOp; in lower() local
47 MCOp = MCOperand::CreateFPImm(FloatValue.convertToFloat()); in lower()
51 MCOp = MCOperand::CreateImm(MO.getImm()); in lower()
54 MCOp = MCOperand::CreateReg(MO.getReg()); in lower()
57 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in lower()
60 OutMI.addOperand(MCOp); in lower()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUMCInstLower.cpp36 MCOperand MCOp; in lower() local
44 MCOp = MCOperand::CreateFPImm(FloatValue.convertToFloat()); in lower()
48 MCOp = MCOperand::CreateImm(MO.getImm()); in lower()
51 MCOp = MCOperand::CreateReg(MO.getReg()); in lower()
54 OutMI.addOperand(MCOp); in lower()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDGPUMCInstLower.cpp36 MCOperand MCOp; in lower() local
44 MCOp = MCOperand::CreateFPImm(FloatValue.convertToFloat()); in lower()
48 MCOp = MCOperand::CreateImm(MO.getImm()); in lower()
51 MCOp = MCOperand::CreateReg(MO.getReg()); in lower()
54 OutMI.addOperand(MCOp); in lower()
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp170 MCOperand MCOp; in LowerPPCMachineInstrToMCInst() local
177 MCOp = MCOperand::CreateReg(MO.getReg()); in LowerPPCMachineInstrToMCInst()
180 MCOp = MCOperand::CreateImm(MO.getImm()); in LowerPPCMachineInstrToMCInst()
183 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in LowerPPCMachineInstrToMCInst()
188 MCOp = GetSymbolRef(MO, GetSymbolFromOperand(MO, AP), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
191 MCOp = GetSymbolRef(MO, AP.GetJTISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
194 MCOp = GetSymbolRef(MO, AP.GetCPISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
197 MCOp = GetSymbolRef(MO,AP.GetBlockAddressSymbol(MO.getBlockAddress()),AP, in LowerPPCMachineInstrToMCInst()
204 OutMI.addOperand(MCOp); in LowerPPCMachineInstrToMCInst()
/external/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp112 MCOperand MCOp = LowerOperand(MO); in Lower() local
114 if (MCOp.isValid()) in Lower()
115 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp160 MCOperand MCOp = LowerOperand(MO); in Lower() local
162 if (MCOp.isValid()) in Lower()
163 OutMI.addOperand(MCOp); in Lower()
DMipsAsmPrinter.cpp58 bool MipsAsmPrinter::lowerOperand(const MachineOperand &MO, MCOperand &MCOp) { in lowerOperand() argument
59 MCOp = MCInstLowering.LowerOperand(MO); in lowerOperand()
60 return MCOp.isValid(); in lowerOperand()
DMipsAsmPrinter.h41 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp342 MCOperand MCOp; in Lower() local
350 MCOp = MCOperand::CreateReg(MO.getReg()); in Lower()
353 MCOp = MCOperand::CreateImm(MO.getImm()); in Lower()
358 MCOp = LowerSymbolOperand(MO, GetSymbolFromOperand(MO)); in Lower()
361 MCOp = LowerSymbolOperand(MO, AsmPrinter.GetJTISymbol(MO.getIndex())); in Lower()
364 MCOp = LowerSymbolOperand(MO, AsmPrinter.GetCPISymbol(MO.getIndex())); in Lower()
367 MCOp = LowerSymbolOperand(MO, in Lower()
375 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp323 MCOperand MCOp; in lowerToMCInst() local
324 if (lowerOperand(MO, MCOp)) in lowerToMCInst()
325 OutMI.addOperand(MCOp); in lowerToMCInst()
330 MCOperand &MCOp) { in lowerOperand() argument
334 MCOp = MCOperand::CreateReg(encodeVirtualRegister(MO.getReg())); in lowerOperand()
337 MCOp = MCOperand::CreateImm(MO.getImm()); in lowerOperand()
340 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( in lowerOperand()
344 MCOp = GetSymbolRef(MO, GetExternalSymbolSymbol(MO.getSymbolName())); in lowerOperand()
347 MCOp = GetSymbolRef(MO, Mang->getSymbol(MO.getGlobal())); in lowerOperand()
356 MCOp = MCOperand::CreateExpr( in lowerOperand()
[all …]
DNVPTXAsmPrinter.h194 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);