Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c80 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProf.h659 uint64_t FuncHash; member
663 : Level(L), BaseFilename(nullptr), TestFilename(nullptr), FuncHash(0), in Level()
670 FuncHash = Hash; in setFuncInfo()
894 static bool hasCSFlagInHash(uint64_t FuncHash) { in hasCSFlagInHash()
895 return ((FuncHash >> CS_FLAG_IN_FUNC_HASH) & 1); in hasCSFlagInHash()
897 static void setCSFlagInHash(uint64_t &FuncHash) { in setCSFlagInHash()
898 FuncHash |= ((uint64_t)1 << CS_FLAG_IN_FUNC_HASH); in setCSFlagInHash()
H A DInstrProfReader.h628 getInstrProfRecord(StringRef FuncName, uint64_t FuncHash,
636 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
H A DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
226 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
228 llvm::Type::getInt64Ty(Ctx), FuncHash))
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfReader.cpp466 Record.Hash = swap(Data->FuncHash); in readFuncHash()
1030 StringRef FuncName, uint64_t FuncHash, uint64_t *MismatchedFuncSum) { in getInstrProfRecord() argument
1057 if (I.Hash == FuncHash) in getInstrProfRecord()
1060 NamedInstrProfRecord::hasCSFlagInHash(FuncHash)) { in getInstrProfRecord()
1113 uint64_t FuncHash, in getFunctionCounts() argument
1115 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
H A DInstrProf.cpp1249 << " Function: " << FuncName << " (Hash=" << FuncHash << ")\n"; in dump()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCPseudoProbe.h77 uint64_t FuncHash = 0; member
81 : FuncGUID(GUID), FuncHash(Hash), FuncName(Name){}; in MCPseudoProbeFuncDesc()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.h100 uint64_t FuncHash; member
H A DCoverageMappingGen.cpp1625 const uint64_t FuncHash = Info.FuncHash; in emitFunctionMappingRecord() local
1659 llvm::GlobalVariable *NamePtr, StringRef NameValue, uint64_t FuncHash, in addFunctionMappingRecord() argument
1663 FunctionRecords.push_back({NameHash, FuncHash, CoverageMapping, IsUsed}); in addFunctionMappingRecord()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp605 FunctionProfile->setFunctionHash(FuncDesc->FuncHash); in getLeafProfileAndAddTotalSamples()
625 FunctionProfile->setFunctionHash(FuncDesc->FuncHash); in getLeafProfileAndAddTotalSamples()
1166 CallerProfile.setFunctionHash(InlinerDesc->FuncHash); in populateBodySamplesWithProbes()
1232 ContextNode->getFunctionSamples()->setFunctionHash(FuncDesc->FuncHash); in getContextNodeForLeafProbe()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp562 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() local
574 Records.emplace_back(Version, FuncName, FuncHash, Mapping, in insertFunctionRecordIfNeeded()
589 isCoverageMappingDummy(FuncHash, Mapping); in insertFunctionRecordIfNeeded()
595 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp755 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() local
757 if (Name.endswith((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix))) in getVarName()
759 return (Prefix + Name + "." + Twine(FuncHash)).str(); in getVarName()
H A DPGOInstrumentation.cpp393 uint64_t FuncHash = 0; member
413 FuncHash = FHash; in instrumentSelects()
1455 Builder.getInt64(FuncHash), Builder.getInt32(TotalNumCtrs), in instrumentOneSelectInst()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCPseudoProbe.cpp223 OS << "Hash: " << FuncHash << "\n"; in print()
/llvm-project-15.0.7/compiler-rt/include/profile/
H A DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
226 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
228 llvm::Type::getInt64Ty(Ctx), FuncHash))
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h774 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()