Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c92 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h760 uint64_t FuncHash = 0; member
769 FuncHash = Hash; in setFuncInfo()
1001 static bool hasCSFlagInHash(uint64_t FuncHash) { in hasCSFlagInHash()
1002 return ((FuncHash >> CS_FLAG_IN_FUNC_HASH) & 1); in hasCSFlagInHash()
1004 static void setCSFlagInHash(uint64_t &FuncHash) { in setCSFlagInHash()
1005 FuncHash |= ((uint64_t)1 << CS_FLAG_IN_FUNC_HASH); in setCSFlagInHash()
H A DInstrProfReader.h766 getInstrProfRecord(StringRef FuncName, uint64_t FuncHash,
777 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
781 Error getFunctionBitmap(StringRef FuncName, uint64_t FuncHash,
H A DInstrProfData.inc77 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
269 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
271 llvm::Type::getInt64Ty(Ctx), FuncHash))
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCPseudoProbe.h88 uint64_t FuncHash = 0; member
92 : FuncGUID(GUID), FuncHash(Hash), FuncName(Name){}; in MCPseudoProbeFuncDesc()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp682 Record.Hash = swap(Data->FuncHash); in readFuncHash()
1483 StringRef FuncName, uint64_t FuncHash, StringRef DeprecatedFuncName, in getInstrProfRecord() argument
1522 if (I.Hash == FuncHash) in getInstrProfRecord()
1525 NamedInstrProfRecord::hasCSFlagInHash(FuncHash)) { in getInstrProfRecord()
1642 uint64_t FuncHash, in getFunctionCounts() argument
1644 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
1653 uint64_t FuncHash, in getFunctionBitmap() argument
1655 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionBitmap()
H A DInstrProfCorrelator.cpp467 this->addDataProbe(I->NameRef, I->FuncHash, CounterOffset, in correlateProfileDataImpl()
H A DInstrProf.cpp1562 << " Function: " << FuncName << " (Hash=" << FuncHash << ")\n"; in dump()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h109 uint64_t FuncHash; member
H A DCoverageMappingGen.cpp2458 const uint64_t FuncHash = Info.FuncHash; in emitFunctionMappingRecord() local
2492 llvm::GlobalVariable *NamePtr, StringRef NameValue, uint64_t FuncHash, in addFunctionMappingRecord() argument
2495 FunctionRecords.push_back({NameHash, FuncHash, CoverageMapping, IsUsed}); in addFunctionMappingRecord()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp613 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() local
625 Records.emplace_back(Version, FuncName, FuncHash, Mapping, in insertFunctionRecordIfNeeded()
640 isCoverageMappingDummy(FuncHash, Mapping); in insertFunctionRecordIfNeeded()
646 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc77 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
269 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
271 llvm::Type::getInt64Ty(Ctx), FuncHash))
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1317 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() local
1319 if (Name.ends_with((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix))) in getVarName()
1321 return (Prefix + Name + "." + Twine(FuncHash)).str(); in getVarName()
H A DPGOInstrumentation.cpp442 uint64_t FuncHash = 0; member
464 FuncHash = FHash; in instrumentSelects()
1697 {FuncNameVar, Builder.getInt64(FuncHash), Builder.getInt32(TotalNumCtrs), in instrumentOneSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCPseudoProbe.cpp279 OS << "Hash: " << FuncHash << "\n"; in print()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h1142 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()