LLVM 20.0.0git
|
#include "llvm/CodeGen/RDFRegisters.h"
Public Member Functions | |
constexpr | RegisterRef ()=default |
constexpr | RegisterRef (RegisterId R, LaneBitmask M=LaneBitmask::getAll()) |
constexpr bool | isReg () const |
constexpr bool | isUnit () const |
constexpr bool | isMask () const |
constexpr unsigned | idx () const |
constexpr | operator bool () const |
size_t | hash () const |
bool | operator< (RegisterRef) const =delete |
bool | operator== (RegisterRef) const =delete |
bool | operator!= (RegisterRef) const =delete |
Static Public Member Functions | |
static constexpr bool | isRegId (unsigned Id) |
static constexpr bool | isUnitId (unsigned Id) |
static constexpr bool | isMaskId (unsigned Id) |
static constexpr RegisterId | toUnitId (unsigned Idx) |
static constexpr unsigned | toIdx (RegisterId Id) |
Public Attributes | |
RegisterId | Reg = 0 |
LaneBitmask | Mask = LaneBitmask::getNone() |
Definition at line 88 of file RDFRegisters.h.
|
constexprdefault |
|
inlineexplicitconstexpr |
Definition at line 93 of file RDFRegisters.h.
|
inline |
Definition at line 108 of file RDFRegisters.h.
References llvm::LaneBitmask::getAsInteger(), Mask, and Reg.
|
inlineconstexpr |
Definition at line 102 of file RDFRegisters.h.
Referenced by llvm::rdf::PhysicalRegisterInfo::getUnits(), and llvm::rdf::DataFlowGraph::hasUntrackedRef().
|
inlineconstexpr |
Definition at line 100 of file RDFRegisters.h.
References isMaskId(), and Reg.
Referenced by llvm::rdf::PhysicalRegisterInfo::getUnits(), llvm::rdf::RegisterAggr::hasAliasOf(), llvm::rdf::RegisterAggr::hasCoverOf(), and llvm::rdf::RegisterAggr::insert().
Definition at line 119 of file RDFRegisters.h.
References llvm::Register::isStackSlot().
Referenced by llvm::rdf::PhysicalRegisterInfo::getAliasSet(), isMask(), and llvm::rdf::DataFlowGraph::makeRegRef().
|
inlineconstexpr |
Definition at line 98 of file RDFRegisters.h.
References isRegId(), and Reg.
Referenced by llvm::rdf::PhysicalRegisterInfo::getUnits(), llvm::rdf::DataFlowGraph::hasUntrackedRef(), and operator bool().
Definition at line 113 of file RDFRegisters.h.
References llvm::Register::isPhysicalRegister().
Referenced by llvm::rdf::PhysicalRegisterInfo::getAliasSet(), isReg(), and llvm::rdf::DataFlowGraph::makeRegRef().
|
inlineconstexpr |
Definition at line 99 of file RDFRegisters.h.
References isUnitId(), and Reg.
Definition at line 116 of file RDFRegisters.h.
References llvm::Register::isVirtualRegister().
Referenced by llvm::rdf::PhysicalRegisterInfo::getAliasSet(), isUnit(), and toIdx().
|
inlineconstexpr |
Definition at line 104 of file RDFRegisters.h.
References llvm::LaneBitmask::any(), isReg(), Mask, and Reg.
|
delete |
|
delete |
|
delete |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
Definition at line 123 of file RDFRegisters.h.
References Idx, and llvm::MCRegister::VirtualRegFlag.
LaneBitmask llvm::rdf::RegisterRef::Mask = LaneBitmask::getNone() |
Definition at line 90 of file RDFRegisters.h.
Referenced by llvm::rdf::Liveness::computePhiInfo(), llvm::rdf::PhysicalRegisterInfo::getUnits(), llvm::rdf::RegisterAggr::hasAliasOf(), llvm::rdf::RegisterAggr::hasCoverOf(), hash(), llvm::rdf::RegisterAggr::insert(), llvm::rdf::PhysicalRegisterInfo::mapTo(), operator bool(), and llvm::rdf::DataFlowGraph::pack().
RegisterId llvm::rdf::RegisterRef::Reg = 0 |
Definition at line 89 of file RDFRegisters.h.
Referenced by llvm::rdf::Liveness::computeLiveIns(), llvm::rdf::PhysicalRegisterInfo::getUnits(), llvm::rdf::RegisterAggr::hasAliasOf(), llvm::rdf::RegisterAggr::hasCoverOf(), hash(), idx(), llvm::rdf::RegisterAggr::insert(), llvm::rdf::CopyPropagation::interpretAsCopy(), isMask(), isReg(), isUnit(), llvm::rdf::PhysicalRegisterInfo::mapTo(), operator bool(), and llvm::rdf::DataFlowGraph::pack().