LLVM: llvm::MCRegister Class Reference (original) (raw)
Wrapper class representing physical registers. Should be passed by value. More...
#include "[llvm/MC/MCRegister.h](MCRegister%5F8h%5Fsource.html)"
Wrapper class representing physical registers. Should be passed by value.
Definition at line 41 of file MCRegister.h.
| llvm::MCRegister::MCRegister ( unsigned Val = 0) |
inlineconstexpr |
◆ from()
◆ id()
| unsigned llvm::MCRegister::id ( ) const |
inlineconstexpr |
Definition at line 82 of file MCRegister.h.
Referenced by addOps(), llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), llvm::CriticalAntiDepBreaker::BreakAntiDependencies(), llvm::RegAllocEvictionAdvisor::canAllocatePhysReg(), llvm::MachineRegisterInfo::canReserveReg(), llvm::LiveRegMatrix::checkRegMaskInterference(), llvm::MachineOperand::clobbersPhysReg(), llvm::mca::InstrBuilder::createInstruction(), llvm::RISCVZC::encodeRegList(), llvm::ARMAsmBackendDarwin::generateCompactUnwindEncoding(), llvm::NVPTXRegisterInfo::getDwarfRegNum(), llvm::DenseMapInfo< MCRegister >::getHashValue(), llvm::AMDGPU::VOPD::InstInfo::getInvalidCompOperandIndex(), getLibCallID(), llvm::RISCVRegisterInfo::getRegAllocationHints(), getRegisterForMxtrC0(), getRegisterForMxtrDSP(), getRegisterForMxtrFP(), llvm::getXRegFromXRegTuple(), llvm::rdf::DataFlowGraph::hasUntrackedRef(), llvm::TargetRegisterInfo::isCalleeSavedPhysReg(), llvm::ARMBaseRegisterInfo::isInlineAsmReadOnlyReg(), llvm::MachineRegisterInfo::isPhysRegModified(), llvm::MachineRegisterInfo::isPhysRegUsed(), llvm::MachineRegisterInfo::isReserved(), llvm::MCOperand::print(), llvm::PPCInstPrinter::printcrbitm(), llvm::WebAssemblyInstPrinter::printOperand(), llvm::CalleeSavedInfo::setDstReg(), and llvm::AggressiveAntiDepBreaker::StartBlock().
◆ isPhysical()
| bool llvm::MCRegister::isPhysical ( ) const |
inlineconstexpr |
◆ isPhysicalRegister()
| constexpr bool llvm::MCRegister::isPhysicalRegister ( unsigned Reg) |
inlinestaticconstexpr |
◆ isValid()
| bool llvm::MCRegister::isValid ( ) const |
inlineconstexpr |
◆ operator unsigned()
| llvm::MCRegister::operator unsigned ( ) const |
inlineconstexpr |
◆ operator!=() [1/4]
◆ operator!=() [2/4]
| bool llvm::MCRegister::operator!= ( int Other) const |
inlineconstexpr |
◆ operator!=() [3/4]
| bool llvm::MCRegister::operator!= ( MCPhysReg Other) const |
inlineconstexpr |
◆ operator!=() [4/4]
| bool llvm::MCRegister::operator!= ( unsigned Other) const |
inlineconstexpr |
◆ operator==() [1/4]
◆ operator==() [2/4]
| bool llvm::MCRegister::operator== ( int Other) const |
inlineconstexpr |
◆ operator==() [3/4]
| bool llvm::MCRegister::operator== ( MCPhysReg Other) const |
inlineconstexpr |
◆ operator==() [4/4]
| bool llvm::MCRegister::operator== ( unsigned Other) const |
inlineconstexpr |
Comparisons against register constants.
E.g.
Definition at line 97 of file MCRegister.h.
References llvm::Other.
◆ hash_value
◆ FirstPhysicalReg
| unsigned llvm::MCRegister::FirstPhysicalReg = 1u |
staticconstexpr |
◆ LastPhysicalReg
| unsigned llvm::MCRegister::LastPhysicalReg = (1u << 30) - 1 |
staticconstexpr |
◆ NoRegister
| unsigned llvm::MCRegister::NoRegister = 0u |
staticconstexpr |
Definition at line 60 of file MCRegister.h.
Referenced by from(), llvm::LiveRegMatrix::getOneVReg(), llvm::X86RegisterInfo::getRegAllocationHints(), llvm::TargetLoweringObjectFile::getStaticBase(), isCandidate(), isValid(), llvm::Register::isValid(), llvm::AArch64InstrInfo::loadRegFromStackSlot(), lowerMSTORE(), llvm::NVPTXInstPrinter::printRegisterOrSinkSymbol(), and llvm::AArch64InstrInfo::storeRegToStackSlot().
The documentation for this class was generated from the following file: