Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h627 uint64_t FuncHash; member
631 : Level(L), BaseFilename(nullptr), TestFilename(nullptr), FuncHash(0), in Level()
638 FuncHash = Hash; in setFuncInfo()
896 static bool hasCSFlagInHash(uint64_t FuncHash) { in hasCSFlagInHash()
897 return ((FuncHash >> CS_FLAG_IN_FUNC_HASH) & 1); in hasCSFlagInHash()
899 static void setCSFlagInHash(uint64_t &FuncHash) { in setCSFlagInHash()
900 FuncHash |= ((uint64_t)1 << CS_FLAG_IN_FUNC_HASH); in setCSFlagInHash()
H A DInstrProfReader.h727 getInstrProfRecord(StringRef FuncName, uint64_t FuncHash,
736 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
740 Error getFunctionBitmapBytes(StringRef FuncName, uint64_t FuncHash,
H A DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
233 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
235 llvm::Type::getInt64Ty(Ctx), FuncHash))
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c92 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp643 Record.Hash = swap(Data->FuncHash); in readFuncHash()
1333 StringRef FuncName, uint64_t FuncHash, StringRef DeprecatedFuncName, in getInstrProfRecord() argument
1372 if (I.Hash == FuncHash) in getInstrProfRecord()
1375 NamedInstrProfRecord::hasCSFlagInHash(FuncHash)) { in getInstrProfRecord()
1428 uint64_t FuncHash, in getFunctionCounts() argument
1430 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
1439 StringRef FuncName, uint64_t FuncHash, std::vector<uint8_t> &BitmapBytes) { in getFunctionBitmapBytes() argument
1440 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionBitmapBytes()
H A DInstrProfCorrelator.cpp469 this->addDataProbe(I->NameRef, I->FuncHash, CounterOffset, in correlateProfileDataImpl()
H A DInstrProf.cpp1427 << " Function: " << FuncName << " (Hash=" << FuncHash << ")\n"; in dump()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCPseudoProbe.h87 uint64_t FuncHash = 0; member
91 : FuncGUID(GUID), FuncHash(Hash), FuncName(Name){}; in MCPseudoProbeFuncDesc()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h100 uint64_t FuncHash; member
H A DCoverageMappingGen.cpp2202 const uint64_t FuncHash = Info.FuncHash; in emitFunctionMappingRecord() local
2236 llvm::GlobalVariable *NamePtr, StringRef NameValue, uint64_t FuncHash, in addFunctionMappingRecord() argument
2239 FunctionRecords.push_back({NameHash, FuncHash, CoverageMapping, IsUsed}); in addFunctionMappingRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp605 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() local
617 Records.emplace_back(Version, FuncName, FuncHash, Mapping, in insertFunctionRecordIfNeeded()
632 isCoverageMappingDummy(FuncHash, Mapping); in insertFunctionRecordIfNeeded()
638 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1061 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() local
1063 if (Name.ends_with((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix))) in getVarName()
1065 return (Prefix + Name + "." + Twine(FuncHash)).str(); in getVarName()
H A DPGOInstrumentation.cpp420 uint64_t FuncHash = 0; member
442 FuncHash = FHash; in instrumentSelects()
1637 {FuncNameVar, Builder.getInt64(FuncHash), Builder.getInt32(TotalNumCtrs), in instrumentOneSelectInst()
/freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
233 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
235 llvm::Type::getInt64Ty(Ctx), FuncHash))
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCPseudoProbe.cpp284 OS << "Hash: " << FuncHash << "\n"; in print()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h1049 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()