Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPseudoProbe.h109 uint64_t FunctionHash; variable
113 : FunctionGUID(GUID), FunctionHash(Hash) {} in PseudoProbeDescriptor()
115 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash()
H A DStructuralHash.h60 stable_hash FunctionHash; member
71 : FunctionHash(FuntionHash), in FunctionHashInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMappingReader.h38 uint64_t FunctionHash; member
170 uint64_t FunctionHash; member
176 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord()
179 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleProfileProbe.h83 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash()
104 uint64_t FunctionHash; variable
/freebsd/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()
1142 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping()
1163 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping()
1214 NormalizedFuncNameVarPtr, Builder.getInt64(FunctionHash), in emitCounterSetOrIncrement()
1243 Builder.getInt64(FunctionHash), in emitMCDCParameters()
1277 Builder.getInt64(FunctionHash), in emitMCDCTestVectorBitmapUpdate()
1392 Builder.getInt64(FunctionHash), in valueProfile()
1426 auto RecordExpected = PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
H A DCoverageMappingGen.h141 uint64_t FunctionHash,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp612 uint64_t FunctionHash = 0; member in __anon0925556b0211::FuncPGOInstrumentation
644 " Hash: " + Twine(FunctionHash) + "\t" + Str); in dumpInfo()
736 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC(); in computeCFGHash()
739 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash()
741 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash()
749 << ", Hash = " << FunctionHash << "\n";); in computeCFGHash()
752 dbgs() << "Funcname=" << F.getName() << ", Hash=" << FunctionHash in computeCFGHash()
787 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction()
790 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction()
807 Twine(OrigComdat->getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp288 FunctionHash = (uint64_t)CallProbeIds.size() << 48 | in computeCFGHash()
291 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash()
292 assert(FunctionHash && "Function checksum should not be zero"); in computeCFGHash()
297 << ", Hash = " << FunctionHash << "\n"); in computeCFGHash()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStructuralHash.cpp37 << " Hash: " << format("%016" PRIx64, FuncHashInfo.FunctionHash) in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1016 if (FunctionHash == 0) {
1018 FunctionHash = Other.getFunctionHash();
1019 } else if (FunctionHash != Other.getFunctionHash()) {
1091 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; }
1093 uint64_t getFunctionHash() const { return FunctionHash; }
1235 FunctionHash == Other.FunctionHash && Context == Other.Context &&
1248 uint64_t FunctionHash = 0;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMergeFunctions.cpp160 StableFunction SF(FI.FunctionHash, get_stable_name(Func.getName()).str(), in analyze()
400 if (Maps.contains(FI.FunctionHash)) in merge()
401 HashToFuncs[FI.FunctionHash].emplace_back(&F, std::move(FI)); in merge()
/freebsd/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
234 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes); in ParseLine()
379 uint64_t FunctionHash = 0; in readImpl() local
383 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl()
428 if (FunctionHash) { in readImpl()
429 FProfile.setFunctionHash(FunctionHash); in readImpl()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp641 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded()
653 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
1377 Record.FunctionHash = R.FunctionHash; in readNextRecord()
H A DCoverageMapping.cpp843 Record.FunctionName, Record.FunctionHash, Counts)) { in loadFunctionRecord()
847 Record.FunctionHash); in loadFunctionRecord()
866 Record.FunctionName, Record.FunctionHash, Bitmap)) { in loadFunctionRecord()
870 Record.FunctionHash); in loadFunctionRecord()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DStandardInstrumentations.cpp1300 struct FunctionHash { struct
1304 using Result = FunctionHash;