LLVM: llvm::ConstantUniqueMap< ConstantClass > Class Template Reference (original) (raw)

#include "[IR/ConstantsContext.h](ConstantsContext%5F8h%5Fsource.html)"

Public Types
using ValType = typename ConstantInfo::ValType
using TypeClass = typename ConstantInfo::TypeClass
using LookupKey = std::pair<TypeClass *, ValType>
using LookupKeyHashed = std::pair<unsigned, LookupKey>
Key and hash together, so that we compute the hash only once and reuse it.
using MapTy = DenseSet<ConstantClass *, MapInfo>
Public Member Functions
MapTy::iterator begin ()
MapTy::iterator end ()
void freeConstants ()
ConstantClass * getOrCreate (TypeClass *Ty, ValType V)
Return the specified constant from the map, creating it if necessary.
void remove (ConstantClass *CP)
Remove this constant from the map.
ConstantClass * replaceOperandsInPlace (ArrayRef< Constant * > Operands, ConstantClass *CP, Value *From, Constant *To, unsigned NumUpdated=0, unsigned OperandNo=~0u)
void dump () const
void freeConstants ()

template
class llvm::ConstantUniqueMap< ConstantClass >

Definition at line 551 of file ConstantsContext.h.

LookupKey

template

LookupKeyHashed

template

Key and hash together, so that we compute the hash only once and reuse it.

Definition at line 558 of file ConstantsContext.h.

MapTy

template

TypeClass

template

ValType

template

begin()

template

dump()

template

end()

template

freeConstants() [1/2]

template

freeConstants() [2/2]

getOrCreate()

template

Return the specified constant from the map, creating it if necessary.

Hash once, and reuse it for the lookup and the insertion if needed.

Definition at line 629 of file ConstantsContext.h.

remove()

template

replaceOperandsInPlace()

template

Hash once, and reuse it for the lookup and the insertion if needed.

Definition at line 654 of file ConstantsContext.h.


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