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)
 

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< StringInit *, BumpPtrAllocator & > StringInitStringPool
 
StringMap< StringInit *, BumpPtrAllocator & > StringInitCodePool
 
FoldingSet< ListInitTheListInitPool
 
FoldingSet< UnOpInitTheUnOpInitPool
 
FoldingSet< BinOpInitTheBinOpInitPool
 
FoldingSet< TernOpInitTheTernOpInitPool
 
FoldingSet< FoldOpInitTheFoldOpInitPool
 
FoldingSet< IsAOpInitTheIsAOpInitPool
 
FoldingSet< ExistsOpInitTheExistsOpInitPool
 
DenseMap< std::pair< RecTy *, Init * >, VarInit * > TheVarInitPool
 
DenseMap< std::pair< TypedInit *, unsigned >, VarBitInit * > TheVarBitInitPool
 
FoldingSet< VarDefInitTheVarDefInitPool
 
DenseMap< std::pair< Init *, 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 53 of file Record.cpp.

Constructor & Destructor Documentation

◆ RecordKeeperImpl()

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

Definition at line 54 of file Record.cpp.

Member Data Documentation

◆ Allocator

BumpPtrAllocator llvm::detail::RecordKeeperImpl::Allocator

◆ AnonCounter

unsigned llvm::detail::RecordKeeperImpl::AnonCounter

Definition at line 93 of file Record.cpp.

◆ AnyRecord

RecordRecTy llvm::detail::RecordKeeperImpl::AnyRecord

Definition at line 68 of file Record.cpp.

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

◆ FalseBitInit

BitInit llvm::detail::RecordKeeperImpl::FalseBitInit

Definition at line 71 of file Record.cpp.

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

◆ LastRecordID

unsigned llvm::detail::RecordKeeperImpl::LastRecordID

Definition at line 94 of file Record.cpp.

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

◆ RecordTypePool

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

Definition at line 91 of file Record.cpp.

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

◆ SharedBitRecTy

BitRecTy llvm::detail::RecordKeeperImpl::SharedBitRecTy

Definition at line 63 of file Record.cpp.

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

◆ SharedBitsRecTys

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

Definition at line 62 of file Record.cpp.

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

◆ SharedDagRecTy

DagRecTy llvm::detail::RecordKeeperImpl::SharedDagRecTy

Definition at line 66 of file Record.cpp.

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

◆ SharedIntRecTy

IntRecTy llvm::detail::RecordKeeperImpl::SharedIntRecTy

Definition at line 64 of file Record.cpp.

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

◆ SharedStringRecTy

StringRecTy llvm::detail::RecordKeeperImpl::SharedStringRecTy

Definition at line 65 of file Record.cpp.

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

◆ StringInitCodePool

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

Definition at line 77 of file Record.cpp.

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

◆ StringInitStringPool

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

Definition at line 76 of file Record.cpp.

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

◆ TheArgumentInitPool

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

Definition at line 73 of file Record.cpp.

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

◆ TheBinOpInitPool

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

Definition at line 80 of file Record.cpp.

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

◆ TheBitsInitPool

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

Definition at line 74 of file Record.cpp.

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

◆ TheCondOpInitPool

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

Definition at line 89 of file Record.cpp.

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

◆ TheDagInitPool

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

Definition at line 90 of file Record.cpp.

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

◆ TheExistsOpInitPool

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

Definition at line 84 of file Record.cpp.

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

◆ TheFieldInitPool

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

Definition at line 88 of file Record.cpp.

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

◆ TheFoldOpInitPool

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

Definition at line 82 of file Record.cpp.

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

◆ TheIntInitPool

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

Definition at line 75 of file Record.cpp.

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

◆ TheIsAOpInitPool

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

Definition at line 83 of file Record.cpp.

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

◆ TheListInitPool

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

Definition at line 78 of file Record.cpp.

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

◆ TheTernOpInitPool

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

Definition at line 81 of file Record.cpp.

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

◆ TheUnOpInitPool

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

Definition at line 79 of file Record.cpp.

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

◆ TheUnsetInit

UnsetInit llvm::detail::RecordKeeperImpl::TheUnsetInit

Definition at line 69 of file Record.cpp.

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

◆ TheVarBitInitPool

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

Definition at line 86 of file Record.cpp.

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

◆ TheVarDefInitPool

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

Definition at line 87 of file Record.cpp.

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

◆ TheVarInitPool

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

Definition at line 85 of file Record.cpp.

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

◆ TrueBitInit

BitInit llvm::detail::RecordKeeperImpl::TrueBitInit

Definition at line 70 of file Record.cpp.

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


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