Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c80 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProf.h664 uint64_t FuncHash; member
668 : Level(L), BaseFilename(nullptr), TestFilename(nullptr), FuncHash(0), in Level()
675 FuncHash = Hash; in setFuncInfo()
923 static bool hasCSFlagInHash(uint64_t FuncHash) { in hasCSFlagInHash()
924 return ((FuncHash >> CS_FLAG_IN_FUNC_HASH) & 1); in hasCSFlagInHash()
926 static void setCSFlagInHash(uint64_t &FuncHash) { in setCSFlagInHash()
927 FuncHash |= ((uint64_t)1 << CS_FLAG_IN_FUNC_HASH); in setCSFlagInHash()
H A DInstrProfReader.h671 getInstrProfRecord(StringRef FuncName, uint64_t FuncHash,
679 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))
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCPseudoProbe.h84 uint64_t FuncHash = 0; member
88 : FuncGUID(GUID), FuncHash(Hash), FuncName(Name){}; in MCPseudoProbeFuncDesc()
/openbsd/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp551 Record.Hash = swap(Data->FuncHash); in readFuncHash()
1098 StringRef FuncName, uint64_t FuncHash, uint64_t *MismatchedFuncSum) { in getInstrProfRecord() argument
1124 if (I.Hash == FuncHash) in getInstrProfRecord()
1127 NamedInstrProfRecord::hasCSFlagInHash(FuncHash)) { in getInstrProfRecord()
1180 uint64_t FuncHash, in getFunctionCounts() argument
1182 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
H A DInstrProf.cpp1277 << " Function: " << FuncName << " (Hash=" << FuncHash << ")\n"; in dump()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCoverageMappingGen.h100 uint64_t FuncHash; member
H A DCoverageMappingGen.cpp1628 const uint64_t FuncHash = Info.FuncHash; in emitFunctionMappingRecord() local
1662 llvm::GlobalVariable *NamePtr, StringRef NameValue, uint64_t FuncHash, in addFunctionMappingRecord() argument
1666 FunctionRecords.push_back({NameHash, FuncHash, CoverageMapping, IsUsed}); in addFunctionMappingRecord()
/openbsd/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp610 FunctionProfile->setFunctionHash(FuncDesc->FuncHash); in getLeafProfileAndAddTotalSamples()
630 FunctionProfile->setFunctionHash(FuncDesc->FuncHash); in getLeafProfileAndAddTotalSamples()
1179 CallerProfile.setFunctionHash(InlinerDesc->FuncHash); in populateBodySamplesWithProbes()
1260 ContextNode->getFunctionSamples()->setFunctionHash(FuncDesc->FuncHash); in getContextNodeForLeafProbe()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp762 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() local
764 if (Name.endswith((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix))) in getVarName()
766 return (Prefix + Name + "." + Twine(FuncHash)).str(); in getVarName()
H A DPGOInstrumentation.cpp416 uint64_t FuncHash = 0; member
436 FuncHash = FHash; in instrumentSelects()
1750 Builder.getInt64(FuncHash), Builder.getInt32(TotalNumCtrs), in instrumentOneSelectInst()
/openbsd/gnu/llvm/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))
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCPseudoProbe.cpp266 OS << "Hash: " << FuncHash << "\n"; in print()
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h786 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()