| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PseudoProbe.h | 83 uint64_t FunctionHash; variable 87 : FunctionGUID(GUID), FunctionHash(Hash) {} in PseudoProbeDescriptor() 89 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | SampleProfileProbe.h | 81 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash() 95 uint64_t FunctionHash; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 528 uint64_t FunctionHash = 0; member in __anon638843e10111::FuncPGOInstrumentation 649 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC(); in computeCFGHash() 652 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 654 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash() 662 << ", Hash = " << FunctionHash << "\n";); in computeCFGHash() 665 dbgs() << "Funcname=" << F.getName() << ", Hash=" << FunctionHash in computeCFGHash() 700 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 703 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 864 FuncInfo.FunctionHash); in instrumentOneFunc() 909 FuncInfo.FunctionHash); in instrumentOneFunc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.h | 37 uint64_t FunctionHash; variable 49 NumRegionCounters(0), MCDCBitmapBytes(0), FunctionHash(0),
|
| H A D | CodeGenPGO.cpp | 1008 FunctionHash = Walker.Hash.finalize(); in mapRegionCounters() 1051 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 1073 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 1107 Builder.getInt64(FunctionHash), in emitCounterIncrement() 1134 Builder.getInt64(FunctionHash), in emitMCDCParameters() 1162 Builder.getInt64(FunctionHash), in emitMCDCTestVectorBitmapUpdate() 1213 Builder.getInt64(FunctionHash), in emitMCDCCondBitmapUpdate() 1247 Builder.getInt64(FunctionHash), in valueProfile() 1282 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
| H A D | CoverageMappingGen.h | 131 uint64_t FunctionHash,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 198 FunctionHash = (uint64_t)CallProbeIds.size() << 48 | in computeCFGHash() 201 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 202 assert(FunctionHash && "Function checksum should not be zero"); in computeCFGHash() 207 << ", Hash = " << FunctionHash << "\n"); in computeCFGHash()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 1002 if (FunctionHash == 0) { 1004 FunctionHash = Other.getFunctionHash(); 1005 } else if (FunctionHash != Other.getFunctionHash()) { 1074 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; } 1076 uint64_t getFunctionHash() const { return FunctionHash; } 1216 FunctionHash == Other.FunctionHash && Context == Other.Context && 1229 uint64_t FunctionHash = 0;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | SampleProfReader.cpp | 181 static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash, in parseMetadata() argument 185 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata() 218 uint64_t &FunctionHash, uint32_t &Attributes) { in ParseLine() argument 226 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes); in ParseLine() 369 uint64_t FunctionHash = 0; in readImpl() local 372 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl() 419 if (FunctionHash) { in readImpl() 420 FProfile.setFunctionHash(FunctionHash); in readImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 626 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded() 638 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded() 1299 Record.FunctionHash = R.FunctionHash; in readNextRecord()
|
| H A D | CoverageMapping.cpp | 758 Record.FunctionHash, Counts)) { in loadFunctionRecord() 762 Record.FunctionHash); in loadFunctionRecord() 773 Record.FunctionName, Record.FunctionHash, BitmapBytes)) { in loadFunctionRecord() 777 Record.FunctionHash); in loadFunctionRecord()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 1229 struct FunctionHash { struct 1233 using Result = FunctionHash;
|