LLVM  6.0.0svn
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_t > Bits
 
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 117 of file LowerTypeTests.cpp.

References AlignLog2, Bits, BitSize, and ByteOffset.

Referenced by isAllOnes().

◆ isAllOnes()

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

Definition at line 52 of file LowerTypeTests.h.

References BitSize, containsGlobalOffset(), and print().

Referenced by isKnownTypeIdMember(), and print().

◆ isSingleOffset()

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

Definition at line 48 of file LowerTypeTests.h.

◆ print()

void BitSetInfo::print ( raw_ostream OS) const

Definition at line 131 of file LowerTypeTests.cpp.

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

Referenced by isAllOnes(), and isKnownTypeIdMember().

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: