LLVM
8.0.1
|
#include "llvm/MC/LaneBitmask.h"
Public Types | |
enum | : unsigned { BitWidth = 8*sizeof(Type) } |
using | Type = unsigned |
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 = "%08X" |
Definition at line 40 of file LaneBitmask.h.
using llvm::LaneBitmask::Type = unsigned |
Definition at line 42 of file LaneBitmask.h.
anonymous enum : unsigned |
Enumerator | |
---|---|
BitWidth |
Definition at line 43 of file LaneBitmask.h.
|
default |
Referenced by getLane(), getNone(), operator &(), operator|(), and operator~().
|
inlineexplicit |
Definition at line 47 of file LaneBitmask.h.
|
inline |
Definition at line 54 of file LaneBitmask.h.
Referenced by llvm::LivePhysRegs::available(), llvm::LiveRangeCalc::createDeadDefs(), llvm::SplitEditor::dump(), llvm::rdf::LaneMaskIndex::getIndexForLaneMask(), getMopState(), and llvm::rdf::operator<<().
|
inline |
Definition at line 53 of file LaneBitmask.h.
Referenced by addRegLanes(), llvm::ScheduleDAGInstrs::addVRegDefDeps(), llvm::RegPressureTracker::advance(), llvm::LivePhysRegs::available(), createSegmentsForValues(), decreaseSetPressure(), llvm::RegPressureTracker::discoverLiveInOrOut(), llvm::SplitEditor::dump(), llvm::rdf::LaneMaskIndex::getIndexForLaneMask(), llvm::GCNRegPressure::inc(), llvm::RegPressureTracker::increaseRegPressure(), increaseSetPressure(), instAccessReg(), isCrossCopy(), isDefInSubRange(), matchPair(), llvm::rdf::RegisterRef::operator bool(), llvm::RegPressureTracker::recede(), llvm::LiveInterval::refineSubRanges(), removeRegLanes(), llvm::rdf::DataFlowGraph::restrictRef(), llvm::LiveIntervals::HMEditor::updateAllRanges(), and llvm::MachineFunction::verify().
|
inlinestatic |
Definition at line 84 of file LaneBitmask.h.
Referenced by llvm::LiveIntervals::addKillFlags(), llvm::MachineBasicBlock::addLiveIn(), llvm::ScheduleDAGInstrs::addVRegDefDeps(), llvm::ScheduleDAGInstrs::addVRegUseDeps(), llvm::LiveRangeCalc::calculate(), ComputeCommonTailLength(), llvm::LiveRangeCalc::constructMainRangeFromSubranges(), llvm::SplitEditor::dump(), llvm::LiveRangeCalc::extendToUses(), llvm::rdf::PhysicalRegisterInfo::getAliasSet(), llvm::rdf::LaneMaskIndex::getLaneMaskForIndex(), llvm::ScheduleDAGInstrs::getLaneMaskForMO(), getLanesWithProperty(), getLiveLanesAt(), llvm::RegPressureTracker::getLiveLanesAt(), getMopState(), isCrossCopy(), llvm::rdf::RegisterAggr::makeRegRef(), llvm::rdf::DataFlowGraph::makeRegRef(), llvm::rdf::PhysicalRegisterInfo::mapTo(), matchPair(), llvm::rdf::PhysicalRegisterInfo::PhysicalRegisterInfo(), llvm::LiveIntervals::removeRegUnit(), llvm::RegScavenger::scavengeRegister(), toString(), and llvm::LiveInterval::verify().
|
inline |
Definition at line 74 of file LaneBitmask.h.
Referenced by getSubRegForIndex(), and llvm::PrintLaneMask().
|
inline |
Definition at line 79 of file LaneBitmask.h.
References llvm::Log2_32().
Referenced by getMopState().
|
inlinestatic |
Definition at line 85 of file LaneBitmask.h.
References LaneBitmask().
Referenced by getUsedRegMask().
|
inlinestatic |
Definition at line 83 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::SplitEditor::dump(), llvm::LiveRegSet::erase(), findUseBetween(), getLanesWithProperty(), llvm::RegPressureTracker::getLastUsedLanes(), llvm::RegPressureTracker::getLiveThroughAt(), getRegLanes(), llvm::getRegPressure(), llvm::RegPressureTracker::initLiveThru(), llvm::LiveRegSet::insert(), isCrossCopy(), isDefInSubRange(), llvm::RegPressureTracker::recede(), setRegZero(), llvm::LiveIntervals::shrinkToUses(), and llvm::LiveIntervals::HMEditor::updateAllRanges().
|
inline |
Definition at line 76 of file LaneBitmask.h.
References llvm::countPopulation().
Referenced by llvm::SplitEditor::dump(), and getMopState().
|
inline |
Definition at line 52 of file LaneBitmask.h.
Referenced by llvm::LiveRegUnits::addRegMasked(), llvm::RegisterOperands::adjustLaneLiveness(), llvm::RegPressureTracker::bumpDownwardPressure(), llvm::rdf::Liveness::computePhiInfo(), decreaseSetPressure(), findUseBetween(), llvm::rdf::PhysicalRegisterInfo::getAliasSet(), llvm::GCNRegPressure::inc(), llvm::RegPressureTracker::increaseRegPressure(), increaseSetPressure(), llvm::rdf::RegisterAggr::makeRegRef(), matchPair(), llvm::RegPressureTracker::recede(), and llvm::LiveInterval::refineSubRanges().
|
inline |
Definition at line 62 of file LaneBitmask.h.
References LaneBitmask().
|
inline |
Definition at line 69 of file LaneBitmask.h.
|
inline |
Definition at line 50 of file LaneBitmask.h.
|
inline |
Definition at line 51 of file LaneBitmask.h.
|
inline |
Definition at line 49 of file LaneBitmask.h.
|
inline |
Definition at line 59 of file LaneBitmask.h.
References LaneBitmask().
|
inline |
Definition at line 65 of file LaneBitmask.h.
|
inline |
Definition at line 56 of file LaneBitmask.h.
References LaneBitmask().
Definition at line 44 of file LaneBitmask.h.
Referenced by llvm::PrintLaneMask().