LLVM API Documentation

llvm::TypeMapBase Class Reference

Inheritance diagram for llvm::TypeMapBase:

Inheritance graph
[legend]
Collaboration diagram for llvm::TypeMapBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void RemoveFromTypesByHash (unsigned Hash, const Type *Ty)
void TypeBecameConcrete (DerivedType *Ty, const DerivedType *TheType)

Protected Attributes

std::multimap< unsigned, PATypeHolderTypesByHash

Detailed Description

Definition at line 728 of file Type.cpp.


Member Function Documentation

void llvm::TypeMapBase::RemoveFromTypesByHash ( unsigned  Hash,
const Type Ty 
) [inline]

Definition at line 737 of file Type.cpp.

References I, and Ty.

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 755 of file Type.cpp.

References E, I, llvm::Type::isAbstract(), llvm::Type::PromoteAbstractToConcrete(), llvm::Type::removeAbstractTypeUser(), llvm::Type::subtype_begin(), llvm::Type::subtype_end(), and Ty.


Member Data Documentation

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 734 of file Type.cpp.


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