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

This class represents the internal implementation of the RecordKeeper. More...

Public Member Functions

 RecordKeeperImpl (RecordKeeper &RK)
 
void dumpAllocationStats (raw_ostream &OS) const
 

Public Attributes

BumpPtrAllocator Allocator
 
std::vector< BitsRecTy * > SharedBitsRecTys
 
BitRecTy SharedBitRecTy
 
IntRecTy SharedIntRecTy
 
StringRecTy SharedStringRecTy
 
DagRecTy SharedDagRecTy
 
RecordRecTy AnyRecord
 
UnsetInit TheUnsetInit
 
BitInit TrueBitInit
 
BitInit FalseBitInit
 
FoldingSet< ArgumentInitTheArgumentInitPool
 
FoldingSet< BitsInitTheBitsInitPool
 
std::map< int64_t, IntInit * > TheIntInitPool
 
StringMap< const StringInit *, BumpPtrAllocator & > StringInitStringPool
 
StringMap< const StringInit *, BumpPtrAllocator & > StringInitCodePool
 
FoldingSet< ListInitTheListInitPool
 
FoldingSet< UnOpInitTheUnOpInitPool
 
FoldingSet< BinOpInitTheBinOpInitPool
 
FoldingSet< TernOpInitTheTernOpInitPool
 
FoldingSet< FoldOpInitTheFoldOpInitPool
 
FoldingSet< IsAOpInitTheIsAOpInitPool
 
FoldingSet< ExistsOpInitTheExistsOpInitPool
 
DenseMap< std::pair< const RecTy *, const Init * >, VarInit * > TheVarInitPool
 
DenseMap< std::pair< const TypedInit *, unsigned >, VarBitInit * > TheVarBitInitPool
 
FoldingSet< VarDefInitTheVarDefInitPool
 
DenseMap< std::pair< const Init *, const StringInit * >, FieldInit * > TheFieldInitPool
 
FoldingSet< CondOpInitTheCondOpInitPool
 
FoldingSet< DagInitTheDagInitPool
 
FoldingSet< RecordRecTyRecordTypePool
 
unsigned AnonCounter
 
unsigned LastRecordID
 

Detailed Description

This class represents the internal implementation of the RecordKeeper.

It contains all of the contextual static state of the Record classes. It is kept out-of-line to simplify dependencies, and also make it easier for internal classes to access the uniquer state of the keeper.

Definition at line 54 of file Record.cpp.

Constructor & Destructor Documentation

◆ RecordKeeperImpl()

llvm::detail::RecordKeeperImpl::RecordKeeperImpl ( RecordKeeper RK)
inline

Definition at line 55 of file Record.cpp.

Member Function Documentation

◆ dumpAllocationStats()

void detail::RecordKeeperImpl::dumpAllocationStats ( raw_ostream OS) const

Definition at line 104 of file Record.cpp.

References Allocator, and OS.

Member Data Documentation

◆ Allocator

BumpPtrAllocator llvm::detail::RecordKeeperImpl::Allocator

◆ AnonCounter

unsigned llvm::detail::RecordKeeperImpl::AnonCounter

Definition at line 96 of file Record.cpp.

◆ AnyRecord

RecordRecTy llvm::detail::RecordKeeperImpl::AnyRecord

Definition at line 69 of file Record.cpp.

Referenced by llvm::RecordRecTy::get().

◆ FalseBitInit

BitInit llvm::detail::RecordKeeperImpl::FalseBitInit

Definition at line 72 of file Record.cpp.

Referenced by llvm::BitInit::get().

◆ LastRecordID

unsigned llvm::detail::RecordKeeperImpl::LastRecordID

Definition at line 97 of file Record.cpp.

Referenced by llvm::Record::getNewUID().

◆ RecordTypePool

FoldingSet<RecordRecTy> llvm::detail::RecordKeeperImpl::RecordTypePool

Definition at line 94 of file Record.cpp.

Referenced by llvm::RecordRecTy::get().

◆ SharedBitRecTy

BitRecTy llvm::detail::RecordKeeperImpl::SharedBitRecTy

Definition at line 64 of file Record.cpp.

Referenced by llvm::BitRecTy::get().

◆ SharedBitsRecTys

std::vector<BitsRecTy *> llvm::detail::RecordKeeperImpl::SharedBitsRecTys

Definition at line 63 of file Record.cpp.

Referenced by llvm::BitsRecTy::get().

◆ SharedDagRecTy

DagRecTy llvm::detail::RecordKeeperImpl::SharedDagRecTy

Definition at line 67 of file Record.cpp.

Referenced by llvm::DagRecTy::get().

◆ SharedIntRecTy

IntRecTy llvm::detail::RecordKeeperImpl::SharedIntRecTy

Definition at line 65 of file Record.cpp.

Referenced by llvm::IntRecTy::get().

◆ SharedStringRecTy

