Home
last modified time | relevance | path

Searched refs:ComputeHash (Results 1 – 25 of 25) sorted by relevance

/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp537 StringRef R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func1")); in TEST_F()
539 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func2")); in TEST_F()
541 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func3")); in TEST_F()
543 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar1")); in TEST_F()
545 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar2")); in TEST_F()
547 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("bar3")); in TEST_F()
558 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_1")); in TEST_F()
560 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_2")); in TEST_F()
562 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("blah_3")); in TEST_F()
564 R = Symtab.getFuncName(IndexedInstrProf::ComputeHash("func1")); in TEST_F()
[all …]
/external/llvm/include/llvm/ADT/
DFoldingSet.h229 static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
252 static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID,
277 unsigned ComputeHash() const;
329 unsigned ComputeHash() const;
367 DefaultFoldingSetTrait<T>::ComputeHash(T &X, FoldingSetNodeID &TempID) { in ComputeHash() function
369 return TempID.ComputeHash(); in ComputeHash()
383 DefaultContextualFoldingSetTrait<T, Ctx>::ComputeHash(T &X, in ComputeHash() function
387 return TempID.ComputeHash(); in ComputeHash()
418 return FoldingSetTrait<T>::ComputeHash(*TN, TempID); in ComputeNodeHash()
499 return ContextualFoldingSetTrait<T, Ctx>::ComputeHash(*TN, TempID, Context); in ComputeNodeHash()
DImmutableSet.h306 digest += ID.ComputeHash(); in computeDigest()
/external/llvm/unittests/ADT/
DFoldingSet.cpp35 EXPECT_EQ(a.ComputeHash(), b.ComputeHash()); in TEST()
/external/clang/lib/Serialization/
DASTReaderInternals.h89 static hash_value_type ComputeHash(const internal_key_type &Key) { in ComputeHash() function
148 static hash_value_type ComputeHash(const internal_key_type& a);
225 static hash_value_type ComputeHash(Selector Sel);
275 static hash_value_type ComputeHash(internal_key_ref ikey);
DASTCommon.h69 unsigned ComputeHash(Selector Sel);
DASTCommon.cpp195 unsigned serialization::ComputeHash(Selector Sel) { in ComputeHash() function in serialization
DGlobalModuleIndex.cpp83 static hash_value_type ComputeHash(const internal_key_type& a) { in ComputeHash() function in __anon8f1b20180311::IdentifierIndexReaderTrait
660 static hash_value_type ComputeHash(key_type_ref Key) { in ComputeHash() function in __anon8f1b20180711::IdentifierIndexWriterTrait
DMultiOnDiskHashTable.h222 auto KeyHash = Info::ComputeHash(Key); in find()
DASTWriter.cpp1667 hash_value_type ComputeHash(key_type_ref key) { in ComputeHash() function in __anon84a3a1ce0411::HeaderFileInfoTrait
2863 static hash_value_type ComputeHash(Selector Sel) { in ComputeHash() function in __anon84a3a1ce0611::ASTMethodPoolTrait
2864 return serialization::ComputeHash(Sel); in ComputeHash()
3149 static hash_value_type ComputeHash(const IdentifierInfo* II) { in ComputeHash() function in __anon84a3a1ce0711::ASTIdentifierTableTrait
3390 hash_value_type ComputeHash(DeclarationNameKey Name) { in ComputeHash() function in __anon84a3a1ce0811::ASTDeclContextNameLookupTrait
DASTReader.cpp661 unsigned ASTSelectorLookupTrait::ComputeHash(Selector Sel) { in ComputeHash() function in ASTSelectorLookupTrait
662 return serialization::ComputeHash(Sel); in ComputeHash()
730 unsigned ASTIdentifierLookupTraitBase::ComputeHash(const internal_key_type& a) { in ComputeHash() function in ASTIdentifierLookupTraitBase
899 ID.AddInteger(serialization::ComputeHash(Selector(Data))); in getHash()
911 return ID.ComputeHash(); in getHash()
1510 unsigned HeaderFileInfoTrait::ComputeHash(internal_key_ref ikey) { in ComputeHash() function in HeaderFileInfoTrait
1692 : Name(Name), NameHash(ASTIdentifierLookupTrait::ComputeHash(Name)), in IdentifierLookupVisitor()
/external/llvm/include/llvm/ProfileData/
DInstrProf.h207 uint64_t ComputeHash(StringRef K);
250 IndexedInstrProf::ComputeHash(FuncName), FuncName.str())); in addFuncName()
277 std::make_pair(IndexedInstrProf::ComputeHash(Name), Name.str())); in create()
504 inline uint64_t ComputeHash(HashT Type, StringRef K) { in ComputeHash() function
516 inline uint64_t ComputeHash(StringRef K) { return ComputeHash(HashType, K); } in ComputeHash() function
DInstrProfReader.h259 hash_value_type ComputeHash(StringRef K);
/external/llvm/lib/Support/
DFoldingSet.cpp30 unsigned FoldingSetNodeIDRef::ComputeHash() const { in ComputeHash() function in FoldingSetNodeIDRef
146 unsigned FoldingSetNodeID::ComputeHash() const { in ComputeHash() function in FoldingSetNodeID
147 return FoldingSetNodeIDRef(Bits.data(), Bits.size()).ComputeHash(); in ComputeHash()
307 unsigned IDHash = ID.ComputeHash(); in FindNodeOrInsertPos()
/external/llvm/lib/ProfileData/
DInstrProfWriter.cpp37 static hash_value_type ComputeHash(key_type_ref K) { in ComputeHash() function in __anon74a55a700111::InstrProfRecordTrait
38 return IndexedInstrProf::ComputeHash(K); in ComputeHash()
DInstrProfReader.cpp163 Value = IndexedInstrProf::ComputeHash(VD.first); in readValueProfileData()
289 Symtab.mapAddress(FPtr, IndexedInstrProf::ComputeHash(FunctionName)); in createSymtab()
440 InstrProfLookupTrait::ComputeHash(StringRef K) { in ComputeHash() function in InstrProfLookupTrait
441 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
/external/llvm/include/llvm/Support/
DOnDiskHashTable.h71 : Key(Key), Data(Data), Next(nullptr), Hash(InfoObj.ComputeHash(Key)) {} in Item()
135 unsigned Hash = InfoObj.ComputeHash(Key); in contains()
329 hash_value_type KeyHash = InfoObj.ComputeHash(IKey);
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h151 static unsigned ComputeHash(const SCEV &X, FoldingSetNodeID &TempID) {
152 return X.FastID.ComputeHash();
234 static unsigned ComputeHash(const SCEVPredicate &X,
236 return X.FastID.ComputeHash();
/external/clang/lib/Lex/
DPTHLexer.cpp325 static hash_value_type ComputeHash(internal_key_type x) { in ComputeHash() function in __anon44bc0e400111::PTHFileLookupCommonTrait
383 static hash_value_type ComputeHash(const internal_key_type& a) { in ComputeHash() function in PTHManager::PTHStringLookupTrait
/external/clang/lib/Frontend/
DCacheTokens.cpp124 static hash_value_type ComputeHash(PTHEntryKeyVariant V) { in ComputeHash() function in __anon67da98f30111::FileEntryPTHEntryInfo
621 static hash_value_type ComputeHash(PTHIdKey* key) { in ComputeHash() function in __anon67da98f30611::PTHIdentifierTableTrait
/external/clang/include/clang/Analysis/
DProgramPoint.h163 return ID.ComputeHash(); in getHashValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h58 HashValue = ID.ComputeHash();
78 static unsigned ComputeHash(const SDVTListNode &X, FoldingSetNodeID &TempID) {
/external/clang/tools/libclang/
DIndexing.cpp137 return ID.ComputeHash();
/external/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp474 return ID.ComputeHash(); in node_hash()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp2065 return ID.ComputeHash(); in getHashValue()