LLVM
8.0.1
|
#include "llvm/ADT/BitVector.h"
Classes | |
class | reference |
Public Types | |
typedef unsigned | size_type |
typedef const_set_bits_iterator_impl< BitVector > | const_set_bits_iterator |
typedef const_set_bits_iterator | set_iterator |
Public Member Functions | |
const_set_bits_iterator | set_bits_begin () const |
const_set_bits_iterator | set_bits_end () const |
iterator_range< const_set_bits_iterator > | set_bits () const |
BitVector () | |
BitVector default ctor - Creates an empty bitvector. More... | |
BitVector (unsigned s, bool t=false) | |
BitVector ctor - Creates a bitvector of specified number of bits. More... | |
BitVector (const BitVector &RHS) | |
BitVector copy ctor. More... | |
BitVector (BitVector &&RHS) | |
~BitVector () | |
bool | empty () const |
empty - Tests whether there are no bits in this bitvector. More... | |
size_type | size () const |
size - Returns the number of bits in this bitvector. More... | |
size_type | count () const |
count - Returns the number of bits which are set. More... | |
bool | any () const |
any - Returns true if any bit is set. More... | |
bool | all () const |
all - Returns true if all bits are set. More... | |
bool | none () const |
none - Returns true if none of the bits are set. More... | |
int | find_first_in (unsigned Begin, unsigned End) const |
find_first_in - Returns the index of the first set bit in the range [Begin, End). More... | |
int | find_last_in (unsigned Begin, unsigned End) const |
find_last_in - Returns the index of the last set bit in the range [Begin, End). More... | |
int | find_first_unset_in (unsigned Begin, unsigned End) const |
find_first_unset_in - Returns the index of the first unset bit in the range [Begin, End). More... | |
int | find_last_unset_in (unsigned Begin, unsigned End) const |
find_last_unset_in - Returns the index of the last unset bit in the range [Begin, End). More... | |
int | find_first () const |
find_first - Returns the index of the first set bit, -1 if none of the bits are set. More... | |
int | find_last () const |
find_last - Returns the index of the last set bit, -1 if none of the bits are set. More... | |
int | find_next (unsigned Prev) const |
find_next - Returns the index of the next set bit following the "Prev" bit. More... | |
int | find_prev (unsigned PriorTo) const |
find_prev - Returns the index of the first set bit that precedes the the bit at PriorTo . More... | |
int | find_first_unset () const |
find_first_unset - Returns the index of the first unset bit, -1 if all of the bits are set. More... | |
int | find_next_unset (unsigned Prev) const |
find_next_unset - Returns the index of the next unset bit following the "Prev" bit. More... | |
int | find_last_unset () const |
find_last_unset - Returns the index of the last unset bit, -1 if all of the bits are set. More... | |
int | find_prev_unset (unsigned PriorTo) |
find_prev_unset - Returns the index of the first unset bit that precedes the bit at PriorTo . More... | |
void | clear () |
clear - Removes all bits from the bitvector. Does not change capacity. More... | |
void | resize (unsigned N, bool t=false) |
resize - Grow or shrink the bitvector. More... | |
void | reserve (unsigned N) |
BitVector & | set () |
BitVector & | set (unsigned Idx) |
BitVector & | set (unsigned I, unsigned E) |
set - Efficiently set a range of bits in [I, E) More... | |
BitVector & | reset () |
BitVector & | reset (unsigned Idx) |
BitVector & | reset (unsigned I, unsigned E) |
reset - Efficiently reset a range of bits in [I, E) More... | |
BitVector & | flip () |
BitVector & | flip (unsigned Idx) |
reference | operator[] (unsigned Idx) |
bool | operator[] (unsigned Idx) const |
bool | test (unsigned Idx) const |
void | push_back (bool Val) |
bool | anyCommon (const BitVector &RHS) const |
Test if any common bits are set. More... | |
bool | operator== (const BitVector &RHS) const |
bool | operator!= (const BitVector &RHS) const |
BitVector & | operator &= (const BitVector &RHS) |
Intersection, union, disjoint union. More... | |
BitVector & | reset (const BitVector &RHS) |
reset - Reset bits that are set in RHS. Same as *this &= ~RHS. More... | |
bool | test (const BitVector &RHS) const |
test - Check if (This - RHS) is zero. More... | |
BitVector & | operator|= (const BitVector &RHS) |
BitVector & | operator^= (const BitVector &RHS) |
BitVector & | operator>>= (unsigned N) |
BitVector & | operator<<= (unsigned N) |
const BitVector & | operator= (const BitVector &RHS) |
const BitVector & | operator= (BitVector &&RHS) |
void | swap (BitVector &RHS) |
void | setBitsInMask (const uint32_t *Mask, unsigned MaskWords=~0u) |
setBitsInMask - Add '1' bits from Mask to this vector. More... | |
void | clearBitsInMask (const uint32_t *Mask, unsigned MaskWords=~0u) |
clearBitsInMask - Clear any bits in this vector that are set in Mask. More... | |
void | setBitsNotInMask (const uint32_t *Mask, unsigned MaskWords=~0u) |
setBitsNotInMask - Add a bit to this vector for every '0' bit in Mask. More... | |
void | clearBitsNotInMask (const uint32_t *Mask, unsigned MaskWords=~0u) |
clearBitsNotInMask - Clear a bit in this vector for every '0' bit in Mask. More... | |
size_t | getMemorySize () const |
Return the size (in bytes) of the bit vector. More... | |
size_t | getBitCapacity () const |
Definition at line 74 of file BitVector.h.
Definition at line 121 of file BitVector.h.
Definition at line 122 of file BitVector.h.
typedef unsigned llvm::BitVector::size_type |
Definition at line 86 of file BitVector.h.
|
inline |
BitVector default ctor - Creates an empty bitvector.
Definition at line 135 of file BitVector.h.
BitVector ctor - Creates a bitvector of specified number of bits.
All bits are initialized to the specified value.
Definition at line 139 of file BitVector.h.
BitVector copy ctor.
Definition at line 148 of file BitVector.h.
References llvm::MutableArrayRef< T >::data(), llvm::Intrinsic::memcpy, and size().
|
inline |
Definition at line 159 of file BitVector.h.
|
inline |
Definition at line 164 of file BitVector.h.
References llvm::MutableArrayRef< T >::data().
|
inline |
all - Returns true if all bits are set.
Definition at line 189 of file BitVector.h.
|
inline |
any - Returns true if any bit is set.
Definition at line 181 of file BitVector.h.
References llvm::size().
Referenced by findTemporariesForLR(), llvm::AArch64Subtarget::hasCustomCallingConv(), isDebug(), and llvm::RegScavenger::scavengeRegister().
Test if any common bits are set.
Definition at line 524 of file BitVector.h.
References size(), and llvm::size().
Referenced by addRegsToSet(), isDebug(), and llvm::safestack::StackColoring::LiveRange::Overlaps().
|
inline |
clear - Removes all bits from the bitvector. Does not change capacity.
Definition at line 367 of file BitVector.h.
Referenced by llvm::LiveRegMatrix::checkRegMaskInterference(), llvm::LiveIntervals::checkRegMaskInterference(), llvm::SplitAnalysis::clear(), llvm::createRegUsageInfoCollector(), llvm::RegScavenger::enterBasicBlockEnd(), llvm::BuildVectorSDNode::getSplatValue(), getStartOrEndSlot(), INITIALIZE_PASS(), isDebug(), matchPair(), llvm::SpillPlacement::prepare(), scavengeStackSlot(), and llvm::MachineFunction::verify().
clearBitsInMask - Clear any bits in this vector that are set in Mask.
Don't resize. This computes "*this &= ~Mask".
Definition at line 782 of file BitVector.h.
References llvm::BitmaskEnumDetail::Mask().
clearBitsNotInMask - Clear a bit in this vector for every '0' bit in Mask.
Don't resize. This computes "*this &= Mask".
Definition at line 794 of file BitVector.h.
References assert(), B, llvm::countTrailingOnes(), llvm::MutableArrayRef< T >::data(), llvm::MutableArrayRef< T >::drop_back(), llvm::MutableArrayRef< T >::drop_front(), llvm::BitmaskEnumDetail::Mask(), llvm::Intrinsic::memmove, llvm::Intrinsic::memset, llvm::safe_malloc(), llvm::safe_realloc(), llvm::ArrayRef< T >::size(), llvm::size(), and llvm::MutableArrayRef< T >::take_front().
Referenced by llvm::LiveIntervals::checkRegMaskInterference(), llvm::RegScavenger::getRegsAvailable(), and INITIALIZE_PASS().
|
inline |
count - Returns the number of bits which are set.
Definition at line 173 of file BitVector.h.
References llvm::countPopulation(), and llvm::size().
Referenced by llvm::pdb::UDTLayoutBase::addChildToLayout(), llvm::pdb::LayoutItemBase::deepPaddingSize(), llvm::AArch64FrameLowering::determineCalleeSaves(), llvm::SystemZTTIImpl::getInterleavedMemoryOpCost(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getInterleavedMemoryOpCost(), llvm::msf::MSFBuilder::getNumFreeBlocks(), llvm::AArch64Subtarget::getNumXRegisterReserved(), llvm::pdb::ClassLayout::immediatePadding(), lowerBuildVectorAsBroadcast(), llvm::RegisterBank::print(), llvm::PPCFrameLowering::replaceFPWithRealFP(), llvm::msf::MSFBuilder::setDirectoryBlocksHint(), and llvm::SystemZRegisterInfo::shouldCoalesce().
|
inline |
empty - Tests whether there are no bits in this bitvector.
Definition at line 167 of file BitVector.h.
Referenced by assignCalleeSavedSpillSlots(), llvm::LiveRegMatrix::checkRegMaskInterference(), CriticalPathStep(), llvm::CodeGenCoverage::emit(), isACalleeSavedRegister(), llvm::RegisterBank::isValid(), llvm::RegisterBank::print(), and llvm::MachineRegisterInfo::reservedRegsFrozen().
|
inline |
find_first - Returns the index of the first set bit, -1 if none of the bits are set.
Definition at line 332 of file BitVector.h.
Referenced by llvm::HexagonFrameLowering::assignCalleeSavedSpillSlots(), llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), dump_registers(), findTemporariesForLR(), llvm::HexagonFrameLowering::getAlignaInstr(), llvm::RegScavenger::getRegsAvailable(), llvm::HexagonRegisterInfo::getReservedRegs(), INITIALIZE_PASS(), isDebug(), llvm::Mips16InstrInfo::loadImmediate(), needsStackFrame(), llvm::safestack::operator<<(), llvm::PPCFrameLowering::replaceFPWithRealFP(), scavengeStackSlot(), and llvm::msf::MSFBuilder::setDirectoryBlocksHint().
find_first_in - Returns the index of the first set bit in the range [Begin, End).
Returns -1 if all bits in the range are unset.
Definition at line 208 of file BitVector.h.
|
inline |
find_first_unset - Returns the index of the first unset bit, -1 if all of the bits are set.
Definition at line 348 of file BitVector.h.
find_first_unset_in - Returns the index of the first unset bit in the range [Begin, End).
Returns -1 if all bits in the range are set.
Definition at line 268 of file BitVector.h.
|
inline |
find_last - Returns the index of the last set bit, -1 if none of the bits are set.
Definition at line 336 of file BitVector.h.
Referenced by llvm::pdb::UDTLayoutBase::initializeChildren(), and llvm::pdb::LayoutItemBase::tailPadding().
find_last_in - Returns the index of the last set bit in the range [Begin, End).
Returns -1 if all bits in the range are unset.
Definition at line 237 of file BitVector.h.
|
inline |
find_last_unset - Returns the index of the last unset bit, -1 if all of the bits are set.
Definition at line 358 of file BitVector.h.
find_last_unset_in - Returns the index of the last unset bit in the range [Begin, End).
Returns -1 if all bits in the range are set.
Definition at line 299 of file BitVector.h.
|
inline |
find_next - Returns the index of the next set bit following the "Prev" bit.
Returns -1 if the next set bit is not found.
Definition at line 340 of file BitVector.h.
Referenced by llvm::HexagonFrameLowering::assignCalleeSavedSpillSlots(), dump_registers(), llvm::HexagonFrameLowering::getAlignaInstr(), llvm::HexagonRegisterInfo::getReservedRegs(), INITIALIZE_PASS(), isDebug(), needsStackFrame(), llvm::safestack::operator<<(), llvm::PPCFrameLowering::replaceFPWithRealFP(), scavengeStackSlot(), and llvm::msf::MSFBuilder::setDirectoryBlocksHint().
|
inline |
find_next_unset - Returns the index of the next unset bit following the "Prev" bit.
Returns -1 if all remaining bits are set.
Definition at line 352 of file BitVector.h.
|
inline |
find_prev - Returns the index of the first set bit that precedes the the bit at PriorTo
.
Returns -1 if all previous bits are unset.
Definition at line 344 of file BitVector.h.
|
inline |
find_prev_unset - Returns the index of the first unset bit that precedes the bit at PriorTo
.
Returns -1 if all previous bits are set.
Definition at line 362 of file BitVector.h.
|
inline |
Definition at line 478 of file BitVector.h.
References llvm::size().
Referenced by addLiveInRegs(), and llvm::TargetRegisterInfo::getAllocatableSet().
Definition at line 485 of file BitVector.h.
|
inline |
Definition at line 929 of file BitVector.h.
References llvm::ArrayRef< T >::size().
|
inline |
Return the size (in bytes) of the bit vector.
Definition at line 928 of file BitVector.h.
References llvm::ArrayRef< T >::size().
Referenced by llvm::capacity_in_bytes().
|
inline |
none - Returns true if none of the bits are set.
Definition at line 202 of file BitVector.h.
Referenced by addRegsToSet(), llvm::AggressiveAntiDepBreaker::AggressiveAntiDepBreaker(), llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), llvm::LiveRegUnits::empty(), llvm::RegScavenger::getRegsAvailable(), llvm::SelectionDAG::getVectorShuffle(), llvm::isConstOrConstSplat(), llvm::isConstOrConstSplatFP(), and scavengeStackSlot().
Intersection, union, disjoint union.
Definition at line 560 of file BitVector.h.
References for(), size(), and llvm::size().
Definition at line 555 of file BitVector.h.
Definition at line 668 of file BitVector.h.
References assert(), llvm::empty(), I, LLVM_UNLIKELY, and llvm::BitmaskEnumDetail::Mask().
Definition at line 719 of file BitVector.h.
References assert(), llvm::MutableArrayRef< T >::data(), llvm::Intrinsic::memcpy, and size().
Definition at line 744 of file BitVector.h.
References llvm::MutableArrayRef< T >::data().
Definition at line 534 of file BitVector.h.
References size(), and llvm::size().
Definition at line 619 of file BitVector.h.
References assert(), llvm::empty(), I, LLVM_UNLIKELY, and llvm::BitmaskEnumDetail::Mask().
Definition at line 496 of file BitVector.h.
References assert(), and llvm::BitmaskEnumDetail::Mask().
Definition at line 611 of file BitVector.h.
References size(), and llvm::size().
Definition at line 603 of file BitVector.h.
References size(), and llvm::size().
Referenced by isDebug().
|
inline |
Definition at line 507 of file BitVector.h.
References Size.
Referenced by llvm::ScheduleDAGTopologicalSort::GetSubGraph().
|
inline |
Definition at line 392 of file BitVector.h.
Referenced by llvm::SmallBitVector::reserve().
|
inline |
Definition at line 439 of file BitVector.h.
Referenced by addLiveInRegs(), llvm::msf::MSFBuilder::addStream(), llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), llvm::LiveRegUnits::clear(), computeFreeStackSlots(), CriticalPathStep(), llvm::BPFFrameLowering::determineCalleeSaves(), llvm::SIFrameLowering::determineCalleeSaves(), llvm::XCoreFrameLowering::determineCalleeSaves(), llvm::LanaiFrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::RegScavenger::enterBasicBlockEnd(), findTemporariesForLR(), llvm::CriticalAntiDepBreaker::FinishBlock(), llvm::RegScavenger::getRegsAvailable(), getStartOrEndSlot(), llvm::ScheduleDAGTopologicalSort::GetSubGraph(), llvm::LiveRegUnits::init(), INITIALIZE_PASS(), isDebug(), llvm::ScheduleDAGTopologicalSort::IsReachable(), llvm::Mips16InstrInfo::loadImmediate(), llvm::safestack::StackColoring::removeAllMarkers(), llvm::LiveRegUnits::removeReg(), llvm::LiveRegUnits::removeRegsNotPreserved(), llvm::LiveRegUnits::removeUnits(), llvm::PPCFrameLowering::replaceFPWithRealFP(), llvm::RegScavenger::scavengeRegister(), scavengeStackSlot(), llvm::msf::MSFBuilder::setDirectoryBlocksHint(), llvm::CriticalAntiDepBreaker::StartBlock(), and llvm::pdb::UDTLayoutBase::UDTLayoutBase().
Definition at line 444 of file BitVector.h.
reset - Efficiently reset a range of bits in [I, E)
Definition at line 450 of file BitVector.h.
References llvm::alignTo(), assert(), E, llvm::BitmaskEnumDetail::Mask(), and llvm::size().
reset - Reset bits that are set in RHS. Same as *this &= ~RHS.
Definition at line 577 of file BitVector.h.
References size(), and llvm::size().
resize - Grow or shrink the bitvector.
Definition at line 372 of file BitVector.h.
References llvm::MutableArrayRef< T >::drop_front(), N, Size, and llvm::ArrayRef< T >::size().
Referenced by llvm::pdb::UDTLayoutBase::addChildToLayout(), llvm::msf::MSFBuilder::addStream(), llvm::pdb::BaseClassLayout::BaseClassLayout(), llvm::LiveIntervals::checkRegMaskInterference(), llvm::pdb::ClassLayout::ClassLayout(), llvm::SplitAnalysis::clear(), computeFreeStackSlots(), llvm::HexagonFrameLowering::determineCalleeSaves(), llvm::TargetFrameLowering::determineCalleeSaves(), llvm::BuildVectorSDNode::getSplatValue(), getStartOrEndSlot(), llvm::ScheduleDAGTopologicalSort::GetSubGraph(), llvm::LiveRegUnits::init(), llvm::pdb::LayoutItemBase::LayoutItemBase(), llvm::MachineRegisterInfo::MachineRegisterInfo(), llvm::pdb::PDBFile::parseFileHeaders(), llvm::RegisterBank::RegisterBank(), llvm::safestack::StackColoring::removeAllMarkers(), llvm::CodeGenCoverage::reset(), llvm::msf::MSFBuilder::setBlockMapAddr(), llvm::CodeGenCoverage::setCovered(), llvm::msf::MSFBuilder::setDirectoryBlocksHint(), llvm::safestack::StackColoring::LiveRange::SetMaximum(), llvm::RegScavenger::setRegUsed(), llvm::WebAssemblyFunctionInfo::stackifyVReg(), and llvm::pdb::UDTLayoutBase::UDTLayoutBase().
|
inline |
Definition at line 398 of file BitVector.h.
Referenced by llvm::AArch64Subtarget::AArch64Subtarget(), addLiveInRegs(), llvm::safestack::StackColoring::LiveRange::AddRange(), llvm::LiveRegUnits::addReg(), llvm::LiveRegUnits::addRegMasked(), llvm::LiveRegUnits::addRegsInMask(), addRegUnits(), llvm::pdb::BaseClassLayout::BaseClassLayout(), llvm::TargetRegisterInfo::checkAllSuperRegsMarked(), checkNumAlignedDPRCS2Regs(), collectChangingRegs(), llvm::createDwarfEHPass(), llvm::createRegUsageInfoCollector(), CriticalPathStep(), llvm::SystemZFrameLowering::determineCalleeSaves(), llvm::RISCVFrameLowering::determineCalleeSaves(), llvm::ARCFrameLowering::determineCalleeSaves(), llvm::Mips16FrameLowering::determineCalleeSaves(), llvm::ARMFrameLowering::determineCalleeSaves(), llvm::AArch64FrameLowering::determineCalleeSaves(), llvm::HexagonFrameLowering::determineCalleeSaves(), llvm::X86FrameLowering::determineCalleeSaves(), llvm::TargetFrameLowering::determineCalleeSaves(), llvm::RegScavenger::enterBasicBlockEnd(), findTemporariesForLR(), getAllocatableSetForRC(), llvm::SystemZTTIImpl::getInterleavedMemoryOpCost(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getInterleavedMemoryOpCost(), llvm::MSP430RegisterInfo::getReservedRegs(), llvm::SparcRegisterInfo::getReservedRegs(), llvm::ARCRegisterInfo::getReservedRegs(), llvm::AVRRegisterInfo::getReservedRegs(), llvm::LanaiRegisterInfo::getReservedRegs(), llvm::XCoreRegisterInfo::getReservedRegs(), llvm::WebAssemblyRegisterInfo::getReservedRegs(), llvm::HexagonRegisterInfo::getReservedRegs(), llvm::MipsRegisterInfo::getReservedRegs(), llvm::SystemZRegisterInfo::getReservedRegs(), llvm::X86RegisterInfo::getReservedRegs(), getStartOrEndSlot(), llvm::ScheduleDAGTopologicalSort::GetSubGraph(), hasPressureSet(), INITIALIZE_PASS(), InstructionStoresToFI(), isDebug(), llvm::LiveRangeCalc::isJointlyDominated(), llvm::AMDGPUCallLowering::lowerFormalArguments(), llvm::TargetRegisterInfo::markSuperRegs(), false::IntervalSorter::operator()(), llvm::BranchFolder::OptimizeFunction(), llvm::optimizeGlobalCtorsList(), processShaderInputArgs(), llvm::safestack::StackColoring::removeAllMarkers(), llvm::SmallBitVector::reserve(), llvm::AMDGPURegisterInfo::reserveRegisterTuples(), llvm::R600RegisterInfo::reserveRegisterTuples(), setAliasRegs(), llvm::LiveRangeCalc::setLiveOutValue(), llvm::SystemZRegisterInfo::shouldCoalesce(), and llvm::WebAssemblyFunctionInfo::stackifyVReg().
Definition at line 404 of file BitVector.h.
References assert(), and llvm::MutableArrayRef< T >::data().
set - Efficiently set a range of bits in [I, E)
Definition at line 411 of file BitVector.h.
References llvm::alignTo(), assert(), E, llvm::BitmaskEnumDetail::Mask(), and llvm::size().
|
inline |
Definition at line 130 of file BitVector.h.
References llvm::make_range().
Referenced by addLiveInRegs(), llvm::AggressiveAntiDepBreaker::AggressiveAntiDepBreaker(), llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), llvm::TargetRegisterInfo::checkAllSuperRegsMarked(), llvm::CodeGenCoverage::covered(), llvm::AArch64FrameLowering::determineCalleeSaves(), llvm::CodeGenCoverage::emit(), findTemporariesForLR(), and matchPair().
|
inline |
Definition at line 124 of file BitVector.h.
|
inline |
Definition at line 127 of file BitVector.h.
setBitsInMask - Add '1' bits from Mask to this vector.
Don't resize. This computes "*this |= Mask".
Definition at line 776 of file BitVector.h.
References llvm::BitmaskEnumDetail::Mask().
Referenced by llvm::TargetLoweringBase::findRepresentativeClass(), and llvm::RegisterBank::RegisterBank().
setBitsNotInMask - Add a bit to this vector for every '0' bit in Mask.
Don't resize. This computes "*this |= ~Mask".
Definition at line 788 of file BitVector.h.
References llvm::BitmaskEnumDetail::Mask().
Referenced by llvm::MachineRegisterInfo::addPhysRegsUsedFromRegMask(), collectChangingRegs(), and InstructionStoresToFI().
|
inline |
size - Returns the number of bits in this bitvector.
Definition at line 170 of file BitVector.h.
References Size.
Referenced by llvm::pdb::UDTLayoutBase::addChildToLayout(), llvm::msf::MSFBuilder::addStream(), anyCommon(), llvm::PPCFrameLowering::assignCalleeSavedSpillSlots(), BitVector(), llvm::createDwarfEHPass(), llvm::pdb::LayoutItemBase::deepPaddingSize(), llvm::MachineRegisterInfo::freezeReservedRegs(), llvm::msf::MSFBuilder::generateLayout(), llvm::msf::MSFBuilder::getTotalBlockCount(), llvm::CodeGenCoverage::isCovered(), llvm::WebAssemblyFunctionInfo::isVRegStackified(), operator &=(), operator=(), operator==(), operator^=(), operator|=(), llvm::RegisterBank::print(), reset(), llvm::RegisterClassInfo::runOnMachineFunction(), scavengeStackSlot(), llvm::msf::MSFBuilder::setBlockMapAddr(), llvm::CodeGenCoverage::setCovered(), llvm::msf::MSFBuilder::setDirectoryBlocksHint(), llvm::WebAssemblyFunctionInfo::stackifyVReg(), llvm::pdb::LayoutItemBase::tailPadding(), and test().
|
inline |
Definition at line 502 of file BitVector.h.
Referenced by addLiveInRegs(), llvm::msf::MSFBuilder::addStream(), assignCalleeSavedSpillSlots(), llvm::LiveRegUnits::available(), llvm::MachineRegisterInfo::canReserveReg(), checkNumAlignedDPRCS2Regs(), llvm::LiveRegMatrix::checkRegMaskInterference(), commitFpm(), llvm::RegisterBank::covers(), llvm::createGenericSchedPostRA(), llvm::createRegUsageInfoCollector(), CriticalPathStep(), llvm::SystemZFrameLowering::determineCalleeSaves(), llvm::ARMFrameLowering::determineCalleeSaves(), llvm::AArch64FrameLowering::determineCalleeSaves(), llvm::PPCFrameLowering::determineCalleeSaves(), llvm::Thumb1FrameLowering::emitEpilogue(), llvm::ARMFrameLowering::emitEpilogue(), findTemporariesForLR(), llvm::PPCRegisterInfo::getCalleeSavedRegsViaCopy(), llvm::RegScavenger::getRegsAvailable(), llvm::ARMBaseRegisterInfo::getReservedRegs(), getStartOrEndSlot(), llvm::ScheduleDAGTopologicalSort::GetSubGraph(), INITIALIZE_PASS(), InstructionStoresToFI(), isACalleeSavedRegister(), llvm::ARMBaseRegisterInfo::isAsmClobberable(), llvm::PPCRegisterInfo::isCallerPreservedPhysReg(), isDebug(), llvm::MachineRegisterInfo::isPhysRegModified(), llvm::MachineRegisterInfo::isPhysRegUsed(), llvm::MachineRegisterInfo::isReserved(), llvm::SIRegisterInfo::isSGPRPressureSet(), llvm::SplitAnalysis::isThroughBlock(), llvm::SIRegisterInfo::isVGPRPressureSet(), llvm::WebAssemblyFunctionInfo::isVRegStackified(), llvm::AMDGPUCallLowering::lowerFormalArguments(), llvm::safestack::StackColoring::removeAllMarkers(), removeGlobalCtors(), llvm::safestack::StackColoring::run(), llvm::RegisterClassInfo::runOnMachineFunction(), scavengeStackSlot(), llvm::CriticalAntiDepBreaker::StartBlock(), llvm::AggressiveAntiDepBreaker::StartBlock(), and llvm::MachineFunctionProperties::verifyRequiredProperties().
test - Check if (This - RHS) is zero.
This is the same as reset(RHS) and any().
Definition at line 588 of file BitVector.h.
References size(), and llvm::size().