Home
last modified time | relevance | path

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

/src/contrib/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()
/src/contrib/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()
/src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfileProbe.h82 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash()
103 uint64_t FunctionHash; variable
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp550 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 DCodeGenPGO.h37 uint64_t FunctionHash; variable
48 NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
H A DCodeGenPGO.cpp1101 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 DCoverageMappingGen.h140 uint64_t FunctionHash,
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp291 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 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;
/src/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp181 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 DCoverageMappingReader.cpp634 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded()
646 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
1310 Record.FunctionHash = R.FunctionHash; in readNextRecord()
H A DCoverageMapping.cpp815 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 DStandardInstrumentations.cpp1303 struct FunctionHash { struct
1307 using Result = FunctionHash;