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

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

Collaboration diagram for llvm::lowertypetests::BitSetInfo:
Collaboration graph
[legend]

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 125 of file LowerTypeTests.cpp.

References AlignLog2, Bits, BitSize, ByteOffset, and 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 139 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: