|
LLVM
10.0.0
|
#include "Target/ARM/Thumb2InstrInfo.h"
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::ARMBaseInstrInfo | |
| static bool | isCPSRDefined (const MachineInstr &MI) |
Protected Member Functions inherited from llvm::ARMBaseInstrInfo | |
| ARMBaseInstrInfo (const ARMSubtarget &STI) | |
| void | expandLoadStackGuardBase (MachineBasicBlock::iterator MI, unsigned LoadImmOpc, unsigned LoadOpc) const |
| bool | getRegSequenceLikeInputs (const MachineInstr &MI, unsigned DefIdx, SmallVectorImpl< RegSubRegPairAndIdx > &InputRegs) const override |
Build the equivalent inputs of a REG_SEQUENCE for the given MI and DefIdx. More... | |
| bool | getExtractSubregLikeInputs (const MachineInstr &MI, unsigned DefIdx, RegSubRegPairAndIdx &InputReg) const override |
Build the equivalent inputs of a EXTRACT_SUBREG for the given MI and DefIdx. More... | |
| bool | getInsertSubregLikeInputs (const MachineInstr &MI, unsigned DefIdx, RegSubRegPair &BaseReg, RegSubRegPairAndIdx &InsertedReg) const override |
Build the equivalent inputs of a INSERT_SUBREG for the given MI and DefIdx. More... | |
| MachineInstr * | commuteInstructionImpl (MachineInstr &MI, bool NewMI, unsigned OpIdx1, unsigned OpIdx2) const override |
| Commutes the operands in the given instruction. More... | |
| Optional< DestSourcePair > | isCopyInstrImpl (const MachineInstr &MI) const override |
| If the specific machine instruction is an instruction that moves/copies value from one register to another register return destination and source registers as machine operands. More... | |
Definition at line 23 of file Thumb2InstrInfo.h.
|
explicit |
Definition at line 41 of file Thumb2InstrInfo.cpp.
|
override |
Definition at line 121 of file Thumb2InstrInfo.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addReg(), llvm::ARMCC::AL, llvm::BuildMI(), contains(), llvm::ARMBaseInstrInfo::copyPhysReg(), llvm::getKillRegState(), llvm::predOps(), and storeRegToStackSlot().
|
override |
Return the noop instruction to use for a noop.
Definition at line 45 of file Thumb2InstrInfo.cpp.
References llvm::MCInst::addOperand(), llvm::ARMCC::AL, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), and llvm::MCInst::setOpcode().
|
inlineoverridevirtual |
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 61 of file Thumb2InstrInfo.h.
References llvm::findFirstVPTPredOperandIdx(), llvm::getITInstrPredicate(), llvm::getVPTInstrPredicate(), and MI.
Implements llvm::ARMBaseInstrInfo.
Definition at line 52 of file Thumb2InstrInfo.cpp.
|
override |
Definition at line 109 of file Thumb2InstrInfo.cpp.
References llvm::ARMCC::AL, llvm::MachineBasicBlock::end(), and llvm::getITInstrPredicate().
|
override |
Definition at line 178 of file Thumb2InstrInfo.cpp.
References llvm::MachineInstrBuilder::add(), llvm::ARMBaseInstrInfo::AddDReg(), llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::ARMCC::AL, llvm::BuildMI(), llvm::MachineRegisterInfo::constrainRegClass(), llvm::RegState::DefineNoRead, llvm::MachineBasicBlock::end(), llvm::ARMBaseInstrInfo::expandLoadStackGuardBase(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getRegInfo(), llvm::MachineFunction::getTarget(), llvm::RegState::ImplicitDefine, llvm::Register::isPhysicalRegister(), llvm::TargetMachine::isPositionIndependent(), llvm::Register::isVirtualRegister(), llvm::ARMBaseInstrInfo::loadRegFromStackSlot(), MI, llvm::MachineMemOperand::MOLoad, MRI, and llvm::predOps().
Referenced by storeRegToStackSlot().
|
override |
Definition at line 58 of file Thumb2InstrInfo.cpp.
References llvm::ARMCC::AL, llvm::MachineBasicBlock::begin(), E, llvm::MachineFunction::getInfo(), llvm::getInstrPredicate(), llvm::MachineBasicBlock::getParent(), llvm::ARMFunctionInfo::hasITBlocks(), llvm::BitmaskEnumDetail::Mask(), llvm::TargetInstrInfo::ReplaceTailWithBranchTo(), and llvm::CallingConv::Tail.
|
override |
Definition at line 135 of file Thumb2InstrInfo.cpp.
References llvm::MachineInstrBuilder::add(), llvm::ARMBaseInstrInfo::AddDReg(), llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::ARMCC::AL, 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(), llvm::Register::isVirtualRegister(), loadRegFromStackSlot(), llvm::MachineMemOperand::MOStore, MRI, llvm::predOps(), and llvm::ARMBaseInstrInfo::storeRegToStackSlot().
Referenced by copyPhysReg().
1.8.13