/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/ |
H A D | SampleProfileProbe.h | 46 uint64_t FunctionHash; variable 50 : FunctionGUID(GUID), FunctionHash(Hash) {} in PseudoProbeDescriptor() 52 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash() 107 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash() 121 uint64_t FunctionHash; variable
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/ |
H A D | CoverageMappingReader.h | 37 uint64_t FunctionHash; member 169 uint64_t FunctionHash; member 175 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord() 178 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenPGO.h | 35 uint64_t FunctionHash; variable 45 NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
|
H A D | CodeGenPGO.cpp | 853 FunctionHash = Walker.Hash.finalize(); in mapRegionCounters() 894 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 916 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 953 Builder.getInt64(FunctionHash), in emitCounterIncrement() 991 Builder.getInt64(FunctionHash), in valueProfile() 1026 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
H A D | CoverageMappingGen.h | 118 uint64_t FunctionHash,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 583 uint64_t FunctionHash = 0; member in __anon333165960211::FuncPGOInstrumentation 605 Twine(FunctionHash) + "\t" + Str); in dumpInfo() 677 FunctionHash = (uint64_t)SIVisitor.getNumOfSelectInsts() << 56 | in computeCFGHash() 695 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC(); in computeCFGHash() 699 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 701 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash() 711 LLVM_DEBUG(dbgs() << ", Hash = " << FunctionHash << "\n";); in computeCFGHash() 745 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 748 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 765 Twine(OrigComdat->getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | FunctionComparator.h | 104 using FunctionHash = uint64_t; variable 105 static FunctionHash functionHash(Function &);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | SampleProfileProbe.cpp | 244 FunctionHash = (uint64_t)CallProbeIds.size() << 48 | in computeCFGHash() 247 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 248 assert(FunctionHash && "Function checksum should not be zero"); in computeCFGHash() 253 << ", Hash = " << FunctionHash << "\n"); in computeCFGHash()
|
H A D | MergeFunctions.cpp | 178 FunctionComparator::FunctionHash Hash; 186 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash() 415 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>> in runOnModule()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 710 if (FunctionHash == 0) { 712 FunctionHash = Other.getFunctionHash(); 713 } else if (FunctionHash != Other.getFunctionHash()) { 784 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; } 786 uint64_t getFunctionHash() const { return FunctionHash; } 914 uint64_t FunctionHash = 0;
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/ |
H A D | SampleProfReader.cpp | 94 static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash, in parseMetadata() argument 98 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata() 131 uint64_t &FunctionHash, uint32_t &Attributes) { in ParseLine() argument 139 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes); in ParseLine() 282 uint64_t FunctionHash = 0; in readImpl() local 285 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl() 326 if (FunctionHash) { in readImpl() 327 FProfile.setFunctionHash(FunctionHash); in readImpl()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingReader.cpp | 581 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded() 593 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded() 1139 Record.FunctionHash = R.FunctionHash; in readNextRecord()
|
H A D | CoverageMapping.cpp | 247 Record.FunctionHash, Counts)) { in loadFunctionRecord() 251 Record.FunctionHash); in loadFunctionRecord()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | FunctionComparator.cpp | 948 FunctionComparator::FunctionHash FunctionComparator::functionHash(Function &F) { in functionHash()
|