LLVM
10.0.0svn
|
#include "llvm/IR/InlineAsm.h"
Public Types | |
using | ValType = typename ConstantInfo< ConstantClass >::ValType |
using | TypeClass = typename ConstantInfo< ConstantClass >::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. More... | |
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. More... | |
void | remove (ConstantClass *CP) |
Remove this constant from the map. More... | |
ConstantClass * | replaceOperandsInPlace (ArrayRef< Constant *> Operands, ConstantClass *CP, Value *From, Constant *To, unsigned NumUpdated=0, unsigned OperandNo=~0u) |
void | dump () const |
Definition at line 28 of file InlineAsm.h.
using llvm::ConstantUniqueMap< ConstantClass >::LookupKey = std::pair<TypeClass *, ValType> |
Definition at line 574 of file ConstantsContext.h.
using llvm::ConstantUniqueMap< ConstantClass >::LookupKeyHashed = std::pair<unsigned, LookupKey> |
Key and hash together, so that we compute the hash only once and reuse it.
Definition at line 577 of file ConstantsContext.h.
using llvm::ConstantUniqueMap< ConstantClass >::MapTy = DenseSet<ConstantClass *, MapInfo> |
Definition at line 622 of file ConstantsContext.h.
using llvm::ConstantUniqueMap< ConstantClass >::TypeClass = typename ConstantInfo<ConstantClass>::TypeClass |
Definition at line 573 of file ConstantsContext.h.
using llvm::ConstantUniqueMap< ConstantClass >::ValType = typename ConstantInfo<ConstantClass>::ValType |
Definition at line 572 of file ConstantsContext.h.
|
inline |
Definition at line 628 of file ConstantsContext.h.
Referenced by llvm::LLVMContextImpl::dropTriviallyDeadConstantArrays().
|
inline |
Definition at line 701 of file ConstantsContext.h.
|
inline |
Definition at line 629 of file ConstantsContext.h.
Referenced by llvm::LLVMContextImpl::dropTriviallyDeadConstantArrays().
|
inline |
Definition at line 631 of file ConstantsContext.h.
|
inline |
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 648 of file ConstantsContext.h.
Referenced by llvm::ConstantArray::get(), llvm::ConstantStruct::get(), and llvm::ConstantVector::get().
|
inline |
Remove this constant from the map.
Definition at line 666 of file ConstantsContext.h.
Referenced by llvm::ConstantAggregateZero::get().
|
inline |
Hash once, and reuse it for the lookup and the insertion if needed.
Definition at line 673 of file ConstantsContext.h.
Referenced by llvm::Constant::handleOperandChange().