/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()
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | PseudoProbe.h | 108 uint64_t FunctionHash; variable 112 : FunctionGUID(GUID), FunctionHash(Hash) {} in PseudoProbeDescriptor() 114 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash()
|
/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | SampleProfileProbe.h | 82 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash() 103 uint64_t FunctionHash; variable
|
/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 192 // Command line option to control appending FunctionHash to the name of a COMDAT 600 uint64_t FunctionHash = 0; in FuncPGOInstrumentation() 632 " Hash: " + Twine(FunctionHash) + "\t" + Str); 724 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC(); in renameComdatFunction() 727 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in renameComdatFunction() 729 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in renameComdatFunction() 737 << ", Hash = " << FunctionHash << "\n";); in renameComdatFunction() 740 dbgs() << "Funcname=" << F.getName() << ", Hash=" << FunctionHash in renameComdatFunction() 775 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in getInstrumentBBs() 778 FuncName = Twine(FuncName + "." + Twine(FunctionHash)) in getInstrumentBBs() 550 uint64_t FunctionHash = 0; global() member in __anonfed3d47e0111::FuncPGOInstrumentation [all...] |
/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.h | 37 uint64_t FunctionHash; variable 48 NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
|
H A D | CodeGenPGO.cpp | 1100 FunctionHash = Walker.Hash.finalize(); in mapRegionCounters() 1141 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 1162 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 1213 NormalizedFuncNameVarPtr, Builder.getInt64(FunctionHash), 1242 Builder.getInt64(FunctionHash), in emitMCDCTestVectorBitmapUpdate() 1276 Builder.getInt64(FunctionHash), in emitMCDCCondBitmapReset() 1388 Builder.getInt64(FunctionHash), in valueProfile() 1423 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
H A D | CoverageMappingGen.h | 141 uint64_t FunctionHash,
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfileProbe.cpp | 290 FunctionHash = (uint64_t)CallProbeIds.size() << 48 | in computeCFGHash() 293 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 294 assert(FunctionHash && "Function checksum should not be zero"); in computeCFGHash() 299 << ", Hash = " << FunctionHash << "\n"); in computeCFGHash() 444 // - FunctionHash. in instrumentOneFunc()
|
/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 1004 if (FunctionHash == 0) { 1006 FunctionHash = Other.getFunctionHash(); 1007 } else if (FunctionHash != Other.getFunctionHash()) { 1079 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; } 1081 uint64_t getFunctionHash() const { return FunctionHash; } 1223 FunctionHash == Other.FunctionHash && Context == Other.Context && 1236 uint64_t FunctionHash = 0;
|
/llvm-project/llvm/lib/ProfileData/ |
H A D | SampleProfReader.cpp | 180 /// Stores the FunctionHash (a.k.a. CFG Checksum) into \p FunctionHash. 181 static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash, in parseMetadata() argument 185 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata() 211 /// \param FunctionHash the function's CFG hash, used by pseudo probe. 218 uint64_t &FunctionHash, uint32_t &Attributes, in ParseLine() argument 234 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes); in ParseLine() 379 uint64_t FunctionHash = 0; in readImpl() 383 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl() 431 if (FunctionHash) { in readImpl() 369 uint64_t FunctionHash = 0; readImpl() local [all...] |
/llvm-project/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingReader.cpp | 641 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded() 653 OldRecord.FunctionHash = FuncHash; 1377 Record.FunctionHash = R.FunctionHash;
|
H A D | CoverageMapping.cpp | 841 Record.FunctionHash, Counts)) { in loadFunctionRecord() 845 Record.FunctionHash); in loadFunctionRecord() 859 Record.FunctionHash, Bitmap)) { in loadFunctionRecord() 863 Record.FunctionHash); in loadFunctionRecord()
|
/llvm-project/llvm/lib/Passes/ |
H A D | StandardInstrumentations.cpp | 1312 struct FunctionHash { 1316 using Result = FunctionHash; 1302 struct FunctionHash { global() struct 1303 HashPreservedFunctionHashAnalysis::FunctionHash global() argument
|
/llvm-project/llvm/unittests/ProfileData/ |
H A D | CoverageMappingTest.cpp | 84 Record.FunctionHash = Hash; in fillCoverageMappingRecord()
|