Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c77 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h625 uint64_t FuncHash; member
629 : Level(L), BaseFilename(nullptr), TestFilename(nullptr), FuncHash(0), in Level()
636 FuncHash = Hash; in setFuncInfo()
860 static bool hasCSFlagInHash(uint64_t FuncHash) { in hasCSFlagInHash()
861 return ((FuncHash >> CS_FLAG_IN_FUNC_HASH) & 1); in hasCSFlagInHash()
863 static void setCSFlagInHash(uint64_t &FuncHash) { in setCSFlagInHash()
864 FuncHash |= ((uint64_t)1 << CS_FLAG_IN_FUNC_HASH); in setCSFlagInHash()
H A DInstrProfReader.h511 uint64_t FuncHash);
514 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
H A DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
225 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
227 llvm::Type::getInt64Ty(Ctx), FuncHash))
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp421 Record.Hash = swap(Data->FuncHash); in readFuncHash()
913 uint64_t FuncHash) { in getInstrProfRecord() argument
921 if (Data[I].Hash == FuncHash) { in getInstrProfRecord()
929 uint64_t FuncHash, in getFunctionCounts() argument
931 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
H A DInstrProf.cpp1232 << " Function: " << FuncName << " (Hash=" << FuncHash << ")\n"; in dump()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h86 uint64_t FuncHash; member
H A DCoverageMappingGen.cpp1607 const uint64_t FuncHash = Info.FuncHash; in emitFunctionMappingRecord() local
1641 llvm::GlobalVariable *NamePtr, StringRef NameValue, uint64_t FuncHash, in addFunctionMappingRecord() argument
1645 FunctionRecords.push_back({NameHash, FuncHash, CoverageMapping, IsUsed}); in addFunctionMappingRecord()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp561 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() local
572 Records.emplace_back(Version, FuncName, FuncHash, Mapping, in insertFunctionRecordIfNeeded()
587 isCoverageMappingDummy(FuncHash, Mapping); in insertFunctionRecordIfNeeded()
593 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp758 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() local
760 if (Name.endswith((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix))) in getVarName()
762 return (Prefix + Name + "." + Twine(FuncHash)).str(); in getVarName()
H A DPGOInstrumentation.cpp353 uint64_t FuncHash = 0; member
373 FuncHash = FHash; in instrumentSelects()
1501 Builder.getInt64(FuncHash), Builder.getInt32(TotalNumCtrs), in instrumentOneSelectInst()
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
225 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
227 llvm::Type::getInt64Ty(Ctx), FuncHash))
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h775 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()