LLVM 22.0.0git
|
This class represents the internal implementation of the RecordKeeper. More...
Public Member Functions | |
RecordKeeperImpl (RecordKeeper &RK) | |
void | dumpAllocationStats (raw_ostream &OS) const |
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 55 of file Record.cpp.
|
inline |
Definition at line 56 of file Record.cpp.
References AnyRecord, SharedBitRecTy, SharedDagRecTy, SharedIntRecTy, and SharedStringRecTy.
void detail::RecordKeeperImpl::dumpAllocationStats | ( | raw_ostream & | OS | ) | const |
Definition at line 106 of file Record.cpp.
References Allocator, AnonCounter, LastRecordID, RecordTypePool, StringInitCodePool, StringInitStringPool, TheArgumentInitPool, TheBinOpInitPool, TheBitsInitPool, TheCondOpInitPool, TheDagInitPool, TheExistsOpInitPool, TheFieldInitPool, TheFoldOpInitPool, TheIntInitPool, TheIsAOpInitPool, TheListInitPool, TheTernOpInitPool, TheUnOpInitPool, TheVarBitInitPool, TheVarDefInitPool, and TheVarInitPool.
BumpPtrAllocator llvm::detail::RecordKeeperImpl::Allocator |
Definition at line 63 of file Record.cpp.
Referenced by dumpAllocationStats(), llvm::ArgumentInit::get(), llvm::BinOpInit::get(), llvm::BitsInit::get(), llvm::BitsRecTy::get(), llvm::CondOpInit::get(), llvm::DagInit::get(), llvm::ExistsOpInit::get(), llvm::FieldInit::get(), llvm::FoldOpInit::get(), llvm::InstancesOpInit::get(), llvm::IsAOpInit::get(), llvm::ListInit::get(), llvm::RecordRecTy::get(), llvm::StringInit::get(), llvm::TernOpInit::get(), llvm::UnOpInit::get(), llvm::VarBitInit::get(), llvm::VarDefInit::get(), and llvm::VarInit::get().
unsigned llvm::detail::RecordKeeperImpl::AnonCounter |
Definition at line 98 of file Record.cpp.
Referenced by dumpAllocationStats().
RecordRecTy llvm::detail::RecordKeeperImpl::AnyRecord |
Definition at line 70 of file Record.cpp.
Referenced by llvm::RecordRecTy::get(), and RecordKeeperImpl().
BitInit llvm::detail::RecordKeeperImpl::FalseBitInit |
Definition at line 73 of file Record.cpp.
Referenced by llvm::BitInit::get().
unsigned llvm::detail::RecordKeeperImpl::LastRecordID |
Definition at line 99 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::Record::getNewUID().
FoldingSet<RecordRecTy> llvm::detail::RecordKeeperImpl::RecordTypePool |
Definition at line 96 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::RecordRecTy::get().
BitRecTy llvm::detail::RecordKeeperImpl::SharedBitRecTy |
Definition at line 65 of file Record.cpp.
Referenced by RecordKeeperImpl().
std::vector<BitsRecTy *> llvm::detail::RecordKeeperImpl::SharedBitsRecTys |
Definition at line 64 of file Record.cpp.
Referenced by llvm::BitsRecTy::get().
DagRecTy llvm::detail::RecordKeeperImpl::SharedDagRecTy |
Definition at line 68 of file Record.cpp.
Referenced by RecordKeeperImpl().
IntRecTy llvm::detail::RecordKeeperImpl::SharedIntRecTy |
Definition at line 66 of file Record.cpp.
Referenced by RecordKeeperImpl().
StringRecTy llvm::detail::RecordKeeperImpl::SharedStringRecTy |
Definition at line 67 of file Record.cpp.
Referenced by RecordKeeperImpl().
StringMap<const StringInit *, BumpPtrAllocator &> llvm::detail::RecordKeeperImpl::StringInitCodePool |
Definition at line 79 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::StringInit::get().
StringMap<const StringInit *, BumpPtrAllocator &> llvm::detail::RecordKeeperImpl::StringInitStringPool |
Definition at line 78 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::StringInit::get().
FoldingSet<ArgumentInit> llvm::detail::RecordKeeperImpl::TheArgumentInitPool |
Definition at line 75 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::ArgumentInit::get().
FoldingSet<BinOpInit> llvm::detail::RecordKeeperImpl::TheBinOpInitPool |
Definition at line 82 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::BinOpInit::get().
FoldingSet<BitsInit> llvm::detail::RecordKeeperImpl::TheBitsInitPool |
Definition at line 76 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::BitsInit::get().
FoldingSet<CondOpInit> llvm::detail::RecordKeeperImpl::TheCondOpInitPool |
Definition at line 94 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::CondOpInit::get().
FoldingSet<DagInit> llvm::detail::RecordKeeperImpl::TheDagInitPool |
Definition at line 95 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::DagInit::get().
FoldingSet<ExistsOpInit> llvm::detail::RecordKeeperImpl::TheExistsOpInitPool |
Definition at line 86 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::ExistsOpInit::get().
DenseMap<std::pair<const Init *, const StringInit *>, FieldInit *> llvm::detail::RecordKeeperImpl::TheFieldInitPool |
Definition at line 93 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::FieldInit::get().
FoldingSet<FoldOpInit> llvm::detail::RecordKeeperImpl::TheFoldOpInitPool |
Definition at line 84 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::FoldOpInit::get().
FoldingSet<InstancesOpInit> llvm::detail::RecordKeeperImpl::TheInstancesOpInitPool |
Definition at line 87 of file Record.cpp.
Referenced by llvm::InstancesOpInit::get().
std::map<int64_t, IntInit *> llvm::detail::RecordKeeperImpl::TheIntInitPool |
Definition at line 77 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::IntInit::get().
FoldingSet<IsAOpInit> llvm::detail::RecordKeeperImpl::TheIsAOpInitPool |
Definition at line 85 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::IsAOpInit::get().
FoldingSet<ListInit> llvm::detail::RecordKeeperImpl::TheListInitPool |
Definition at line 80 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::ListInit::get().
FoldingSet<TernOpInit> llvm::detail::RecordKeeperImpl::TheTernOpInitPool |
Definition at line 83 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::TernOpInit::get().
FoldingSet<UnOpInit> llvm::detail::RecordKeeperImpl::TheUnOpInitPool |
Definition at line 81 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::UnOpInit::get().
UnsetInit llvm::detail::RecordKeeperImpl::TheUnsetInit |
Definition at line 71 of file Record.cpp.
DenseMap<std::pair<const TypedInit *, unsigned>, VarBitInit *> llvm::detail::RecordKeeperImpl::TheVarBitInitPool |
Definition at line 90 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::VarBitInit::get().
FoldingSet<VarDefInit> llvm::detail::RecordKeeperImpl::TheVarDefInitPool |
Definition at line 91 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::VarDefInit::get().
DenseMap<std::pair<const RecTy *, const Init *>, VarInit *> llvm::detail::RecordKeeperImpl::TheVarInitPool |
Definition at line 88 of file Record.cpp.
Referenced by dumpAllocationStats(), and llvm::VarInit::get().
BitInit llvm::detail::RecordKeeperImpl::TrueBitInit |
Definition at line 72 of file Record.cpp.
Referenced by llvm::BitInit::get().