Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/lib/IR/
DLLVMContextImpl.h45 struct KeyTy { struct
48 KeyTy(const APInt& V, Type* Ty) : val(V), type(Ty) {} in KeyTy() function
49 bool operator==(const KeyTy& that) const {
52 bool operator!=(const KeyTy& that) const {
55 friend hash_code hash_value(const KeyTy &Key) { in hash_value() argument
59 static inline KeyTy getEmptyKey() { return KeyTy(APInt(1,0), 0); } in getEmptyKey()
60 static inline KeyTy getTombstoneKey() { return KeyTy(APInt(1,1), 0); } in getTombstoneKey()
61 static unsigned getHashValue(const KeyTy &Key) { in getHashValue()
64 static bool isEqual(const KeyTy &LHS, const KeyTy &RHS) { in isEqual()
70 struct KeyTy { struct
[all …]
DType.cpp364 FunctionTypeKeyInfo::KeyTy Key(ReturnType, Params, isVarArg); in get()
408 AnonStructTypeKeyInfo::KeyTy Key(ETypes, isPacked); in get()
DConstants.cpp487 ConstantInt *&Slot = pImpl->IntConstants[DenseMapAPIntKeyInfo::KeyTy(V, ITy)]; in get()
613 ConstantFP *&Slot = pImpl->FPConstants[DenseMapAPFloatKeyInfo::KeyTy(V)]; in get()
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp99 template <typename KeyTy>
101 SmallPtrSet<KeyTy, 4> > &ReverseMap, in RemoveFromReverseMap() argument
102 Instruction *Inst, KeyTy Val) { in RemoveFromReverseMap()
103 typename DenseMap<Instruction*, SmallPtrSet<KeyTy, 4> >::iterator in RemoveFromReverseMap()