| /freebsd-13.1/contrib/llvm-project/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
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | FunctionComparator.h | 104 using FunctionHash = uint64_t; variable 105 static FunctionHash functionHash(Function &);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 583 uint64_t FunctionHash = 0; member in __anona0b2eb9f0211::FuncPGOInstrumentation 605 Twine(FunctionHash) + "\t" + Str); in dumpInfo() 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() 925 FuncInfo.FunctionHash); in instrumentOneFunc() 968 Builder.getInt64(FuncInfo.FunctionHash), ToProfile, in instrumentOneFunc() 1094 uint64_t getFuncHash() const { return FuncInfo.FunctionHash; } in getFuncHash() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 717 if (FunctionHash == 0) { 719 FunctionHash = Other.getFunctionHash(); 720 } else if (FunctionHash != Other.getFunctionHash()) { 791 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; } 793 uint64_t getFunctionHash() const { return FunctionHash; } 920 uint64_t FunctionHash = 0;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | SampleProfReader.cpp | 104 static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash, in parseMetadata() argument 108 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata() 141 uint64_t &FunctionHash, uint32_t &Attributes) { in ParseLine() argument 149 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes); in ParseLine() 293 uint64_t FunctionHash = 0; in readImpl() local 296 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl() 341 if (FunctionHash) { in readImpl() 342 FProfile.setFunctionHash(FunctionHash); in readImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 581 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded() 593 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded() 1169 Record.FunctionHash = R.FunctionHash; in readNextRecord()
|
| H A D | CoverageMapping.cpp | 247 Record.FunctionHash, Counts)) { in loadFunctionRecord() 251 Record.FunctionHash); in loadFunctionRecord()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 948 FunctionComparator::FunctionHash FunctionComparator::functionHash(Function &F) { in functionHash()
|