Home
last modified time | relevance | path

Searched refs:FunctionHash (Results 1 – 14 of 14) sorted by relevance

/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMappingReader.h37 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 DPseudoProbe.h108 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 DSampleProfileProbe.h82 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash()
103 uint64_t FunctionHash; variable
/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp192 // 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 DCodeGenPGO.h37 uint64_t FunctionHash; variable
48 NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
H A DCodeGenPGO.cpp1100 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 DCoverageMappingGen.h141 uint64_t FunctionHash,
/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp290 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 DSampleProf.h1004 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 DSampleProfReader.cpp180 /// 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 DCoverageMappingReader.cpp641 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded()
653 OldRecord.FunctionHash = FuncHash;
1377 Record.FunctionHash = R.FunctionHash;
H A DCoverageMapping.cpp841 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 DStandardInstrumentations.cpp1312 struct FunctionHash {
1316 using Result = FunctionHash;
1302 struct FunctionHash { global() struct
1303 HashPreservedFunctionHashAnalysis::FunctionHash global() argument
/llvm-project/llvm/unittests/ProfileData/
H A DCoverageMappingTest.cpp84 Record.FunctionHash = Hash; in fillCoverageMappingRecord()