LLVM API Documentation
Public Types | |
typedef std::map< ValType, PATypeHolder >::iterator | iterator |
Public Member Functions | |
~TypeMap () | |
TypeClass * | get (const ValType &V) |
void | add (const ValType &V, TypeClass *Ty) |
void | RemoveFromTypesByHash (unsigned Hash, const Type *Ty) |
void | finishRefinement (TypeClass *Ty, const DerivedType *OldType, const Type *NewType) |
void | print (const char *Arg) const |
void | dump () const |
Friends | |
void | Type::clearAllTypeMaps () |
Definition at line 654 of file Type.cpp.
|
|
|
Definition at line 675 of file Type.cpp. References print(). |
|
Definition at line 682 of file Type.cpp. References print(). Referenced by llvm::PointerType::get(), llvm::StructType::get(), llvm::PackedType::get(), llvm::ArrayType::get(), and llvm::FunctionType::get(). |
|
Definition at line 816 of file Type.cpp. References print(). |
|
finishRefinement - This method is called after we have updated an existing type with its new components. We must now either merge the type away with some other type or reinstall it in the map with it's new configuration. The specified iterator tells us what the type USED to look like. Definition at line 704 of file Type.cpp. References E, I, llvm::Type::isAbstract(), llvm::tie(), TypeHasCycleThroughItself(), TypesEqual(), and V. Referenced by llvm::PointerType::refineAbstractType(), llvm::StructType::refineAbstractType(), llvm::PackedType::refineAbstractType(), llvm::ArrayType::refineAbstractType(), and llvm::FunctionType::refineAbstractType(). |
|
Definition at line 677 of file Type.cpp. References I. Referenced by llvm::PointerType::get(), llvm::StructType::get(), llvm::PackedType::get(), llvm::ArrayType::get(), and llvm::FunctionType::get(). |
|
|
|
Definition at line 690 of file Type.cpp. References I. |
|
|