Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/
DMipsGenMCPseudoLowering.inc16 MCOperand MCOp;
19 lowerOperand(MI->getOperand(0), MCOp);
20 TmpInst.addOperand(MCOp);
22 lowerOperand(MI->getOperand(1), MCOp);
23 TmpInst.addOperand(MCOp);
25 lowerOperand(MI->getOperand(2), MCOp);
26 TmpInst.addOperand(MCOp);
32 MCOperand MCOp;
35 lowerOperand(MI->getOperand(0), MCOp);
36 TmpInst.addOperand(MCOp);
[all …]
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenMCPseudoLowering.inc16 MCOperand MCOp;
19 lowerOperand(MI->getOperand(0), MCOp);
20 TmpInst.addOperand(MCOp);
29 MCOperand MCOp;
32 lowerOperand(MI->getOperand(0), MCOp);
33 TmpInst.addOperand(MCOp);
35 lowerOperand(MI->getOperand(1), MCOp);
36 TmpInst.addOperand(MCOp);
38 lowerOperand(MI->getOperand(2), MCOp);
39 TmpInst.addOperand(MCOp);
[all …]
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp58 MCOperand &MCOp) { in lowerOperand() argument
66 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand()
69 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand()
72 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lowerOperand()
76 MCOp = GetSymbolRef(MO, in lowerOperand()
81 MCOp = GetSymbolRef(MO, in lowerOperand()
85 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand()
88 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand()
91 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand()
97 MCOp = MCOperand::createFPImm(Val.convertToDouble()); in lowerOperand()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMMCInstLower.cpp73 MCOperand &MCOp) { in lowerOperand() argument
81 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand()
84 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand()
87 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lowerOperand()
91 MCOp = GetSymbolRef(MO, in lowerOperand()
95 MCOp = GetSymbolRef(MO, in lowerOperand()
99 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand()
104 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand()
107 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand()
113 MCOp = MCOperand::createFPImm(Val.convertToDouble()); in lowerOperand()
[all …]
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVMCInstLower.cpp91 MCOperand &MCOp, in LowerRISCVMachineOperandToMCOperand() argument
100 MCOp = MCOperand::createReg(MO.getReg()); in LowerRISCVMachineOperandToMCOperand()
106 MCOp = MCOperand::createImm(MO.getImm()); in LowerRISCVMachineOperandToMCOperand()
109 MCOp = lowerSymbolOperand(MO, MO.getMBB()->getSymbol(), AP); in LowerRISCVMachineOperandToMCOperand()
112 MCOp = lowerSymbolOperand(MO, AP.getSymbol(MO.getGlobal()), AP); in LowerRISCVMachineOperandToMCOperand()
115 MCOp = lowerSymbolOperand( in LowerRISCVMachineOperandToMCOperand()
119 MCOp = lowerSymbolOperand( in LowerRISCVMachineOperandToMCOperand()
123 MCOp = lowerSymbolOperand(MO, AP.GetCPISymbol(MO.getIndex()), AP); in LowerRISCVMachineOperandToMCOperand()
156 MCOperand MCOp; in lowerRISCVVMachineInstrToMCInst() local
166 MCOp = MCOperand::createReg(Reg); in lowerRISCVVMachineInstrToMCInst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMMCInstLower.cpp73 MCOperand &MCOp) { in lowerOperand() argument
81 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand()
84 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand()
87 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lowerOperand()
91 MCOp = GetSymbolRef(MO, in lowerOperand()
95 MCOp = GetSymbolRef(MO, in lowerOperand()
99 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand()
104 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand()
107 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand()
113 MCOp = MCOperand::createFPImm(Val.convertToDouble()); in lowerOperand()
[all …]
/external/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp58 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp,
113 const MCInst &Inst, const MCOperand &MCOp, SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
115 if (MCOp.isReg()) in getMachineOpValue()
116 return getLanaiRegisterNumbering(MCOp.getReg()); in getMachineOpValue()
117 if (MCOp.isImm()) in getMachineOpValue()
118 return static_cast<unsigned>(MCOp.getImm()); in getMachineOpValue()
121 assert(MCOp.isExpr()); in getMachineOpValue()
122 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue()
133 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
294 const MCOperand &MCOp = Inst.getOperand(OpNo); in getCallTargetOpValue() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVMCInstLower.cpp90 MCOperand &MCOp, in LowerRISCVMachineOperandToMCOperand() argument
99 MCOp = MCOperand::createReg(MO.getReg()); in LowerRISCVMachineOperandToMCOperand()
105 MCOp = MCOperand::createImm(MO.getImm()); in LowerRISCVMachineOperandToMCOperand()
108 MCOp = lowerSymbolOperand(MO, MO.getMBB()->getSymbol(), AP); in LowerRISCVMachineOperandToMCOperand()
111 MCOp = lowerSymbolOperand(MO, AP.getSymbol(MO.getGlobal()), AP); in LowerRISCVMachineOperandToMCOperand()
114 MCOp = lowerSymbolOperand( in LowerRISCVMachineOperandToMCOperand()
118 MCOp = lowerSymbolOperand( in LowerRISCVMachineOperandToMCOperand()
122 MCOp = lowerSymbolOperand(MO, AP.GetCPISymbol(MO.getIndex()), AP); in LowerRISCVMachineOperandToMCOperand()
133 MCOperand MCOp; in LowerRISCVMachineInstrToMCInst() local
134 if (LowerRISCVMachineOperandToMCOperand(MO, MCOp, AP)) in LowerRISCVMachineInstrToMCInst()
[all …]
/external/llvm-project/llvm/lib/Target/AVR/
DAVRMCInstLower.cpp66 MCOperand MCOp; in lowerInstruction() local
76 MCOp = MCOperand::createReg(MO.getReg()); in lowerInstruction()
79 MCOp = MCOperand::createImm(MO.getImm()); in lowerInstruction()
82 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerInstruction()
85 MCOp = lowerSymbolOperand( in lowerInstruction()
89 MCOp = MCOperand::createExpr( in lowerInstruction()
95 MCOp = lowerSymbolOperand( in lowerInstruction()
99 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerInstruction()
102 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerInstruction()
106 OutMI.addOperand(MCOp); in lowerInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRMCInstLower.cpp66 MCOperand MCOp; in lowerInstruction() local
76 MCOp = MCOperand::createReg(MO.getReg()); in lowerInstruction()
79 MCOp = MCOperand::createImm(MO.getImm()); in lowerInstruction()
82 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerInstruction()
85 MCOp = lowerSymbolOperand( in lowerInstruction()
89 MCOp = MCOperand::createExpr( in lowerInstruction()
95 MCOp = lowerSymbolOperand( in lowerInstruction()
99 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerInstruction()
102 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerInstruction()
106 OutMI.addOperand(MCOp); in lowerInstruction()
/external/llvm/lib/Target/Lanai/
DLanaiMCInstLower.cpp101 MCOperand MCOp; in Lower() local
107 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
110 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
113 MCOp = MCOperand::createExpr( in Lower()
119 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
122 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower()
125 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
128 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower()
131 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower()
138 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp119 MCOperand MCOp; in Lower() local
127 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
130 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
133 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in Lower()
137 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
140 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
143 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower()
146 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower()
149 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower()
155 OutMI.addOperand(MCOp); in Lower()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp121 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()
157 OutMI.addOperand(MCOp); in Lower()
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiMCInstLower.cpp99 MCOperand MCOp; in Lower() local
105 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
108 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
111 MCOp = MCOperand::createExpr( in Lower()
117 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
120 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower()
123 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
126 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower()
129 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower()
136 OutMI.addOperand(MCOp); in Lower()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiMCInstLower.cpp99 MCOperand MCOp; in Lower() local
105 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
108 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
111 MCOp = MCOperand::createExpr( in Lower()
117 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
120 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower()
123 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
126 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower()
129 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower()
136 OutMI.addOperand(MCOp); in Lower()
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp121 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()
157 OutMI.addOperand(MCOp); in Lower()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFMCInstLower.cpp53 MCOperand MCOp; in Lower() local
62 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
65 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
68 MCOp = MCOperand::createExpr( in Lower()
74 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
77 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
81 OutMI.addOperand(MCOp); in Lower()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFMCInstLower.cpp53 MCOperand MCOp; in Lower() local
62 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
65 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
68 MCOp = MCOperand::createExpr( in Lower()
74 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower()
77 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
81 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp64 MCOperand MCOp; in Lower() local
79 MCOp = MCOperand::createReg(WAReg); in Lower()
83 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
90 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToFloat()); in Lower()
92 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToDouble()); in Lower()
100 MCOp = LowerSymbolOperand(GetGlobalAddressSymbol(MO), MO.getOffset(), in Lower()
108 MCOp = LowerSymbolOperand(GetExternalSymbolSymbol(MO), /*Offset=*/0, in Lower()
113 OutMI.addOperand(MCOp); in Lower()
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp164 MCOperand &MCOp) const { in lowerOperand()
172 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand()
178 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand()
181 MCOp = MCOperand::createExpr( in lowerOperand()
185 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in lowerOperand()
188 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in lowerOperand()
191 MCOp = LowerSymbolOperand(MO, MO.getMCSymbol()); in lowerOperand()
194 MCOp = LowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerOperand()
197 MCOp = LowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerOperand()
200 MCOp = LowerSymbolOperand( in lowerOperand()
[all …]
/external/llvm/lib/Target/BPF/
DBPFMCInstLower.cpp49 MCOperand MCOp; in Lower() local
58 MCOp = MCOperand::createReg(MO.getReg()); in Lower()
61 MCOp = MCOperand::createImm(MO.getImm()); in Lower()
64 MCOp = MCOperand::createExpr( in Lower()
70 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower()
74 OutMI.addOperand(MCOp); in Lower()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp57 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp,
110 const MCInst &Inst, const MCOperand &MCOp, SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
112 if (MCOp.isReg()) in getMachineOpValue()
113 return getLanaiRegisterNumbering(MCOp.getReg()); in getMachineOpValue()
114 if (MCOp.isImm()) in getMachineOpValue()
115 return static_cast<unsigned>(MCOp.getImm()); in getMachineOpValue()
118 assert(MCOp.isExpr()); in getMachineOpValue()
119 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue()
130 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
291 const MCOperand &MCOp = Inst.getOperand(OpNo); in getBranchTargetOpValue() local
[all …]
/external/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp57 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp,
110 const MCInst &Inst, const MCOperand &MCOp, SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
112 if (MCOp.isReg()) in getMachineOpValue()
113 return getLanaiRegisterNumbering(MCOp.getReg()); in getMachineOpValue()
114 if (MCOp.isImm()) in getMachineOpValue()
115 return static_cast<unsigned>(MCOp.getImm()); in getMachineOpValue()
118 assert(MCOp.isExpr()); in getMachineOpValue()
119 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue()
130 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
291 const MCOperand &MCOp = Inst.getOperand(OpNo); in getBranchTargetOpValue() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMCInstLower.cpp53 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const;
127 MCOperand &MCOp) const { in lowerOperand()
132 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand()
135 MCOp = MCOperand::createReg(AMDGPU::getMCReg(MO.getReg(), ST)); in lowerOperand()
139 MCOp = MCOperand::createExpr( in lowerOperand()
142 MCOp = MCOperand::createExpr( in lowerOperand()
160 MCOp = MCOperand::createExpr(Expr); in lowerOperand()
167 MCOp = MCOperand::createExpr(Expr); in lowerOperand()
210 MCOperand MCOp; in lower() local
211 lowerOperand(MO, MCOp); in lower()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp148 MCOperand MCOp; in LowerPPCMachineInstrToMCInst() local
158 MCOp = MCOperand::createReg(MO.getReg()); in LowerPPCMachineInstrToMCInst()
161 MCOp = MCOperand::createImm(MO.getImm()); in LowerPPCMachineInstrToMCInst()
164 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in LowerPPCMachineInstrToMCInst()
169 MCOp = GetSymbolRef(MO, GetSymbolFromOperand(MO, AP), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
172 MCOp = GetSymbolRef(MO, AP.GetJTISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
175 MCOp = GetSymbolRef(MO, AP.GetCPISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst()
178 MCOp = GetSymbolRef(MO,AP.GetBlockAddressSymbol(MO.getBlockAddress()),AP, in LowerPPCMachineInstrToMCInst()
185 OutMI.addOperand(MCOp); in LowerPPCMachineInstrToMCInst()

12345