Home
last modified time | relevance | path

Searched refs:KeyTy (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/IR/
DLLVMContextImpl.h48 struct KeyTy { struct
51 KeyTy(const APInt& V, Type* Ty) : val(V), type(Ty) {} in KeyTy() function
52 bool operator==(const KeyTy& that) const {
55 bool operator!=(const KeyTy& that) const {
58 friend hash_code hash_value(const KeyTy &Key) { in hash_value() argument
62 static inline KeyTy getEmptyKey() { return KeyTy(APInt(1,0), nullptr); } in getEmptyKey()
63 static inline KeyTy getTombstoneKey() { return KeyTy(APInt(1,1), nullptr); } in getTombstoneKey()
64 static unsigned getHashValue(const KeyTy &Key) { in getHashValue()
67 static bool isEqual(const KeyTy &LHS, const KeyTy &RHS) { in isEqual()
73 struct KeyTy { struct
[all …]
DType.cpp358 FunctionTypeKeyInfo::KeyTy Key(ReturnType, Params, isVarArg); in get()
402 AnonStructTypeKeyInfo::KeyTy Key(ETypes, isPacked); in get()
DConstants.cpp523 ConstantInt *&Slot = pImpl->IntConstants[DenseMapAPIntKeyInfo::KeyTy(V, ITy)]; in get()
647 ConstantFP *&Slot = pImpl->FPConstants[DenseMapAPFloatKeyInfo::KeyTy(V)]; in get()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp103 template <typename KeyTy>
105 SmallPtrSet<KeyTy, 4> > &ReverseMap, in RemoveFromReverseMap() argument
106 Instruction *Inst, KeyTy Val) { in RemoveFromReverseMap()
107 typename DenseMap<Instruction*, SmallPtrSet<KeyTy, 4> >::iterator in RemoveFromReverseMap()