|
LLVM
10.0.0
|
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc objects that represent all of the machine registers that the target has. More...
#include "llvm/MC/MCRegisterInfo.h"
Classes | |
| class | DiffListIterator |
| DiffListIterator - Base iterator class that can traverse the differentially encoded register and regunit lists in DiffLists. More... | |
| struct | DwarfLLVMRegPair |
| DwarfLLVMRegPair - Emitted by tablegen so Dwarf<->LLVM reg mappings can be performed with a binary search. More... | |
| class | mc_difflist_iterator |
| Forward iterator using DiffListIterator. More... | |
| class | mc_subreg_iterator |
| Forward iterator over all sub-registers. More... | |
| class | mc_superreg_iterator |
| Forward iterator over all super-registers. More... | |
| struct | SubRegCoveredBits |
| SubRegCoveredBits - Emitted by tablegen: bit range covered by a subreg index, -1 in any being invalid. More... | |
Public Types | |
| using | regclass_iterator = const MCRegisterClass * |
Public Member Functions | |
| iterator_range< mc_subreg_iterator > | subregs (MCRegister Reg) const |
Return an iterator range over all sub-registers of Reg, excluding Reg. More... | |
| iterator_range< mc_subreg_iterator > | subregs_inclusive (MCRegister Reg) const |
Return an iterator range over all sub-registers of Reg, including Reg. More... | |
| iterator_range< mc_superreg_iterator > | superregs (MCRegister Reg) const |
Return an iterator range over all super-registers of Reg, excluding Reg. More... | |
| iterator_range< mc_superreg_iterator > | superregs_inclusive (MCRegister Reg) const |
Return an iterator range over all super-registers of Reg, including Reg. More... | |
| detail::concat_range< const MCPhysReg, iterator_range< mc_subreg_iterator >, iterator_range< mc_superreg_iterator > > | sub_and_superregs_inclusive (MCRegister Reg) const |
Return an iterator range over all sub- and super-registers of Reg, including Reg. More... | |
| void | InitMCRegisterInfo (const MCRegisterDesc *D, unsigned NR, unsigned RA, unsigned PC, const MCRegisterClass *C, unsigned NC, const MCPhysReg(*RURoots)[2], unsigned NRU, const MCPhysReg *DL, const LaneBitmask *RUMS, const char *Strings, const char *ClassStrings, const uint16_t *SubIndices, unsigned NumIndices, const SubRegCoveredBits *SubIdxRanges, const uint16_t *RET) |
| Initialize MCRegisterInfo, called by TableGen auto-generated routines. More... | |
| void | mapLLVMRegsToDwarfRegs (const DwarfLLVMRegPair *Map, unsigned Size, bool isEH) |
| Used to initialize LLVM register to Dwarf register number mapping. More... | |
| void | mapDwarfRegsToLLVMRegs (const DwarfLLVMRegPair *Map, unsigned Size, bool isEH) |
| Used to initialize Dwarf register to LLVM register number mapping. More... | |
| void | mapLLVMRegToSEHReg (MCRegister LLVMReg, int SEHReg) |
| mapLLVMRegToSEHReg - Used to initialize LLVM register to SEH register number mapping. More... | |
| void | mapLLVMRegToCVReg (MCRegister LLVMReg, int CVReg) |
| MCRegister | getRARegister () const |
| This method should return the register where the return address can be found. More... | |
| MCRegister | getProgramCounter () const |
| Return the register which is the program counter. More... | |
| const MCRegisterDesc & | operator[] (MCRegister RegNo) const |
| const MCRegisterDesc & | get (MCRegister RegNo) const |
| Provide a get method, equivalent to [], but more useful with a pointer to this object. More... | |
| MCRegister | getSubReg (MCRegister Reg, unsigned Idx) const |
| Returns the physical register number of sub-register "Index" for physical register RegNo. More... | |
| MCRegister | getMatchingSuperReg (MCRegister Reg, unsigned SubIdx, const MCRegisterClass *RC) const |
| Return a super-register of the specified register Reg so its sub-register of index SubIdx is Reg. More... | |
| unsigned | getSubRegIndex (MCRegister RegNo, MCRegister SubRegNo) const |
| For a given register pair, return the sub-register index if the second register is a sub-register of the first. More... | |
| unsigned | getSubRegIdxSize (unsigned Idx) const |
| Get the size of the bit range covered by a sub-register index. More... | |
| unsigned | getSubRegIdxOffset (unsigned Idx) const |
| Get the offset of the bit range covered by a sub-register index. More... | |
| const char * | getName (MCRegister RegNo) const |
| Return the human-readable symbolic target-specific name for the specified physical register. More... | |
| unsigned | getNumRegs () const |
| Return the number of registers this target has (useful for sizing arrays holding per register information) More... | |
| unsigned | getNumSubRegIndices () const |
| Return the number of sub-register indices understood by the target. More... | |
| unsigned | getNumRegUnits () const |
| Return the number of (native) register units in the target. More... | |
| int | getDwarfRegNum (MCRegister RegNum, bool isEH) const |
| Map a target register to an equivalent dwarf register number. More... | |
| Optional< unsigned > | getLLVMRegNum (unsigned RegNum, bool isEH) const |
| Map a dwarf register back to a target register. More... | |
| int | getDwarfRegNumFromDwarfEHRegNum (unsigned RegNum) const |
| Map a target EH register number to an equivalent DWARF register number. More... | |
| int | getSEHRegNum (MCRegister RegNum) const |
| Map a target register to an equivalent SEH register number. More... | |
| int | getCodeViewRegNum (MCRegister RegNum) const |
| Map a target register to an equivalent CodeView register number. More... | |
| regclass_iterator | regclass_begin () const |
| regclass_iterator | regclass_end () const |
| iterator_range< regclass_iterator > | regclasses () const |
| unsigned | getNumRegClasses () const |
| const MCRegisterClass & | getRegClass (unsigned i) const |
| Returns the register class associated with the enumeration value. More... | |
| const char * | getRegClassName (const MCRegisterClass *Class) const |
| uint16_t | getEncodingValue (MCRegister RegNo) const |
| Returns the encoding for RegNo. More... | |
| bool | isSubRegister (MCRegister RegA, MCRegister RegB) const |
| Returns true if RegB is a sub-register of RegA. More... | |
| bool | isSuperRegister (MCRegister RegA, MCRegister RegB) const |
| Returns true if RegB is a super-register of RegA. More... | |
| bool | isSubRegisterEq (MCRegister RegA, MCRegister RegB) const |
| Returns true if RegB is a sub-register of RegA or if RegB == RegA. More... | |
| bool | isSuperRegisterEq (MCRegister RegA, MCRegister RegB) const |
| Returns true if RegB is a super-register of RegA or if RegB == RegA. More... | |
| bool | isSuperOrSubRegisterEq (MCRegister RegA, MCRegister RegB) const |
| Returns true if RegB is a super-register or sub-register of RegA or if RegB == RegA. More... | |
Friends | |
| class | MCSubRegIterator |
| class | MCSubRegIndexIterator |
| class | MCSuperRegIterator |
| class | MCRegUnitIterator |
| class | MCRegUnitMaskIterator |
| class | MCRegUnitRootIterator |
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc objects that represent all of the machine registers that the target has.
As such, we simply have to track a pointer to this array so that we can turn register number into a register descriptor.
Note this class is designed to be a base class of TargetRegisterInfo, which is the interface used by codegen. However, specific targets should never specialize this class. MCRegisterInfo should only contain getters to access TableGen generated physical register data. It must not be extended with virtual methods.
Definition at line 128 of file MCRegisterInfo.h.
Definition at line 130 of file MCRegisterInfo.h.
|
inline |
Provide a get method, equivalent to [], but more useful with a pointer to this object.
Definition at line 447 of file MCRegisterInfo.h.
References Reg.
Referenced by llvm::TargetMachine::getMCRegisterInfo(), llvm::LLVMDisasmContext::getRegisterInfo(), llvm::DWARFContext::getRegisterInfo(), llvm::MCRegUnitIterator::MCRegUnitIterator(), llvm::MCRegUnitMaskIterator::MCRegUnitMaskIterator(), llvm::MCSubRegIndexIterator::MCSubRegIndexIterator(), llvm::MCSubRegIterator::MCSubRegIterator(), and llvm::MCSuperRegIterator::MCSuperRegIterator().
| int MCRegisterInfo::getCodeViewRegNum | ( | MCRegister | RegNum | ) | const |
Map a target register to an equivalent CodeView register number.
Definition at line 115 of file MCRegisterInfo.cpp.
References getName(), getNumRegs(), I, and llvm::report_fatal_error().
Referenced by needsReferenceType(), and printFPOReg().
| int MCRegisterInfo::getDwarfRegNum | ( | MCRegister | RegNum, |
| bool | isEH | ||
| ) | const |
Map a target register to an equivalent dwarf register number.
Returns -1 if there is no equivalent value. The second parameter allows targets to use different numberings for EH info and debugging info.
Definition at line 68 of file MCRegisterInfo.cpp.
References llvm::MCRegisterInfo::DwarfLLVMRegPair::FromReg, I, llvm::lower_bound(), Size, and llvm::MCRegisterInfo::DwarfLLVMRegPair::ToReg.
Referenced by llvm::DwarfExpression::addMachineReg(), llvm::ARMFrameLowering::adjustForSegmentedStacks(), llvm::AArch64InstrInfo::buildOutlinedFrame(), createAArch64MCAsmInfo(), createARMMCAsmInfo(), createHexagonMCAsmInfo(), createMipsMCAsmInfo(), createPPCMCAsmInfo(), createRISCVMCAsmInfo(), createSparcMCAsmInfo(), createSparcV9MCAsmInfo(), createSystemZMCAsmInfo(), createVEMCAsmInfo(), createX86MCAsmInfo(), llvm::X86InstrInfo::describeLoadedValue(), llvm::AArch64FrameLowering::emitCalleeSavedFrameMoves(), llvm::X86FrameLowering::emitCalleeSavedFrameMoves(), llvm::Thumb1FrameLowering::emitPrologue(), llvm::Mips16FrameLowering::emitPrologue(), llvm::MipsSEFrameLowering::emitPrologue(), llvm::XCoreFrameLowering::emitPrologue(), llvm::ARMFrameLowering::emitPrologue(), llvm::ARCFrameLowering::emitPrologue(), llvm::SystemZFrameLowering::emitPrologue(), llvm::PPCFrameLowering::emitPrologue(), getCIEVersion(), getDwarfRegNum(), and getDwarfRegNumFromDwarfEHRegNum().
| int MCRegisterInfo::getDwarfRegNumFromDwarfEHRegNum | ( | unsigned | RegNum | ) | const |
Map a target EH register number to an equivalent DWARF register number.
Definition at line 95 of file MCRegisterInfo.cpp.
References getDwarfRegNum(), and getLLVMRegNum().
|
inline |
Returns the encoding for RegNo.
Definition at line 546 of file MCRegisterInfo.h.
References assert().
Referenced by llvm::AArch64InstrInfo::copyGPRRegTuple(), llvm::PPCInstrInfo::copyPhysReg(), llvm::MipsTargetELFStreamer::emitFrame(), llvm::MSP430MCCodeEmitter::encodeInstruction(), expandNOVLXLoad(), expandNOVLXStore(), llvm::X86InstrInfo::expandPostRAPseudo(), llvm::PPCMCCodeEmitter::get_crbitm_encoding(), GetAEABIUnwindPersonalityName(), llvm::PPCMCCodeEmitter::getMachineOpValue(), llvm::MipsMCCodeEmitter::getMachineOpValue(), getPrefixes(), llvm::X86TargetLowering::getRegForInlineAsmConstraint(), llvm::MipsMCCodeEmitter::getRegisterListOpValue(), getTag(), llvm::PPCMCCodeEmitter::getTLSRegEncoding(), HandleVRSaveUpdate(), HasConditionalBranch(), llvm::X86_MC::initLLVMToSEHAndCVRegMapping(), llvm::ARMBaseInstrInfo::isLoadFromStackSlotPostFE(), LowerADJUST_TRAMPOLINE(), LowerLargeShift(), makeCombineInst(), llvm::PPCInstPrinter::printOperand(), llvm::ARMInstPrinter::printRegisterList(), llvm::MipsAsmPrinter::printSavedRegsBitmask(), llvm::ARMFrameLowering::ResolveFrameIndexReference(), llvm::MipsRegInfoRecord::SetPhysRegUsed(), llvm::AArch64ExternalSymbolizer::tryAddingSymbolicOperand(), and llvm::tryFoldSPUpdateIntoPushPop().
Map a dwarf register back to a target register.
Returns None is there is no mapping.
Definition at line 81 of file MCRegisterInfo.cpp.
References llvm::MCRegisterInfo::DwarfLLVMRegPair::FromReg, I, llvm::lower_bound(), llvm::None, Size, and llvm::MCRegisterInfo::DwarfLLVMRegPair::ToReg.
Referenced by getDwarfRegNum(), getDwarfRegNumFromDwarfEHRegNum(), llvm::prettyPrintRegisterOp(), printCFIRegister(), and printDwarfFileDirective().
| MCRegister MCRegisterInfo::getMatchingSuperReg | ( | MCRegister | Reg, |
| unsigned | SubIdx, | ||
| const MCRegisterClass * | RC | ||
| ) | const |
Return a super-register of the specified register Reg so its sub-register of index SubIdx is Reg.
Definition at line 24 of file MCRegisterInfo.cpp.
References llvm::MCRegisterClass::contains(), getSubReg(), and llvm::MCRegisterInfo::DiffListIterator::isValid().
Referenced by llvm::TargetRegisterInfo::getMatchingSuperReg(), llvm::ARMInstPrinter::printInst(), and llvm::AArch64InstPrinter::printVectorList().
|
inline |
Return the human-readable symbolic target-specific name for the specified physical register.
Definition at line 478 of file MCRegisterInfo.h.
References Name.
Referenced by llvm::mca::RegisterFile::addRegisterWrite(), llvm::mca::RegisterFile::cycleStart(), llvm::mca::RegisterFile::dump(), EmitGCCInlineAsmStr(), getCodeViewRegNum(), llvm::HexagonEvaluator::getPhysRegBitWidth(), getRegisterName(), isACalleeSavedRegister(), llvm::prettyPrintRegisterOp(), llvm::printReg(), llvm::printRegUnit(), llvm::HexagonMCChecker::reportBranchErrors(), llvm::HexagonMCChecker::reportErrorNewValue(), llvm::HexagonMCChecker::reportErrorRegisters(), llvm::mca::RegisterFile::tryEliminateMove(), and llvm::mca::verifyOperands().
|
inline |
Definition at line 530 of file MCRegisterInfo.h.
|
inline |
Return the number of registers this target has (useful for sizing arrays holding per register information)
Definition at line 484 of file MCRegisterInfo.h.
Referenced by addLiveInRegs(), llvm::MachineFunction::allocateRegMask(), llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), llvm::ScheduleDAGInstrs::buildSchedGraph(), llvm::CCState::CCState(), llvm::TargetRegisterInfo::checkAllSuperRegsMarked(), llvm::LiveIntervals::checkRegMaskInterference(), llvm::HexagonBlockRanges::computeDeadMap(), CriticalPathStep(), llvm::TargetFrameLowering::determineCalleeSaves(), llvm::mca::RegisterFile::dump(), llvm::HexagonBlockRanges::expandToSubRegs(), llvm::MachineRegisterInfo::freezeReservedRegs(), llvm::rdf::PhysicalRegisterInfo::getAliasSet(), llvm::TargetRegisterInfo::getAllocatableSet(), llvm::TargetFrameLowering::getCalleeSaves(), getCodeViewRegNum(), getDwarfRegNum(), getMOVL(), llvm::rdf::DataFlowGraph::getNextShadow(), llvm::MachineFrameInfo::getPristineRegs(), getSubRegIndex(), llvm::LivePhysRegs::init(), llvm::LiveRegSet::init(), isCallableFunction(), isCoalescable(), llvm::MachineOperand::isIdenticalTo(), llvm::LivePhysRegs::LivePhysRegs(), llvm::MachineRegisterInfo::MachineRegisterInfo(), llvm::CriticalAntiDepBreaker::Observe(), llvm::AggressiveAntiDepBreaker::Observe(), llvm::rdf::PhysicalRegisterInfo::PhysicalRegisterInfo(), llvm::PhysicalRegisterUsageInfo::print(), llvm::MachineOperand::print(), printCustomRegMask(), llvm::printReg(), llvm::TargetRegisterInfo::regmaskSubsetEqual(), llvm::InterferenceCache::reinitPhysRegEntries(), llvm::RegisterClassInfo::runOnMachineFunction(), llvm::ExecutionDomainFix::runOnMachineFunction(), llvm::CriticalAntiDepBreaker::StartBlock(), llvm::AggressiveAntiDepBreaker::StartBlock(), and UpdatePredRedefs().
|
inline |
Return the number of (native) register units in the target.
Register units are numbered from 0 to getNumRegUnits() - 1. They can be accessed through MCRegUnitIterator defined below.
Definition at line 498 of file MCRegisterInfo.h.
References getDwarfRegNum().
Referenced by llvm::LiveRegUnits::addRegsInMask(), llvm::LiveRegUnits::init(), isCoalescable(), llvm::LiveRegMatrix::LiveRegMatrix(), llvm::rdf::PhysicalRegisterInfo::PhysicalRegisterInfo(), llvm::LiveIntervals::print(), llvm::printRegUnit(), pushDepHeight(), llvm::LiveRegUnits::removeRegsNotPreserved(), llvm::ReachingDefAnalysis::runOnMachineFunction(), and llvm::LiveIntervals::runOnMachineFunction().
|
inline |
Return the number of sub-register indices understood by the target.
Index 0 is reserved for the no-op sub-register, while 1 to getNumSubRegIndices() - 1 represent real sub-registers.
Definition at line 491 of file MCRegisterInfo.h.
Referenced by llvm::SplitEditor::dump(), llvm::AVRInstPrinter::getPrettyRegisterName(), llvm::PerTargetMIParsingState::getRegMask(), getSubReg(), getSubRegIdxOffset(), and getSubRegIdxSize().
|
inline |
Return the register which is the program counter.
Definition at line 435 of file MCRegisterInfo.h.
Referenced by llvm::MCInstrDesc::mayAffectControlFlow().
|
inline |
This method should return the register where the return address can be found.
Definition at line 430 of file MCRegisterInfo.h.
Referenced by llvm::MipsAsmPrinter::emitFrameDirective(), and getCIEVersion().
|
inline |
Returns the register class associated with the enumeration value.
See class MCOperandInfo.
Definition at line 536 of file MCRegisterInfo.h.
References assert().
Referenced by llvm::X86_MC::X86MCInstrAnalysis::clearsSuperRegisters(), llvm::mca::RegisterFile::cycleStart(), getReg(), getRegNum(), llvm::AMDGPU::getRegOperandSize(), llvm::AMDGPU::isSGPR(), matchAliasCondition(), llvm::MipsRegInfoRecord::MipsRegInfoRecord(), llvm::ARMInstPrinter::printInst(), and llvm::AArch64InstPrinter::printVectorList().
|
inline |
Definition at line 541 of file MCRegisterInfo.h.
References llvm::MCRegisterClass::NameIdx.
Referenced by llvm::TargetRegisterInfo::getRegClassName().
| int MCRegisterInfo::getSEHRegNum | ( | MCRegister | RegNum | ) | const |
Map a target register to an equivalent SEH register number.
Returns LLVM register number if there is no equivalent value.
Definition at line 109 of file MCRegisterInfo.cpp.
References I.
Referenced by encodeSEHRegNum().
| MCRegister MCRegisterInfo::getSubReg | ( | MCRegister | Reg, |
| unsigned | Idx | ||
| ) | const |
Returns the physical register number of sub-register "Index" for physical register RegNo.
Return zero if the sub-register does not exist.
Definition at line 32 of file MCRegisterInfo.cpp.
References assert(), getNumSubRegIndices(), llvm::MCRegisterInfo::DiffListIterator::isValid(), and Reg.
Referenced by getMatchingSuperReg(), getPairedGPR(), llvm::AVRInstPrinter::getPrettyRegisterName(), llvm::AMDGPU::isSGPR(), llvm::ARMInstPrinter::printGPRPairOperand(), llvm::AArch64InstPrinter::printGPRSeqPairsClassOperand(), llvm::ARMInstPrinter::printMVEVectorList(), llvm::AArch64InstPrinter::printVectorList(), llvm::ARMInstPrinter::printVectorListTwo(), llvm::ARMInstPrinter::printVectorListTwoAllLanes(), llvm::ARMInstPrinter::printVectorListTwoSpaced(), and llvm::ARMInstPrinter::printVectorListTwoSpacedAllLanes().
Get the offset of the bit range covered by a sub-register index.
If an Offset doesn't make sense (the index isn't continuous, or is used to access sub-registers at different offsets), return -1.
Definition at line 62 of file MCRegisterInfo.cpp.
References assert(), getNumSubRegIndices(), and llvm::MCRegisterInfo::SubRegCoveredBits::Offset.
Referenced by llvm::DwarfExpression::addMachineReg(), getDwarfRegNum(), and llvm::TargetInstrInfo::getStackSlotRange().
Get the size of the bit range covered by a sub-register index.
If the index isn't continuous, return the sum of the sizes of its parts. If the index is used to access subregisters of different sizes, return -1.
Definition at line 56 of file MCRegisterInfo.cpp.
References assert(), getNumSubRegIndices(), and llvm::MCRegisterInfo::SubRegCoveredBits::Size.
Referenced by llvm::DwarfExpression::addMachineReg(), llvm::TargetInstrInfo::foldMemoryOperand(), and llvm::TargetInstrInfo::getStackSlotRange().
| unsigned MCRegisterInfo::getSubRegIndex | ( | MCRegister | RegNo, |
| MCRegister | SubRegNo | ||
| ) | const |
For a given register pair, return the sub-register index if the second register is a sub-register of the first.
Return zero otherwise.
Definition at line 44 of file MCRegisterInfo.cpp.
References assert(), getNumRegs(), llvm::MCRegisterInfo::DiffListIterator::isValid(), and Reg.
Referenced by llvm::DwarfExpression::addMachineReg(), CriticalPathStep(), describeMOVrrLoadedValue(), getDwarfRegNum(), INITIALIZE_PASS(), isNopCopy(), and llvm::rdf::PhysicalRegisterInfo::mapTo().
|
inline |
Initialize MCRegisterInfo, called by TableGen auto-generated routines.
DO NOT USE.
Definition at line 346 of file MCRegisterInfo.h.
|
inline |
Returns true if RegB is a sub-register of RegA.
Definition at line 553 of file MCRegisterInfo.h.
Referenced by llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterKilled(), CriticalPathStep(), describeORRLoadedValue(), llvm::MachineInstr::findRegisterDefOperandIdx(), llvm::MCInstrDesc::hasImplicitDefOfPhysReg(), isNopCopy(), llvm::HexagonMCChecker::reportBranchErrors(), and tryToFindRegisterToRename().
|
inline |
Returns true if RegB is a sub-register of RegA or if RegB == RegA.
Definition at line 561 of file MCRegisterInfo.h.
Referenced by llvm::X86InstrInfo::describeLoadedValue(), llvm::MCInstrDesc::hasDefOfPhysReg(), and isMatchingOrAlias().
|
inline |
Returns true if RegB is a super-register or sub-register of RegA or if RegB == RegA.
Definition at line 573 of file MCRegisterInfo.h.
Referenced by llvm::TargetInstrInfo::describeLoadedValue(), and describeORRLoadedValue().
|
inline |
Returns true if RegB is a super-register of RegA.
Definition at line 649 of file MCRegisterInfo.h.
References I.
Referenced by llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterKilled(), llvm::ARMBaseInstrInfo::breakPartialRegDependency(), CriticalPathStep(), llvm::mca::RegisterFile::cycleStart(), describeMOVrrLoadedValue(), describeORRLoadedValue(), getDwarfRegNum(), and INITIALIZE_PASS().
|
inline |
Returns true if RegB is a super-register of RegA or if RegB == RegA.
Definition at line 567 of file MCRegisterInfo.h.
Referenced by llvm::AnalyzePhysRegInBundle(), llvm::AArch64InstrInfo::describeLoadedValue(), and llvm::X86InstrInfo::describeLoadedValue().
|
inline |
Used to initialize Dwarf register to LLVM register number mapping.
Called by TableGen auto-generated routines. DO NOT USE.
Definition at line 404 of file MCRegisterInfo.h.
References Size.
|
inline |
Used to initialize LLVM register to Dwarf register number mapping.
Called by TableGen auto-generated routines. DO NOT USE.
Definition at line 390 of file MCRegisterInfo.h.
References Size.
|
inline |
Definition at line 424 of file MCRegisterInfo.h.
Referenced by llvm::AArch64_MC::initLLVMToCVRegMapping(), and llvm::X86_MC::initLLVMToSEHAndCVRegMapping().
|
inline |
mapLLVMRegToSEHReg - Used to initialize LLVM register to SEH register number mapping.
By default the SEH register number is just the same as the LLVM register number. FIXME: TableGen these numbers. Currently this requires target specific initialization code.
Definition at line 420 of file MCRegisterInfo.h.
Referenced by llvm::X86_MC::initLLVMToSEHAndCVRegMapping().
|
inline |
Definition at line 439 of file MCRegisterInfo.h.
References assert().
|
inline |
Definition at line 524 of file MCRegisterInfo.h.
|
inline |
Definition at line 525 of file MCRegisterInfo.h.
|
inline |
Definition at line 526 of file MCRegisterInfo.h.
References llvm::make_range().
|
inline |
Return an iterator range over all sub- and super-registers of Reg, including Reg.
Definition at line 331 of file MCRegisterInfo.h.
Referenced by tryToFindRegisterToRename(), and updateDefinedRegisters().
|
inline |
Return an iterator range over all sub-registers of Reg, excluding Reg.
Definition at line 302 of file MCRegisterInfo.h.
References llvm::sys::path::end(), and llvm::make_range().
|
inline |
Return an iterator range over all sub-registers of Reg, including Reg.
Definition at line 309 of file MCRegisterInfo.h.
References llvm::sys::path::end(), llvm::make_range(), and Reg.
Referenced by llvm::MipsRegInfoRecord::SetPhysRegUsed().
|
inline |
Return an iterator range over all super-registers of Reg, excluding Reg.
Definition at line 315 of file MCRegisterInfo.h.
References llvm::sys::path::end(), and llvm::make_range().
|
inline |
Return an iterator range over all super-registers of Reg, including Reg.
Definition at line 323 of file MCRegisterInfo.h.
References llvm::sys::path::end(), llvm::make_range(), and Reg.
|
friend |
Definition at line 340 of file MCRegisterInfo.h.
|
friend |
Definition at line 341 of file MCRegisterInfo.h.
|
friend |
Definition at line 342 of file MCRegisterInfo.h.
|
friend |
Definition at line 338 of file MCRegisterInfo.h.
|
friend |
Definition at line 337 of file MCRegisterInfo.h.
|
friend |
Definition at line 339 of file MCRegisterInfo.h.
1.8.13