LLVM 20.0.0git
|
#include "llvm/MC/LaneBitmask.h"
Public Types | |
enum | : unsigned { BitWidth = 8*sizeof(Type) } |
using | Type = uint64_t |
Public Member Functions | |
constexpr | LaneBitmask ()=default |
constexpr | LaneBitmask (Type V) |
constexpr bool | operator== (LaneBitmask M) const |
constexpr bool | operator!= (LaneBitmask M) const |
constexpr bool | operator< (LaneBitmask M) const |
constexpr bool | none () const |
constexpr bool | any () const |
constexpr bool | all () const |
constexpr LaneBitmask | operator~ () const |
constexpr LaneBitmask | operator| (LaneBitmask M) const |
constexpr LaneBitmask | operator& (LaneBitmask M) const |
LaneBitmask & | operator|= (LaneBitmask M) |
LaneBitmask & | operator&= (LaneBitmask M) |
constexpr Type | getAsInteger () const |
unsigned | getNumLanes () const |
unsigned | getHighestLane () const |
Static Public Member Functions | |
static constexpr LaneBitmask | getNone () |
static constexpr LaneBitmask | getAll () |
static constexpr LaneBitmask | getLane (unsigned Lane) |
Static Public Attributes | |
static constexpr const char *const | FormatStr = "%016llX" |
Definition at line 40 of file LaneBitmask.h.
using llvm::LaneBitmask::Type = uint64_t |
Definition at line 42 of file LaneBitmask.h.
anonymous enum : unsigned |
Enumerator | |
---|---|
BitWidth |
Definition at line 43 of file LaneBitmask.h.
|
constexprdefault |
Referenced by getLane(), getNone(), operator&(), operator|(), and operator~().
|
inlineexplicitconstexpr |
Definition at line 47 of file LaneBitmask.h.
|
inlineconstexpr |
Definition at line 54 of file LaneBitmask.h.
Referenced by llvm::rdf::LaneMaskIndex::getIndexForLaneMask().
|
inlineconstexpr |
Definition at line 53 of file LaneBitmask.h.
Referenced by addRegLanes(), llvm::ScheduleDAGInstrs::addVRegDefDeps(), llvm::RegPressureTracker::advance(), llvm::RegPressureTracker::bumpUpwardPressure(), decreaseSetPressure(), llvm::RegPressureTracker::discoverLiveInOrOut(), llvm::TargetRegisterInfo::getCoveringSubRegIndexes(), llvm::rdf::LaneMaskIndex::getIndexForLaneMask(), llvm::RegPressureTracker::increaseRegPressure(), increaseSetPressure(), llvm::rdf::RegisterRef::operator bool(), readsLaneSubset(), llvm::RegPressureTracker::recede(), llvm::LiveInterval::refineSubRanges(), removeRegLanes(), and llvm::GCNRegPressurePrinter::runOnMachineFunction().
|
inlinestaticconstexpr |
Definition at line 82 of file LaneBitmask.h.
Referenced by llvm::LiveIntervals::addKillFlags(), llvm::ScheduleDAGInstrs::addVRegDefDeps(), llvm::ScheduleDAGInstrs::addVRegUseDeps(), llvm::LiveIntervalCalc::calculate(), llvm::LiveIntervalCalc::constructMainRangeFromSubranges(), llvm::LiveIntervalCalc::extendToUses(), llvm::rdf::LaneMaskIndex::getLaneMaskForIndex(), llvm::ScheduleDAGInstrs::getLaneMaskForMO(), getLanesWithProperty(), getLiveLanesAt(), llvm::RegPressureTracker::getLiveLanesAt(), llvm::rdf::DataFlowGraph::makeRegRef(), llvm::rdf::PhysicalRegisterInfo::mapTo(), llvm::rdf::PhysicalRegisterInfo::PhysicalRegisterInfo(), and llvm::LiveInterval::verify().
|
inlineconstexpr |
Definition at line 74 of file LaneBitmask.h.
Referenced by llvm::SIRegisterInfo::getNumCoveredRegs(), llvm::rdf::RegisterRef::hash(), and llvm::PrintLaneMask().
|
inline |
Definition at line 77 of file LaneBitmask.h.
References llvm::Log2_64().
|
inlinestaticconstexpr |
Definition at line 83 of file LaneBitmask.h.
References LaneBitmask().
|
inlinestaticconstexpr |
Definition at line 81 of file LaneBitmask.h.
References LaneBitmask().
Referenced by llvm::LiveIntervals::addKillFlags(), llvm::GCNDownwardRPTracker::advanceBeforeNext(), llvm::ScheduleDAGMILive::collectVRegUses(), computeLiveOuts(), llvm::LiveRegSet::contains(), llvm::RegPressureTracker::discoverLiveInOrOut(), llvm::LiveRegSet::erase(), findUseBetween(), getLanesWithProperty(), llvm::RegPressureTracker::getLastUsedLanes(), llvm::RegPressureTracker::getLiveThroughAt(), getRegLanes(), llvm::getRegPressure(), llvm::RegPressureTracker::initLiveThru(), llvm::LiveRegSet::insert(), llvm::GCNUpwardRPTracker::recede(), llvm::RegPressureTracker::recede(), setRegZero(), llvm::LiveIntervals::shrinkToUses(), and llvm::LiveIntervals::HMEditor::updateAllRanges().
|
inline |
Definition at line 76 of file LaneBitmask.h.
References llvm::popcount().
Referenced by llvm::TargetRegisterInfo::getCoveringSubRegIndexes().
|
inlineconstexpr |
Definition at line 52 of file LaneBitmask.h.
Referenced by llvm::RegisterOperands::adjustLaneLiveness(), llvm::LiveRangeEdit::allUsesAvailableAt(), llvm::RegPressureTracker::bumpDownwardPressure(), decreaseSetPressure(), findUseBetween(), llvm::rdf::PhysicalRegisterInfo::getUnits(), llvm::GCNRegPressure::inc(), llvm::RegPressureTracker::increaseRegPressure(), increaseSetPressure(), llvm::GCNUpwardRPTracker::recede(), llvm::RegPressureTracker::recede(), and llvm::LiveInterval::refineSubRanges().
|
inlineconstexpr |
Definition at line 50 of file LaneBitmask.h.
|
inlineconstexpr |
Definition at line 62 of file LaneBitmask.h.
References LaneBitmask().
|
inline |
Definition at line 69 of file LaneBitmask.h.
|
inlineconstexpr |
Definition at line 51 of file LaneBitmask.h.
|
inlineconstexpr |
Definition at line 49 of file LaneBitmask.h.
|
inlineconstexpr |
Definition at line 59 of file LaneBitmask.h.
References LaneBitmask().
|
inline |
Definition at line 65 of file LaneBitmask.h.
|
inlineconstexpr |
Definition at line 56 of file LaneBitmask.h.
References LaneBitmask().
Definition at line 44 of file LaneBitmask.h.
Referenced by llvm::PrintLaneMask().