| /src/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsMCInstLower.cpp | 214 lowerLongBranchLUi(const MachineInstr *MI, MCInst &OutMI) const { in lowerLongBranchLUi() 215 OutMI.setOpcode(Mips::LUi); in lowerLongBranchLUi() 218 OutMI.addOperand(LowerOperand(MI->getOperand(0))); in lowerLongBranchLUi() 243 OutMI.addOperand(MCOperand::createExpr(MipsExpr)); in lowerLongBranchLUi() 246 OutMI.addOperand(createSub(MI->getOperand(1).getMBB(), in lowerLongBranchLUi() 252 MCInst &OutMI, int Opcode) const { in lowerLongBranchADDiu() argument 253 OutMI.setOpcode(Opcode); in lowerLongBranchADDiu() 277 OutMI.addOperand(LowerOperand(MO)); in lowerLongBranchADDiu() 285 OutMI.addOperand(MCOperand::createExpr(MipsExpr)); in lowerLongBranchADDiu() 288 OutMI.addOperand(createSub(MI->getOperand(2).getMBB(), in lowerLongBranchADDiu() [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;
|
| /src/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMCInstLower.cpp | 43 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI); 167 MCInst &OutMI) const { in lower() 168 OutMI.setOpcode(MI->getOpcode()); in lower() 263 OutMI.addOperand(MCOp); in lower() 267 removeRegisterOperands(MI, OutMI); in lower() 269 OutMI.insert(OutMI.begin(), MCOperand::createImm(MI->getNumExplicitDefs())); in lower() 272 static void removeRegisterOperands(const MachineInstr *MI, MCInst &OutMI) { in removeRegisterOperands() argument 290 auto RegOpcode = OutMI.getOpcode(); in removeRegisterOperands() 293 OutMI.setOpcode(StackOpcode); in removeRegisterOperands() 296 for (auto I = OutMI.getNumOperands(); I; --I) { in removeRegisterOperands() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600MCInstLower.cpp | 30 void lower(const MachineInstr *MI, MCInst &OutMI) const; 38 void R600MCInstLower::lower(const MachineInstr *MI, MCInst &OutMI) const { in lower() 39 OutMI.setOpcode(MI->getOpcode()); in lower() 43 OutMI.addOperand(MCOp); in lower()
|
| H A D | AMDGPUMCInstLower.cpp | 117 void AMDGPUMCInstLower::lower(const MachineInstr *MI, MCInst &OutMI) const { in lower() 129 OutMI.setOpcode(TII->pseudoToMCOpcode(AMDGPU::S_SWAPPC_B64)); in lower() 133 OutMI.addOperand(Dest); in lower() 134 OutMI.addOperand(Src); in lower() 149 OutMI.setOpcode(MCOpcode); in lower() 154 OutMI.addOperand(MCOp); in lower() 158 if (FIIdx >= (int)OutMI.getNumOperands()) in lower() 159 OutMI.addOperand(MCOperand::createImm(0)); in lower()
|
| /src/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVMCInstLower.cpp | 23 void SPIRVMCInstLower::lower(const MachineInstr *MI, MCInst &OutMI, in lower() argument 25 OutMI.setOpcode(MI->getOpcode()); in lower() 27 OutMI.setFlags(MI->getAsmPrinterFlags()); in lower() 69 OutMI.addOperand(MCOp); in lower()
|
| H A D | SPIRVMCInstLower.h | 24 void lower(const MachineInstr *MI, MCInst &OutMI,
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MCInstLower.cpp | 372 void AArch64MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower() 373 OutMI.setOpcode(MI->getOpcode()); in Lower() 378 OutMI.addOperand(MCOp); in Lower() 381 switch (OutMI.getOpcode()) { in Lower() 383 OutMI = MCInst(); in Lower() 384 OutMI.setOpcode(AArch64::RET); in Lower() 385 OutMI.addOperand(MCOperand::createReg(AArch64::LR)); in Lower() 388 OutMI = MCInst(); in Lower() 389 OutMI.setOpcode(AArch64::RET); in Lower() 390 OutMI.addOperand(MCOperand::createReg(AArch64::LR)); in Lower()
|
| /src/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kMCInstLower.cpp | 160 void M68kMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower() 162 OutMI.setOpcode(Opcode); in Lower() 169 OutMI.addOperand(MCOp.value()); in Lower() 174 assert(OutMI.getNumOperands() == 1 && "Unexpected number of operands"); in Lower() 183 OutMI.setOpcode(Opcode); in Lower()
|
| /src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86MCInstLower.cpp | 81 void Lower(const MachineInstr *MI, MCInst &OutMI) const; 405 void X86MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower() 406 OutMI.setOpcode(MI->getOpcode()); in Lower() 410 OutMI.addOperand(Op); in Lower() 413 if (X86::optimizeInstFromVEX3ToVEX2(OutMI, MI->getDesc()) || in Lower() 414 X86::optimizeShiftRotateWithImmediateOne(OutMI) || in Lower() 415 X86::optimizeVPCMPWithImmediateOneOrSix(OutMI) || in Lower() 416 X86::optimizeMOVSX(OutMI) || X86::optimizeINCDEC(OutMI, In64BitMode) || in Lower() 417 X86::optimizeMOV(OutMI, In64BitMode) || in Lower() 418 X86::optimizeToFixedRegisterOrShortImmediateForm(OutMI)) in Lower() [all …]
|
| /src/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() 82 OutMI.addOperand(MCOp); in Lower()
|
| /src/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() 104 OutMI.addOperand(MCOp); in LowerSparcMachineInstrToMCInst()
|
| /src/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() 85 OutMI.addOperand(MCOp); in LowerVEMachineInstrToMCInst()
|
| /src/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() 99 OutMI.addOperand(lowerOperand(MO)); in lower()
|
| /src/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVAsmPrinter.cpp | 110 bool lowerToMCInst(const MachineInstr *MI, MCInst &OutMI); 938 MCInst &OutMI) { in lowerRISCVVMachineInstrToMCInst() argument 944 OutMI.setOpcode(RVV->BaseInstr); in lowerRISCVVMachineInstrToMCInst() 982 const MCInstrDesc &OutMCID = TII->get(OutMI.getOpcode()); in lowerRISCVVMachineInstrToMCInst() 985 if (OutMCID.getOperandConstraint(OutMI.getNumOperands(), MCOI::TIED_TO) < in lowerRISCVVMachineInstrToMCInst() 1032 OutMI.addOperand(MCOp); in lowerRISCVVMachineInstrToMCInst() 1037 const MCInstrDesc &OutMCID = TII->get(OutMI.getOpcode()); in lowerRISCVVMachineInstrToMCInst() 1038 if (OutMI.getNumOperands() < OutMCID.getNumOperands()) { in lowerRISCVVMachineInstrToMCInst() 1039 assert(OutMCID.operands()[OutMI.getNumOperands()].RegClass == in lowerRISCVVMachineInstrToMCInst() 1042 OutMI.addOperand(MCOperand::createReg(RISCV::NoRegister)); in lowerRISCVVMachineInstrToMCInst() [all …]
|
| /src/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() 111 OutMI.addOperand(MCOp); in Lower()
|
| /src/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() 110 OutMI.addOperand(MCOp); in Lower()
|
| /src/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYMCInstLower.cpp | 27 void CSKYMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { in Lower() 28 OutMI.setOpcode(MI->getOpcode()); in Lower() 33 OutMI.addOperand(MCOp); in Lower()
|
| /src/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() 155 OutMI.addOperand(MCOp); in Lower()
|
| /src/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRMCInstLower.cpp | 69 MCInst &OutMI) const { in lowerInstruction() 71 OutMI.setOpcode(MI.getOpcode()); in lowerInstruction() 117 OutMI.addOperand(MCOp); in lowerInstruction()
|
| /src/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() 134 OutMI.addOperand(MCOp); in Lower()
|
| /src/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchMCInstLower.cpp | 178 MCInst &OutMI, AsmPrinter &AP) { in lowerLoongArchMachineInstrToMCInst() argument 179 OutMI.setOpcode(MI->getOpcode()); in lowerLoongArchMachineInstrToMCInst() 184 OutMI.addOperand(MCOp); in lowerLoongArchMachineInstrToMCInst()
|
| /src/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMMCInstLower.cpp | 139 void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerARMMachineInstrToMCInst() argument 141 OutMI.setOpcode(MI->getOpcode()); in LowerARMMachineInstrToMCInst() 179 OutMI.addOperand(MCOp); in LowerARMMachineInstrToMCInst()
|
| /src/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaAsmPrinter.cpp | 249 MCInst &OutMI) const { in lowerToMCInst() 250 OutMI.setOpcode(MI->getOpcode()); in lowerToMCInst() 257 OutMI.addOperand(MCOp); in lowerToMCInst()
|
| /src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMCInstLower.cpp | 177 void llvm::LowerPPCMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, in LowerPPCMachineInstrToMCInst() argument 179 OutMI.setOpcode(MI->getOpcode()); in LowerPPCMachineInstrToMCInst() 184 OutMI.addOperand(MCOp); in LowerPPCMachineInstrToMCInst()
|