LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::lowertypetests::BitSetInfo Struct Reference

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

Public Member Functions

bool isSingleOffset () const
 
bool isAllOnes () const
 
bool containsGlobalOffset (uint64_t Offset) const
 
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 33 of file LowerTypeTests.h.

Member Function Documentation

◆ containsGlobalOffset()

bool BitSetInfo::containsGlobalOffset ( uint64_t  Offset) const

Definition at line 126 of file LowerTypeTests.cpp.

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

◆ isAllOnes()

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

Definition at line 52 of file LowerTypeTests.h.

References Bits, and BitSize.

Referenced by print().

◆ isSingleOffset()

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

Definition at line 48 of file LowerTypeTests.h.

References Bits.

◆ print()

void BitSetInfo::print ( raw_ostream OS) const

Definition at line 140 of file LowerTypeTests.cpp.

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

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: