| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
| H A D | SampleProfileProbe.h | 46 uint64_t FunctionHash; variable 50 : FunctionGUID(GUID), FunctionHash(Hash) {} in PseudoProbeDescriptor() 52 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash() 107 uint64_t getFunctionHash() const { return FunctionHash; } in getFunctionHash() 121 uint64_t FunctionHash; variable
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.h | 36 uint64_t FunctionHash; variable 46 NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
|
| H A D | CodeGenPGO.cpp | 864 FunctionHash = Walker.Hash.finalize(); in mapRegionCounters() 905 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 927 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 964 Builder.getInt64(FunctionHash), in emitCounterIncrement() 1002 Builder.getInt64(FunctionHash), in valueProfile() 1037 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
| H A D | CoverageMappingGen.h | 132 uint64_t FunctionHash,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | FunctionComparator.h | 104 using FunctionHash = uint64_t; variable 105 static FunctionHash functionHash(Function &);
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 532 uint64_t FunctionHash = 0; member in __anon0345afe20211::FuncPGOInstrumentation 554 Twine(FunctionHash) + "\t" + Str); in dumpInfo() 626 FunctionHash = (uint64_t)SIVisitor.getNumOfSelectInsts() << 56 | in computeCFGHash() 644 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC(); in computeCFGHash() 648 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 650 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash() 660 LLVM_DEBUG(dbgs() << ", Hash = " << FunctionHash << "\n";); in computeCFGHash() 663 dbgs() << "Funcname=" << F.getName() << ", Hash=" << FunctionHash in computeCFGHash() 698 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 701 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 243 FunctionHash = (uint64_t)CallProbeIds.size() << 48 | in computeCFGHash() 246 FunctionHash &= 0x0FFFFFFFFFFFFFFF; in computeCFGHash() 247 assert(FunctionHash && "Function checksum should not be zero"); in computeCFGHash() 252 << ", Hash = " << FunctionHash << "\n"); in computeCFGHash()
|
| H A D | MergeFunctions.cpp | 176 FunctionComparator::FunctionHash Hash; 184 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash() 421 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>> in runOnModule()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 953 if (FunctionHash == 0) { 955 FunctionHash = Other.getFunctionHash(); 956 } else if (FunctionHash != Other.getFunctionHash()) { 1022 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; } 1024 uint64_t getFunctionHash() const { return FunctionHash; } 1154 uint64_t FunctionHash = 0;
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
| H A D | SampleProfReader.cpp | 180 static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash, in parseMetadata() argument 184 return !CFGInfo.getAsInteger(10, FunctionHash); in parseMetadata() 217 uint64_t &FunctionHash, uint32_t &Attributes) { in ParseLine() argument 225 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes); in ParseLine() 369 uint64_t FunctionHash = 0; in readImpl() local 372 Discriminator, FName, TargetCountMap, FunctionHash, in readImpl() 418 if (FunctionHash) { in readImpl() 419 FProfile.setFunctionHash(FunctionHash); in readImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 583 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded() 595 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded() 1180 Record.FunctionHash = R.FunctionHash; in readNextRecord()
|
| H A D | CoverageMapping.cpp | 248 Record.FunctionHash, Counts)) { in loadFunctionRecord() 252 Record.FunctionHash); in loadFunctionRecord()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 963 FunctionComparator::FunctionHash FunctionComparator::functionHash(Function &F) { in functionHash()
|