LLVM API Documentation
#include <TypesContext.h>
Public Member Functions | |
| ~TypeMapBase () | |
| void | RemoveFromTypesByHash (unsigned Hash, const Type *Ty) |
| void | TypeBecameConcrete (DerivedType *Ty, const DerivedType *TheType) |
Protected Attributes | |
| std::multimap< unsigned, PATypeHolder > | TypesByHash |
Definition at line 211 of file TypesContext.h.
| llvm::TypeMapBase::~TypeMapBase | ( | ) | [inline] |
Definition at line 220 of file TypesContext.h.
References llvm::Type::AbstractTypeUsers, llvm::Type::destroy(), E, operator delete(), Ty, Type, and TypesByHash.
Definition at line 241 of file TypesContext.h.
References TypesByHash.
Referenced by llvm::TypeMap< llvm::ArrayValType, llvm::ArrayType >::RefineAbstractType().
| void llvm::TypeMapBase::TypeBecameConcrete | ( | DerivedType * | Ty, | |
| const DerivedType * | TheType | |||
| ) | [inline] |
TypeBecameConcrete - When Ty gets a notification that TheType just became concrete, drop uses and make Ty non-abstract if we should.
Definition at line 259 of file TypesContext.h.
References E, llvm::Type::isAbstract(), llvm::Type::PromoteAbstractToConcrete(), llvm::Type::removeAbstractTypeUser(), llvm::Type::subtype_begin(), and llvm::Type::subtype_end().
std::multimap<unsigned, PATypeHolder> llvm::TypeMapBase::TypesByHash [protected] |
TypesByHash - Keep track of types by their structure hash value. Note that we only keep track of types that have cycles through themselves in this map.
Definition at line 217 of file TypesContext.h.
Referenced by llvm::TypeMap< llvm::ArrayValType, llvm::ArrayType >::add(), llvm::TypeMap< llvm::ArrayValType, llvm::ArrayType >::RefineAbstractType(), RemoveFromTypesByHash(), and ~TypeMapBase().