LLVM API Documentation
#include <ConstantsContext.h>
Public Types | |
typedef ArrayRef< Constant * > | Operands |
typedef std::pair< TypeClass *, Operands > | LookupKey |
typedef DenseMap < ConstantClass *, char, MapInfo > | MapTy |
Public Member Functions | |
MapTy::iterator | map_begin () |
MapTy::iterator | map_end () |
void | freeConstants () |
ConstantClass * | getOrCreate (TypeClass *Ty, Operands V) |
MapTy::iterator | find (LookupKey Lookup) |
Find the constant by lookup key. More... | |
void | insert (ConstantClass *CP) |
Insert the constant into its proper slot. More... | |
void | remove (ConstantClass *CP) |
Remove this constant from the map. More... | |
void | dump () const |
Definition at line 651 of file ConstantsContext.h.
typedef std::pair<TypeClass*, Operands> llvm::ConstantAggrUniqueMap< TypeClass, ConstantClass >::LookupKey |
Definition at line 654 of file ConstantsContext.h.
typedef DenseMap<ConstantClass *, char, MapInfo> llvm::ConstantAggrUniqueMap< TypeClass, ConstantClass >::MapTy |
Definition at line 694 of file ConstantsContext.h.
typedef ArrayRef<Constant*> llvm::ConstantAggrUniqueMap< TypeClass, ConstantClass >::Operands |
Definition at line 653 of file ConstantsContext.h.
|
inline |
Definition at line 767 of file ConstantsContext.h.
|
inline |
Find the constant by lookup key.
Definition at line 750 of file ConstantsContext.h.
Referenced by llvm::ConstantStruct::replaceUsesOfWithOnConstant().
|
inline |
Definition at line 706 of file ConstantsContext.h.
Referenced by llvm::LLVMContextImpl::~LLVMContextImpl().
|
inline |
getOrCreate - Return the specified constant from the map, creating it if necessary.
Definition at line 732 of file ConstantsContext.h.
Referenced by llvm::ConstantArray::get(), and llvm::ConstantStruct::get().
|
inline |
Insert the constant into its proper slot.
Definition at line 755 of file ConstantsContext.h.
Referenced by llvm::ConstantStruct::replaceUsesOfWithOnConstant().
|
inline |
Definition at line 703 of file ConstantsContext.h.
Referenced by llvm::LLVMContextImpl::~LLVMContextImpl().
|
inline |
Definition at line 704 of file ConstantsContext.h.
Referenced by llvm::ConstantStruct::replaceUsesOfWithOnConstant(), and llvm::LLVMContextImpl::~LLVMContextImpl().
|
inline |
Remove this constant from the map.
Definition at line 760 of file ConstantsContext.h.
Referenced by llvm::ConstantArray::destroyConstant(), llvm::ConstantStruct::destroyConstant(), llvm::ConstantVector::destroyConstant(), and llvm::ConstantStruct::replaceUsesOfWithOnConstant().