StringRecTy llvm::detail::RecordKeeperImpl::SharedStringRecTy

Definition at line 66 of file Record.cpp.

Referenced by llvm::StringRecTy::get().

◆ StringInitCodePool

StringMap<const StringInit *, BumpPtrAllocator &> llvm::detail::RecordKeeperImpl::StringInitCodePool

Definition at line 78 of file Record.cpp.

Referenced by llvm::StringInit::get().

◆ StringInitStringPool

StringMap<const StringInit *, BumpPtrAllocator &> llvm::detail::RecordKeeperImpl::StringInitStringPool

Definition at line 77 of file Record.cpp.

Referenced by llvm::StringInit::get().

◆ TheArgumentInitPool

FoldingSet<ArgumentInit> llvm::detail::RecordKeeperImpl::TheArgumentInitPool

Definition at line 74 of file Record.cpp.

Referenced by llvm::ArgumentInit::get().

◆ TheBinOpInitPool

FoldingSet<BinOpInit> llvm::detail::RecordKeeperImpl::TheBinOpInitPool

Definition at line 81 of file Record.cpp.

Referenced by llvm::BinOpInit::get().

◆ TheBitsInitPool

FoldingSet<BitsInit> llvm::detail::RecordKeeperImpl::TheBitsInitPool

Definition at line 75 of file Record.cpp.

Referenced by llvm::BitsInit::get().

◆ TheCondOpInitPool

FoldingSet<CondOpInit> llvm::detail::RecordKeeperImpl::TheCondOpInitPool

Definition at line 92 of file Record.cpp.

Referenced by llvm::CondOpInit::get().

◆ TheDagInitPool

FoldingSet<DagInit> llvm::detail::RecordKeeperImpl::TheDagInitPool

Definition at line 93 of file Record.cpp.

Referenced by llvm::DagInit::get().

◆ TheExistsOpInitPool

FoldingSet<ExistsOpInit> llvm::detail::RecordKeeperImpl::TheExistsOpInitPool

Definition at line 85 of file Record.cpp.

Referenced by llvm::ExistsOpInit::get().

◆ TheFieldInitPool

DenseMap<std::pair<const Init *, const StringInit *>, FieldInit *> llvm::detail::RecordKeeperImpl::TheFieldInitPool

Definition at line 91 of file Record.cpp.

Referenced by llvm::FieldInit::get().

◆ TheFoldOpInitPool

FoldingSet<FoldOpInit> llvm::detail::RecordKeeperImpl::TheFoldOpInitPool

Definition at line 83 of file Record.cpp.

Referenced by llvm::FoldOpInit::get().

◆ TheIntInitPool

std::map<int64_t, IntInit *> llvm::detail::RecordKeeperImpl::TheIntInitPool

Definition at line 76 of file Record.cpp.

Referenced by llvm::IntInit::get().

◆ TheIsAOpInitPool

FoldingSet<IsAOpInit> llvm::detail::RecordKeeperImpl::TheIsAOpInitPool

Definition at line 84 of file Record.cpp.

Referenced by llvm::IsAOpInit::get().

◆ TheListInitPool

FoldingSet<ListInit> llvm::detail::RecordKeeperImpl::TheListInitPool

Definition at line 79 of file Record.cpp.

Referenced by llvm::ListInit::get().

◆ TheTernOpInitPool

FoldingSet<TernOpInit> llvm::detail::RecordKeeperImpl::TheTernOpInitPool

Definition at line 82 of file Record.cpp.

Referenced by llvm::TernOpInit::get().

◆ TheUnOpInitPool

FoldingSet<UnOpInit> llvm::detail::RecordKeeperImpl::TheUnOpInitPool

Definition at line 80 of file Record.cpp.

Referenced by llvm::UnOpInit::get().

◆ TheUnsetInit

UnsetInit llvm::detail::RecordKeeperImpl::TheUnsetInit

Definition at line 70 of file Record.cpp.

Referenced by llvm::UnsetInit::get().

◆ TheVarBitInitPool

DenseMap<std::pair<const TypedInit *, unsigned>, VarBitInit *> llvm::detail::RecordKeeperImpl::TheVarBitInitPool

Definition at line 88 of file Record.cpp.

Referenced by llvm::VarBitInit::get().

◆ TheVarDefInitPool

FoldingSet<VarDefInit> llvm::detail::RecordKeeperImpl::TheVarDefInitPool

Definition at line 89 of file Record.cpp.

Referenced by llvm::VarDefInit::get().

◆ TheVarInitPool

DenseMap<std::pair<const RecTy *, const Init *>, VarInit *> llvm::detail::RecordKeeperImpl::TheVarInitPool

Definition at line 86 of file Record.cpp.

Referenced by llvm::VarInit::get().

◆ TrueBitInit

BitInit llvm::detail::RecordKeeperImpl::TrueBitInit

Definition at line 71 of file Record.cpp.

Referenced by llvm::BitInit::get().


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