LLVM API Documentation
#include <Thumb2RegisterInfo.h>
Public Member Functions | |
| Thumb2RegisterInfo (const ARMBaseInstrInfo &tii, const ARMSubtarget &STI) | |
| void | emitLoadConstPool (MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned SubIdx, int Val, ARMCC::CondCodes Pred=ARMCC::AL, unsigned PredReg=0) const |
| bool | requiresRegisterScavenging (const MachineFunction &MF) const |
Definition at line 26 of file Thumb2RegisterInfo.h.
| Thumb2RegisterInfo::Thumb2RegisterInfo | ( | const ARMBaseInstrInfo & | tii, | |
| const ARMSubtarget & | STI | |||
| ) |
Definition at line 39 of file Thumb2RegisterInfo.cpp.
| void Thumb2RegisterInfo::emitLoadConstPool | ( | MachineBasicBlock & | MBB, | |
| MachineBasicBlock::iterator & | MBBI, | |||
| DebugLoc | dl, | |||
| unsigned | DestReg, | |||
| unsigned | SubIdx, | |||
| int | Val, | |||
| ARMCC::CondCodes | Pred = ARMCC::AL, |
|||
| unsigned | PredReg = 0 | |||
| ) | const [virtual] |
emitLoadConstPool - Emits a load from constpool to materialize the specified immediate.
emitLoadConstPool - Emits a load from constpool to materialize the specified immediate.
Reimplemented from llvm::ARMBaseRegisterInfo.
Definition at line 46 of file Thumb2RegisterInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::ARMCC::AL, llvm::BuildMI(), llvm::CallingConv::C, ConstantPool, llvm::TargetInstrInfo::get(), llvm::ConstantInt::get(), llvm::MachineFunction::getConstantPool(), llvm::MachineConstantPool::getConstantPoolIndex(), llvm::Function::getContext(), llvm::getDefRegState(), llvm::MachineFunction::getFunction(), llvm::Type::getInt32Ty(), llvm::MachineBasicBlock::getParent(), Idx, MF, and llvm::ARMBaseRegisterInfo::TII.
| bool Thumb2RegisterInfo::requiresRegisterScavenging | ( | const MachineFunction & | MF | ) | const [virtual] |