LLVM API Documentation
#include <Thumb2InstrInfo.h>
Definition at line 24 of file Thumb2InstrInfo.h.
Thumb2InstrInfo::Thumb2InstrInfo | ( | const ARMSubtarget & | STI | ) | [explicit] |
Definition at line 32 of file Thumb2InstrInfo.cpp.
void Thumb2InstrInfo::copyPhysReg | ( | MachineBasicBlock & | MBB, |
MachineBasicBlock::iterator | I, | ||
DebugLoc | DL, | ||
unsigned | DestReg, | ||
unsigned | SrcReg, | ||
bool | KillSrc | ||
) | const [override] |
Reimplemented from llvm::ARMBaseInstrInfo.
Definition at line 113 of file Thumb2InstrInfo.cpp.
References llvm::AddDefaultPred(), llvm::BuildMI(), contains(), and llvm::getKillRegState().
void Thumb2InstrInfo::getNoopForMachoTarget | ( | MCInst & | NopInst | ) | const [override] |
getNoopForMachoTarget - Return the noop instruction to use for a noop.
Definition at line 37 of file Thumb2InstrInfo.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), and llvm::MCInst::setOpcode().
const Thumb2RegisterInfo& llvm::Thumb2InstrInfo::getRegisterInfo | ( | ) | const [inline, override, virtual] |
getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As such, whenever a client has an instance of instruction info, it should always be able to get register info as well (through this method).
Implements llvm::ARMBaseInstrInfo.
Definition at line 63 of file Thumb2InstrInfo.h.
unsigned Thumb2InstrInfo::getUnindexedOpcode | ( | unsigned | Opc | ) | const [override, virtual] |
Implements llvm::ARMBaseInstrInfo.
Definition at line 44 of file Thumb2InstrInfo.cpp.
bool Thumb2InstrInfo::isLegalToSplitMBBAt | ( | MachineBasicBlock & | MBB, |
MachineBasicBlock::iterator | MBBI | ||
) | const [override] |
Definition at line 101 of file Thumb2InstrInfo.cpp.
References llvm::AArch64CC::AL, llvm::MachineBasicBlock::end(), and llvm::getITInstrPredicate().
void Thumb2InstrInfo::loadRegFromStackSlot | ( | MachineBasicBlock & | MBB, |
MachineBasicBlock::iterator | MBBI, | ||
unsigned | DestReg, | ||
int | FrameIndex, | ||
const TargetRegisterClass * | RC, | ||
const TargetRegisterInfo * | TRI | ||
) | const [override] |
Reimplemented from llvm::ARMBaseInstrInfo.
Definition at line 169 of file Thumb2InstrInfo.cpp.
References llvm::AddDefaultPred(), llvm::ARMBaseInstrInfo::AddDReg(), llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::MachineRegisterInfo::constrainRegClass(), llvm::RegState::DefineNoRead, llvm::MachineBasicBlock::end(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getRegInfo(), llvm::RegState::ImplicitDefine, llvm::TargetRegisterInfo::isPhysicalRegister(), and llvm::MachineMemOperand::MOLoad.
void Thumb2InstrInfo::ReplaceTailWithBranchTo | ( | MachineBasicBlock::iterator | Tail, |
MachineBasicBlock * | NewDest | ||
) | const [override] |
Definition at line 50 of file Thumb2InstrInfo.cpp.
References llvm::ARMCC::AL, llvm::MachineBasicBlock::begin(), llvm::MachineFunction::getInfo(), llvm::getInstrPredicate(), llvm::MachineBasicBlock::getParent(), and llvm::ARMFunctionInfo::hasITBlocks().
void Thumb2InstrInfo::storeRegToStackSlot | ( | MachineBasicBlock & | MBB, |
MachineBasicBlock::iterator | MBBI, | ||
unsigned | SrcReg, | ||
bool | isKill, | ||
int | FrameIndex, | ||
const TargetRegisterClass * | RC, | ||
const TargetRegisterInfo * | TRI | ||
) | const [override] |
Reimplemented from llvm::ARMBaseInstrInfo.
Definition at line 126 of file Thumb2InstrInfo.cpp.
References llvm::AddDefaultPred(), llvm::ARMBaseInstrInfo::AddDReg(), llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::BuildMI(), llvm::MachineRegisterInfo::constrainRegClass(), llvm::MachineBasicBlock::end(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::getKillRegState(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getRegInfo(), and llvm::MachineMemOperand::MOStore.