| /src/contrib/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()
|
| /src/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()
|
| /src/contrib/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
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 550 uint64_t FunctionHash = 0; member in __anon9c3168200111::FuncPGOInstrumentation 582 " Hash: " + Twine(FunctionHash) + "\t" + Str); in dumpInfo() 673 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC(); in computeCFGHash() 676 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 678 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash() 686 << ", Hash = " << FunctionHash << "\n";); in computeCFGHash() 689 dbgs() << "Funcname=" << F.getName() << ", Hash=" << FunctionHash in computeCFGHash() 724 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 727 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 744 Twine(OrigComdat->getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() [all …]
|
| /src/contrib/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 | 1101 FunctionHash = Walker.Hash.finalize(); in mapRegionCounters() 1143 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 1165 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 1199 Builder.getInt64(FunctionHash), in emitCounterSetOrIncrement() 1231 Builder.getInt64(FunctionHash), in emitMCDCParameters() 1265 Builder.getInt64(FunctionHash), in emitMCDCTestVectorBitmapUpdate() 1377 Builder.getInt64(FunctionHash), in valueProfile() 1412 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
| H A D | CoverageMappingGen.h | 140 uint64_t FunctionHash,
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 291 FunctionHash = (uint64_t)CallProbeIds.size() << 48 | in computeCFGHash() 294 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 295 assert(FunctionHash && "Function checksum should not be zero"); in computeCFGHash() 300 << ", Hash = " << FunctionHash << "\n"); in computeCFGHash()
|
| /src/contrib/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;
|
| /src/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() 420 if (FunctionHash) { in readImpl() 421 FProfile.setFunctionHash(FunctionHash); in readImpl()
|
| /src/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 634 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded() 646 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded() 1310 Record.FunctionHash = R.FunctionHash; in readNextRecord()
|
| H A D | CoverageMapping.cpp | 815 Record.FunctionHash, Counts)) { in loadFunctionRecord() 819 Record.FunctionHash); in loadFunctionRecord() 833 Record.FunctionHash, Bitmap)) { in loadFunctionRecord() 837 Record.FunctionHash); in loadFunctionRecord()
|
| /src/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 1303 struct FunctionHash { struct 1307 using Result = FunctionHash;
|