Home
last modified time | relevance | path

Searched refs:OutMI (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsMCInstLower.cpp215 lowerLongBranchLUi(const MachineInstr *MI, MCInst &OutMI) const { in lowerLongBranchLUi()
216 OutMI.setOpcode(Mips::LUi); in lowerLongBranchLUi()
219 OutMI.addOperand(LowerOperand(MI->getOperand(0))); in lowerLongBranchLUi()
244 OutMI.addOperand(MCOperand::createExpr(MipsExpr)); in lowerLongBranchLUi()
247 OutMI.addOperand(createSub(MI->getOperand(1).getMBB(), in lowerLongBranchLUi()
253 MCInst &OutMI, int Opcode) const { in lowerLongBranchADDiu() argument
254 OutMI.setOpcode(Opcode); in lowerLongBranchADDiu()
278 OutMI.addOperand(LowerOperand(MO)); in lowerLongBranchADDiu()
286 OutMI.addOperand(MCOperand::createExpr(MipsExpr)); in lowerLongBranchADDiu()
289 OutMI.addOperand(createSub(MI->getOperand(2).getMBB(), in lowerLongBranchADDiu()
[all …]
H A DMipsMCInstLower.h37 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
45 void lowerLongBranchLUi(const MachineInstr *MI, MCInst &OutMI) const;
46 void lowerLongBranchADDiu(const MachineInstr *MI, MCInst &OutMI,
48 bool lowerLongBranch(const MachineInstr *MI, MCInst &OutMI) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVMCInstLower.cpp133 MCInst &OutMI) { in lowerRISCVVMachineInstrToMCInst() argument
139 OutMI.setOpcode(RVV->BaseInstr); in lowerRISCVVMachineInstrToMCInst()
196 OutMI.addOperand(MCOp); in lowerRISCVVMachineInstrToMCInst()
202 OutMI.addOperand(MCOperand::createReg(RISCV::NoRegister)); in lowerRISCVVMachineInstrToMCInst()
207 bool llvm::lowerRISCVMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in lowerRISCVMachineInstrToMCInst() argument
209 if (lowerRISCVVMachineInstrToMCInst(MI, OutMI)) in lowerRISCVMachineInstrToMCInst()
212 OutMI.setOpcode(MI->getOpcode()); in lowerRISCVMachineInstrToMCInst()
217 OutMI.addOperand(MCOp); in lowerRISCVMachineInstrToMCInst()
220 switch (OutMI.getOpcode()) { in lowerRISCVMachineInstrToMCInst()
235 OutMI.setOpcode(RISCV::CSRRS); in lowerRISCVMachineInstrToMCInst()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp45 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI);
235 MCInst &OutMI) const { in lower()
236 OutMI.setOpcode(MI->getOpcode()); in lower()
340 OutMI.addOperand(MCOp); in lower()
344 removeRegisterOperands(MI, OutMI); in lower()
346 OutMI.insert(OutMI.begin(), MCOperand::createImm(MI->getNumExplicitDefs())); in lower()
349 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI) { in removeRegisterOperands() argument
367 auto RegOpcode = OutMI.getOpcode(); in removeRegisterOperands()
370 OutMI.setOpcode(StackOpcode); in removeRegisterOperands()
373 for (auto I = OutMI.getNumOperands(); I; --I) { in removeRegisterOperands()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp54 void lower(const MachineInstr *MI, MCInst &OutMI) const;
64 void lower(const MachineInstr *MI, MCInst &OutMI) const;
174 void AMDGPUMCInstLower::lower(const MachineInstr *MI, MCInst &OutMI) const { in lower()
186 OutMI.setOpcode(TII->pseudoToMCOpcode(AMDGPU::S_SWAPPC_B64)); in lower()
190 OutMI.addOperand(Dest); in lower()
191 OutMI.addOperand(Src); in lower()
205 OutMI.setOpcode(MCOpcode); in lower()
210 OutMI.addOperand(MCOp); in lower()
214 if (FIIdx >= (int)OutMI.getNumOperands()) in lower()
215 OutMI.addOperand(MCOperand::createImm(0)); in lower()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp66 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
492 void X86MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
493 OutMI.setOpcode(MI->getOpcode()); in Lower()
497 OutMI.addOperand(MaybeMCOp.getValue()); in Lower()
500 switch (OutMI.getOpcode()) { in Lower()
506 assert(OutMI.getNumOperands() == 1 + X86::AddrNumOperands && in Lower()
508 assert(OutMI.getOperand(1 + X86::AddrSegmentReg).getReg() == 0 && in Lower()
518 switch (OutMI.getOpcode()) { in Lower()
525 OutMI.setOpcode(NewOpc); in Lower()
527 unsigned DestReg = OutMI.getOperand(0).getReg(); in Lower()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64MCInstLower.cpp302 void AArch64MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
303 OutMI.setOpcode(MI->getOpcode()); in Lower()
308 OutMI.addOperand(MCOp); in Lower()
311 switch (OutMI.getOpcode()) { in Lower()
313 OutMI = MCInst(); in Lower()
314 OutMI.setOpcode(AArch64::RET); in Lower()
315 OutMI.addOperand(MCOperand::createReg(AArch64::LR)); in Lower()
318 OutMI = MCInst(); in Lower()
319 OutMI.setOpcode(AArch64::RET); in Lower()
320 OutMI.addOperand(MCOperand::createReg(AArch64::LR)); in Lower()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kMCInstLower.cpp145 void M68kMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
147 OutMI.setOpcode(Opcode); in Lower()
154 OutMI.addOperand(MCOp.getValue()); in Lower()
159 assert(OutMI.getNumOperands() == 1 && "Unexpected number of operands"); in Lower()
168 OutMI.setOpcode(Opcode); in Lower()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFMCInstLower.cpp47 void BPFMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
48 OutMI.setOpcode(MI->getOpcode()); in Lower()
81 OutMI.addOperand(MCOp); in Lower()
H A DBTFDebug.cpp1235 bool BTFDebug::InstLower(const MachineInstr *MI, MCInst &OutMI) { in InstLower() argument
1257 OutMI.setOpcode(BPF::LD_imm64); in InstLower()
1259 OutMI.setOpcode(BPF::MOV_ri); in InstLower()
1260 OutMI.addOperand(MCOperand::createReg(MI->getOperand(0).getReg())); in InstLower()
1261 OutMI.addOperand(MCOperand::createImm(Imm)); in InstLower()
1274 OutMI.setOpcode(MI->getOperand(1).getImm()); in InstLower()
1276 OutMI.addOperand(MCOperand::createImm(MI->getOperand(0).getImm())); in InstLower()
1278 OutMI.addOperand(MCOperand::createReg(MI->getOperand(0).getReg())); in InstLower()
1279 OutMI.addOperand(MCOperand::createReg(MI->getOperand(2).getReg())); in InstLower()
1280 OutMI.addOperand(MCOperand::createImm(Imm)); in InstLower()
H A DBPFMCInstLower.h32 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcMCInstLower.cpp94 MCInst &OutMI, in LowerSparcMachineInstrToMCInst() argument
98 OutMI.setOpcode(MI->getOpcode()); in LowerSparcMachineInstrToMCInst()
105 OutMI.addOperand(MCOp); in LowerSparcMachineInstrToMCInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp94 void SystemZMCInstLower::lower(const MachineInstr *MI, MCInst &OutMI) const { in lower()
95 OutMI.setOpcode(MI->getOpcode()); in lower()
100 OutMI.addOperand(lowerOperand(MO)); in lower()
H A DSystemZMCInstLower.h32 void lower(const MachineInstr *MI, MCInst &OutMI) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEMCInstLower.cpp77 void llvm::LowerVEMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerVEMachineInstrToMCInst() argument
79 OutMI.setOpcode(MI->getOpcode()); in LowerVEMachineInstrToMCInst()
86 OutMI.addOperand(MCOp); in LowerVEMachineInstrToMCInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRMCInstLower.cpp62 void AVRMCInstLower::lowerInstruction(const MachineInstr &MI, MCInst &OutMI) const { in lowerInstruction()
63 OutMI.setOpcode(MI.getOpcode()); in lowerInstruction()
106 OutMI.addOperand(MCOp); in lowerInstruction()
H A DAVRMCInstLower.h31 void lowerInstruction(const MachineInstr &MI, MCInst &OutMI) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARC/
H A DARCMCInstLower.cpp104 void ARCMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
105 OutMI.setOpcode(MI->getOpcode()); in Lower()
112 OutMI.addOperand(MCOp); in Lower()
H A DARCMCInstLower.h33 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp103 void XCoreMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
104 OutMI.setOpcode(MI->getOpcode()); in Lower()
111 OutMI.addOperand(MCOp); in Lower()
H A DXCoreMCInstLower.h30 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiMCInstLower.cpp93 void LanaiMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
94 OutMI.setOpcode(MI->getOpcode()); in Lower()
136 OutMI.addOperand(MCOp); in Lower()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430MCInstLower.cpp115 void MSP430MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower()
116 OutMI.setOpcode(MI->getOpcode()); in Lower()
157 OutMI.addOperand(MCOp); in Lower()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMMCInstLower.cpp123 void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerARMMachineInstrToMCInst() argument
125 OutMI.setOpcode(MI->getOpcode()); in LowerARMMachineInstrToMCInst()
163 OutMI.addOperand(MCOp); in LowerARMMachineInstrToMCInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCMCInstLower.cpp151 void llvm::LowerPPCMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerPPCMachineInstrToMCInst() argument
153 OutMI.setOpcode(MI->getOpcode()); in LowerPPCMachineInstrToMCInst()
158 OutMI.addOperand(MCOp); in LowerPPCMachineInstrToMCInst()

12