LLVM 22.0.0git
llvm::lowertypetests::BitSetInfo Struct Reference

#include "llvm/Transforms/IPO/LowerTypeTests.h"

Public Member Functions

bool isSingleOffset () const
bool isAllOnes () const
LLVM_ABI bool containsGlobalOffset (uint64_t Offset) const
LLVM_ABI void print (raw_ostream &OS) const

Public Attributes

std::set< uint64_tBits
uint64_t ByteOffset
uint64_t BitSize
unsigned AlignLog2

Detailed Description

Definition at line 34 of file LowerTypeTests.h.

Member Function Documentation

◆ containsGlobalOffset()

bool BitSetInfo::containsGlobalOffset ( uint64_t Offset) const

Definition at line 135 of file LowerTypeTests.cpp.

References AlignLog2, Bits, BitSize, ByteOffset, and llvm::Offset.

◆ isAllOnes()

bool llvm::lowertypetests::BitSetInfo::isAllOnes ( ) const
inline

Definition at line 53 of file LowerTypeTests.h.

References Bits, and BitSize.

Referenced by print().

◆ isSingleOffset()

bool llvm::lowertypetests::BitSetInfo::isSingleOffset ( ) const
inline

Definition at line 49 of file LowerTypeTests.h.

References Bits.

◆ print()

void BitSetInfo::print ( raw_ostream & OS) const

Definition at line 149 of file LowerTypeTests.cpp.

References AlignLog2, B(), Bits, BitSize, ByteOffset, and isAllOnes().

Member Data Documentation

◆ AlignLog2

unsigned llvm::lowertypetests::BitSetInfo::AlignLog2

◆ Bits

std::set<uint64_t> llvm::lowertypetests::BitSetInfo::Bits

◆ BitSize

uint64_t llvm::lowertypetests::BitSetInfo::BitSize

◆ ByteOffset

uint64_t llvm::lowertypetests::BitSetInfo::ByteOffset

The documentation for this struct was generated from the following files: