Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/VMCore/
DLLVMContextImpl.h43 struct KeyTy { struct
46 KeyTy(const APInt& V, Type* Ty) : val(V), type(Ty) {} in KeyTy() function
47 KeyTy(const KeyTy& that) : val(that.val), type(that.type) {} in KeyTy() function
48 bool operator==(const KeyTy& that) const {
51 bool operator!=(const KeyTy& that) const {
55 static inline KeyTy getEmptyKey() { return KeyTy(APInt(1,0), 0); } in getEmptyKey()
56 static inline KeyTy getTombstoneKey() { return KeyTy(APInt(1,1), 0); } in getTombstoneKey()
57 static unsigned getHashValue(const KeyTy &Key) { in getHashValue()
61 static bool isEqual(const KeyTy &LHS, const KeyTy &RHS) { in isEqual()
67 struct KeyTy { struct
[all …]
DConstants.cpp416 DenseMapAPIntKeyInfo::KeyTy Key(V, ITy); in get()
543 DenseMapAPFloatKeyInfo::KeyTy Key(V); in get()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DBinaryHolder.h99 struct KeyTy { struct
103 KeyTy() : Filename(), Timestamp() {} in KeyTy() argument
104 KeyTy(StringRef Filename, TimestampTy Timestamp) in KeyTy() argument
117 DenseMap<KeyTy, ObjectEntry> MemberCache;
141 template <> struct DenseMapInfo<dsymutil::BinaryHolder::ArchiveEntry::KeyTy> {
143 static inline dsymutil::BinaryHolder::ArchiveEntry::KeyTy getEmptyKey() {
144 return dsymutil::BinaryHolder::ArchiveEntry::KeyTy();
147 static inline dsymutil::BinaryHolder::ArchiveEntry::KeyTy getTombstoneKey() {
148 return dsymutil::BinaryHolder::ArchiveEntry::KeyTy("/", {});
152 getHashValue(const dsymutil::BinaryHolder::ArchiveEntry::KeyTy &K) {
[all …]
DBinaryHolder.cpp155 KeyTy Key = {ObjectFilename, Timestamp}; in getObjectEntry()
/external/llvm/include/llvm/Linker/
DIRMover.h28 struct KeyTy { struct
31 KeyTy(ArrayRef<Type *> E, bool P);
32 KeyTy(const StructType *ST);
33 bool operator==(const KeyTy &that) const;
34 bool operator!=(const KeyTy &that) const;
38 static unsigned getHashValue(const KeyTy &Key);
40 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Linker/
DIRMover.h28 struct KeyTy { struct
31 KeyTy(ArrayRef<Type *> E, bool P);
32 KeyTy(const StructType *ST);
33 bool operator==(const KeyTy &that) const;
34 bool operator!=(const KeyTy &that) const;
38 static unsigned getHashValue(const KeyTy &Key);
40 static bool isEqual(const KeyTy &LHS, const StructType *RHS);
/external/llvm/lib/IR/
DLLVMContextImpl.h81 struct KeyTy { struct
84 KeyTy(const ArrayRef<Type*>& E, bool P) : in KeyTy() function
86 KeyTy(const StructType *ST) in KeyTy() function
88 bool operator==(const KeyTy& that) const {
95 bool operator!=(const KeyTy& that) const {
105 static unsigned getHashValue(const KeyTy& Key) { in getHashValue()
111 return getHashValue(KeyTy(ST)); in getHashValue()
113 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual()
116 return LHS == KeyTy(RHS); in isEqual()
124 struct KeyTy { struct
[all …]
DMetadataImpl.h24 const typename InfoT::KeyTy &Key) { in getUniqued()
DDebugInfoMetadata.cpp51 DILocationInfo::KeyTy(Line, Column, Scope, InlinedAt))) in getImpl()
167 GenericDINodeInfo::KeyTy Key(Tag, Header, DwarfOps); in getImpl()
186 setHash(GenericDINodeInfo::KeyTy::calculateHash(this)); in recalculateHash()
195 CLASS##Info::KeyTy(UNWRAP_ARGS(ARGS)))) \
DType.cpp294 FunctionTypeKeyInfo::KeyTy Key(ReturnType, Params, isVarArg); in get()
333 AnonStructTypeKeyInfo::KeyTy Key(ETypes, isPacked); in get()
DMetadata.cpp650 setHash(MDTupleInfo::KeyTy::calculateHash(this)); in recalculateHash()
780 MDTupleInfo::KeyTy Key(MDs); in getImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContextImpl.h98 struct KeyTy { struct
102 KeyTy(const ArrayRef<Type*>& E, bool P) : in KeyTy() function
105 KeyTy(const StructType *ST) in KeyTy() function
108 bool operator==(const KeyTy& that) const {
115 bool operator!=(const KeyTy& that) const {
128 static unsigned getHashValue(const KeyTy& Key) { in getHashValue()
135 return getHashValue(KeyTy(ST)); in getHashValue()
138 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { in isEqual()
141 return LHS == KeyTy(RHS); in isEqual()
150 struct KeyTy { struct
[all …]
DMetadataImpl.h24 const typename InfoT::KeyTy &Key) { in getUniqued()
DDebugInfoMetadata.cpp54 DILocationInfo::KeyTy(Line, Column, Scope, InlinedAt))) in getImpl()
198 GenericDINodeInfo::KeyTy Key(Tag, Header, DwarfOps); in getImpl()
217 setHash(GenericDINodeInfo::KeyTy::calculateHash(this)); in recalculateHash()
226 CLASS##Info::KeyTy(UNWRAP_ARGS(ARGS)))) \
DType.cpp300 FunctionTypeKeyInfo::KeyTy Key(ReturnType, Params, isVarArg); in get()
339 AnonStructTypeKeyInfo::KeyTy Key(ETypes, isPacked); in get()
DMetadata.cpp687 setHash(MDTupleInfo::KeyTy::calculateHash(this)); in recalculateHash()
817 MDTupleInfo::KeyTy Key(MDs); in getImpl()
/external/llvm/lib/Linker/
DIRMover.cpp1259 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(ArrayRef<Type *> E, bool P) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1262 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(const StructType *ST) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1265 bool IRMover::StructTypeKeyInfo::KeyTy::operator==(const KeyTy &That) const { in operator ==()
1269 bool IRMover::StructTypeKeyInfo::KeyTy::operator!=(const KeyTy &That) const { in operator !=()
1281 unsigned IRMover::StructTypeKeyInfo::getHashValue(const KeyTy &Key) { in getHashValue()
1287 return getHashValue(KeyTy(ST)); in getHashValue()
1290 bool IRMover::StructTypeKeyInfo::isEqual(const KeyTy &LHS, in isEqual()
1294 return LHS == KeyTy(RHS); in isEqual()
1301 return KeyTy(LHS) == KeyTy(RHS); in isEqual()
1325 IRMover::StructTypeKeyInfo::KeyTy Key(ETypes, IsPacked); in findNonOpaque()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DIRMover.cpp1374 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(ArrayRef<Type *> E, bool P) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1377 IRMover::StructTypeKeyInfo::KeyTy::KeyTy(const StructType *ST) in KeyTy() function in IRMover::StructTypeKeyInfo::KeyTy
1380 bool IRMover::StructTypeKeyInfo::KeyTy::operator==(const KeyTy &That) const { in operator ==()
1384 bool IRMover::StructTypeKeyInfo::KeyTy::operator!=(const KeyTy &That) const { in operator !=()
1396 unsigned IRMover::StructTypeKeyInfo::getHashValue(const KeyTy &Key) { in getHashValue()
1402 return getHashValue(KeyTy(ST)); in getHashValue()
1405 bool IRMover::StructTypeKeyInfo::isEqual(const KeyTy &LHS, in isEqual()
1409 return LHS == KeyTy(RHS); in isEqual()
1416 return KeyTy(LHS) == KeyTy(RHS); in isEqual()
1440 IRMover::StructTypeKeyInfo::KeyTy Key(ETypes, IsPacked); in findNonOpaque()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVUtil.h84 typedef Ty1 KeyTy; typedef
331 MapTy::foreach([&](typename MapTy::KeyTy K, typename MapTy::ValueTy V){ in mapBitMask()
340 MapTy::foreach([&](typename MapTy::KeyTy K, typename MapTy::ValueTy V){ in rmapBitMask()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp101 template <typename KeyTy>
103 SmallPtrSet<KeyTy, 4> > &ReverseMap, in RemoveFromReverseMap() argument
104 Instruction *Inst, KeyTy Val) { in RemoveFromReverseMap()
105 typename DenseMap<Instruction*, SmallPtrSet<KeyTy, 4> >::iterator in RemoveFromReverseMap()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp70 template <typename KeyTy>
72 RemoveFromReverseMap(DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>> &ReverseMap, in RemoveFromReverseMap() argument
73 Instruction *Inst, KeyTy Val) { in RemoveFromReverseMap()
74 typename DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>>::iterator InstIt = in RemoveFromReverseMap()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp99 template <typename KeyTy>
101 RemoveFromReverseMap(DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>> &ReverseMap, in RemoveFromReverseMap() argument
102 Instruction *Inst, KeyTy Val) { in RemoveFromReverseMap()
103 typename DenseMap<Instruction *, SmallPtrSet<KeyTy, 4>>::iterator InstIt = in RemoveFromReverseMap()