LLVM API Documentation
#include <AMDGPUMCInstLower.h>
Public Member Functions | |
AMDGPUMCInstLower (MCContext &ctx, const AMDGPUSubtarget &ST) | |
void | lower (const MachineInstr *MI, MCInst &OutMI) const |
Lower a MachineInstr to an MCInst. |
Definition at line 21 of file AMDGPUMCInstLower.h.
AMDGPUMCInstLower::AMDGPUMCInstLower | ( | MCContext & | ctx, |
const AMDGPUSubtarget & | ST | ||
) |
Definition at line 38 of file AMDGPUMCInstLower.cpp.
void AMDGPUMCInstLower::lower | ( | const MachineInstr * | MI, |
MCInst & | OutMI | ||
) | const |
Lower a MachineInstr to an MCInst.
Definition at line 57 of file AMDGPUMCInstLower.cpp.
References llvm::MCInst::addOperand(), llvm::APFloat::convertToFloat(), llvm::MCSymbolRefExpr::Create(), llvm::MCOperand::CreateExpr(), llvm::MCOperand::CreateFPImm(), llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), END_OF_TEXT_LABEL_NAME, llvm::MachineInstr::explicit_operands(), llvm::Value::getName(), llvm::MachineInstr::getOpcode(), llvm::MCContext::GetOrCreateSymbol(), llvm::APFloat::getSemantics(), llvm::APFloat::IEEEsingle, llvm_unreachable, llvm::MachineOperand::MO_FPImmediate, llvm::MachineOperand::MO_GlobalAddress, llvm::MachineOperand::MO_Immediate, llvm::MachineOperand::MO_MachineBasicBlock, llvm::MachineOperand::MO_Register, llvm::MachineOperand::MO_TargetIndex, llvm::MCInst::setOpcode(), and llvm::AMDGPU::TI_CONSTDATA_START.
Referenced by llvm::AMDGPUAsmPrinter::EmitInstruction().