LLVM API Documentation
MipsMCInstLower - This class is used to lower an MachineInstr into an. More...
#include <MipsMCInstLower.h>
Public Member Functions | |
| MipsMCInstLower (MipsAsmPrinter &asmprinter) | |
| void | Initialize (MCContext *C) |
| void | Lower (const MachineInstr *MI, MCInst &OutMI) const |
| MCOperand | LowerOperand (const MachineOperand &MO, unsigned offset=0) const |
MipsMCInstLower - This class is used to lower an MachineInstr into an.
Definition at line 27 of file MipsMCInstLower.h.
| MipsMCInstLower::MipsMCInstLower | ( | MipsAsmPrinter & | asmprinter | ) |
Definition at line 28 of file MipsMCInstLower.cpp.
| void MipsMCInstLower::Initialize | ( | MCContext * | C | ) |
Definition at line 31 of file MipsMCInstLower.cpp.
References llvm::CallingConv::C.
Referenced by llvm::MipsAsmPrinter::EmitFunctionBodyStart().
| void MipsMCInstLower::Lower | ( | const MachineInstr * | MI, |
| MCInst & | OutMI | ||
| ) | const |
Definition at line 219 of file MipsMCInstLower.cpp.
References llvm::MCInst::addOperand(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MCOperand::isValid(), LowerOperand(), and llvm::MCInst::setOpcode().
Referenced by llvm::MipsAsmPrinter::EmitInstruction().
| MCOperand MipsMCInstLower::LowerOperand | ( | const MachineOperand & | MO, |
| unsigned | offset = 0 |
||
| ) | const |
Definition at line 128 of file MipsMCInstLower.cpp.
References llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getType(), llvm::MachineOperand::isImplicit(), llvm_unreachable, llvm::MachineOperand::MO_BlockAddress, llvm::MachineOperand::MO_ConstantPoolIndex, llvm::MachineOperand::MO_ExternalSymbol, llvm::MachineOperand::MO_GlobalAddress, llvm::MachineOperand::MO_Immediate, llvm::MachineOperand::MO_JumpTableIndex, llvm::MachineOperand::MO_MachineBasicBlock, llvm::MachineOperand::MO_Register, and llvm::MachineOperand::MO_RegisterMask.
Referenced by Lower().