| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsMCInstLower.cpp | 216 OutMI.setOpcode(Mips::LUi); in lowerLongBranchLUi() 219 OutMI.addOperand(LowerOperand(MI->getOperand(0))); in lowerLongBranchLUi() 244 OutMI.addOperand(MCOperand::createExpr(MipsExpr)); in lowerLongBranchLUi() 254 OutMI.setOpcode(Opcode); in lowerLongBranchADDiu() 278 OutMI.addOperand(LowerOperand(MO)); in lowerLongBranchADDiu() 302 lowerLongBranchLUi(MI, OutMI); in lowerLongBranch() 306 lowerLongBranchADDiu(MI, OutMI, Mips::ADDiu); in lowerLongBranch() 310 lowerLongBranchADDiu(MI, OutMI, Mips::DADDiu); in lowerLongBranch() 316 if (lowerLongBranch(MI, OutMI)) in Lower() 319 OutMI.setOpcode(MI->getOpcode()); in Lower() [all …]
|
| H A D | MipsMCInstLower.h | 37 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;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMCInstLower.cpp | 139 OutMI.setOpcode(RVV->BaseInstr); in lowerRISCVVMachineInstrToMCInst() 196 OutMI.addOperand(MCOp); in lowerRISCVVMachineInstrToMCInst() 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() 236 OutMI.addOperand(MCOperand::createImm( in lowerRISCVMachineInstrToMCInst() 238 OutMI.addOperand(MCOperand::createReg(RISCV::X0)); in lowerRISCVMachineInstrToMCInst() 241 OutMI.setOpcode(RISCV::CSRRS); in lowerRISCVMachineInstrToMCInst() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMCInstLower.cpp | 51 void lower(const MachineInstr *MI, MCInst &OutMI) const; 61 void lower(const MachineInstr *MI, MCInst &OutMI) const; 158 OutMI.setOpcode(TII->pseudoToMCOpcode(AMDGPU::S_SWAPPC_B64)); in lower() 162 OutMI.addOperand(Dest); in lower() 163 OutMI.addOperand(Src); in lower() 177 OutMI.setOpcode(MCOpcode); in lower() 182 OutMI.addOperand(MCOp); in lower() 186 if (FIIdx >= (int)OutMI.getNumOperands()) in lower() 187 OutMI.addOperand(MCOperand::createImm(0)); in lower() 334 OutMI.setOpcode(MI->getOpcode()); in lower() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMCInstLower.cpp | 44 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI); 188 MCInst &OutMI) const { in lower() 189 OutMI.setOpcode(MI->getOpcode()); in lower() 293 OutMI.addOperand(MCOp); in lower() 297 removeRegisterOperands(MI, OutMI); in lower() 299 OutMI.insert(OutMI.begin(), MCOperand::createImm(MI->getNumExplicitDefs())); in lower() 320 auto RegOpcode = OutMI.getOpcode(); in removeRegisterOperands() 323 OutMI.setOpcode(StackOpcode); in removeRegisterOperands() 326 for (auto I = OutMI.getNumOperands(); I; --I) { in removeRegisterOperands() 327 auto &MO = OutMI.getOperand(I - 1); in removeRegisterOperands() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86MCInstLower.cpp | 528 OutMI.insert(OutMI.begin(), MCOperand::createReg(DestReg)); in Lower() 616 if (OutMI.getOperand(OutMI.getNumOperands() - 1).getImm() == 0) { in Lower() 683 OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1)); in Lower() 688 if (OutMI.getOperand(OutMI.getNumOperands() - 1).getImm() == 6) { in Lower() 755 OutMI.erase(&OutMI.getOperand(OutMI.getNumOperands() - 1)); in Lower() 773 OutMI = MCInst(); in Lower() 803 OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode())); in Lower() 809 OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode())); in Lower() 817 OutMI.setOpcode(convertTailJumpOpcode(OutMI.getOpcode())); in Lower() 946 std::swap(OutMI.getOperand(1), OutMI.getOperand(2)); in Lower() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MCInstLower.cpp | 302 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kMCInstLower.cpp | 145 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFMCInstLower.cpp | 47 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 D | BTFDebug.cpp | 1235 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 D | BPFMCInstLower.h | 32 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcMCInstLower.cpp | 94 MCInst &OutMI, in LowerSparcMachineInstrToMCInst() argument 98 OutMI.setOpcode(MI->getOpcode()); in LowerSparcMachineInstrToMCInst() 105 OutMI.addOperand(MCOp); in LowerSparcMachineInstrToMCInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEMCInstLower.cpp | 77 void llvm::LowerVEMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerVEMachineInstrToMCInst() argument 79 OutMI.setOpcode(MI->getOpcode()); in LowerVEMachineInstrToMCInst() 86 OutMI.addOperand(MCOp); in LowerVEMachineInstrToMCInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMCInstLower.cpp | 94 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 D | SystemZMCInstLower.h | 32 void lower(const MachineInstr *MI, MCInst &OutMI) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRMCInstLower.cpp | 62 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 D | AVRMCInstLower.h | 31 void lowerInstruction(const MachineInstr &MI, MCInst &OutMI) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCMCInstLower.cpp | 104 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 D | ARCMCInstLower.h | 33 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreMCInstLower.cpp | 103 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 D | XCoreMCInstLower.h | 30 void Lower(const MachineInstr *MI, MCInst &OutMI) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430MCInstLower.cpp | 115 void MSP430MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower() 116 OutMI.setOpcode(MI->getOpcode()); in Lower() 157 OutMI.addOperand(MCOp); in Lower()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiMCInstLower.cpp | 93 void LanaiMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower() 94 OutMI.setOpcode(MI->getOpcode()); in Lower() 136 OutMI.addOperand(MCOp); in Lower()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMMCInstLower.cpp | 123 void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerARMMachineInstrToMCInst() argument 125 OutMI.setOpcode(MI->getOpcode()); in LowerARMMachineInstrToMCInst() 163 OutMI.addOperand(MCOp); in LowerARMMachineInstrToMCInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMCInstLower.cpp | 151 void llvm::LowerPPCMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerPPCMachineInstrToMCInst() argument 153 OutMI.setOpcode(MI->getOpcode()); in LowerPPCMachineInstrToMCInst() 158 OutMI.addOperand(MCOp); in LowerPPCMachineInstrToMCInst()
|