Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/profile/
DInstrProfilingMerge.c75 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
DInstrProfData.inc76 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
212 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
213 llvm::ConstantInt::get(llvm::Type::getInt64Ty(Ctx), FuncHash))
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingMerge.c75 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProf.h619 uint64_t FuncHash; member
623 : Level(L), BaseFilename(nullptr), TestFilename(nullptr), FuncHash(0), in Level()
630 FuncHash = Hash; in setFuncInfo()
854 static bool hasCSFlagInHash(uint64_t FuncHash) { in hasCSFlagInHash()
855 return ((FuncHash >> CS_FLAG_IN_FUNC_HASH) & 1); in hasCSFlagInHash()
857 static void setCSFlagInHash(uint64_t &FuncHash) { in setCSFlagInHash()
858 FuncHash |= ((uint64_t)1 << CS_FLAG_IN_FUNC_HASH); in setCSFlagInHash()
DInstrProfReader.h475 uint64_t FuncHash);
478 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
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, \
226 llvm::ConstantInt::get(llvm::Type::getInt64Ty(Ctx), FuncHash))
/external/llvm-project/llvm/include/llvm/ProfileData/
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()
DInstrProfReader.h493 uint64_t FuncHash);
496 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
224 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
226 llvm::Type::getInt64Ty(Ctx), FuncHash))
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp364 Record.Hash = swap(Data->FuncHash); in readFuncHash()
679 uint64_t FuncHash) { in getInstrProfRecord() argument
687 if (Data[I].Hash == FuncHash) { in getInstrProfRecord()
695 uint64_t FuncHash, in getFunctionCounts() argument
697 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp408 Record.Hash = swap(Data->FuncHash); in readFuncHash()
873 uint64_t FuncHash) { in getInstrProfRecord() argument
881 if (Data[I].Hash == FuncHash) { in getInstrProfRecord()
889 uint64_t FuncHash, in getFunctionCounts() argument
891 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
/external/llvm-project/llvm/lib/ProfileData/
DInstrProfReader.cpp415 Record.Hash = swap(Data->FuncHash); in readFuncHash()
880 uint64_t FuncHash) { in getInstrProfRecord() argument
888 if (Data[I].Hash == FuncHash) { in getInstrProfRecord()
896 uint64_t FuncHash, in getFunctionCounts() argument
898 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp394 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() local
402 Records.emplace_back(Version, FuncName, FuncHash, Mapping, FilenamesBegin, in insertFunctionRecordIfNeeded()
417 isCoverageMappingDummy(FuncHash, Mapping); in insertFunctionRecordIfNeeded()
422 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.h86 uint64_t FuncHash; member
DCoverageMappingGen.cpp1432 const uint64_t FuncHash = Info.FuncHash; in emitFunctionMappingRecord() local
1466 llvm::GlobalVariable *NamePtr, StringRef NameValue, uint64_t FuncHash, in addFunctionMappingRecord() argument
1470 FunctionRecords.push_back({NameHash, FuncHash, CoverageMapping, IsUsed}); in addFunctionMappingRecord()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h395 uint64_t FuncHash);
398 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
DInstrProfData.inc76 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
212 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
213 llvm::ConstantInt::get(llvm::Type::getInt64Ty(Ctx), FuncHash))
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp427 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() local
437 Records.emplace_back(Version, FuncName, FuncHash, Mapping, FilenamesBegin, in insertFunctionRecordIfNeeded()
452 isCoverageMappingDummy(FuncHash, Mapping); in insertFunctionRecordIfNeeded()
457 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp519 uint64_t FuncHash = CFR->template getFuncHash<Endian>(); in insertFunctionRecordIfNeeded() local
530 Records.emplace_back(Version, FuncName, FuncHash, Mapping, in insertFunctionRecordIfNeeded()
545 isCoverageMappingDummy(FuncHash, Mapping); in insertFunctionRecordIfNeeded()
551 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h509 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
537 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h698 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
729 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp742 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() local
744 if (Name.endswith((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix))) in getVarName()
746 return (Prefix + Name + "." + Twine(FuncHash)).str(); in getVarName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp683 uint64_t FuncHash = Inc->getHash()->getZExtValue(); in getVarName() local
685 if (Name.endswith((Twine(".") + Twine(FuncHash)).toStringRef(HashPostfix))) in getVarName()
687 return (Prefix + Name + "." + Twine(FuncHash)).str(); in getVarName()
DPGOInstrumentation.cpp315 uint64_t FuncHash = 0; member
335 FuncHash = FHash; in instrumentSelects()
1357 Builder.getInt64(FuncHash), Builder.getInt32(TotalNumCtrs), in instrumentOneSelectInst()
/external/llvm-project/compiler-rt/include/profile/
DInstrProfData.inc75 INSTR_PROF_DATA(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
224 COVMAP_FUNC_RECORD(const uint64_t, llvm::Type::getInt64Ty(Ctx), FuncHash, \
226 llvm::Type::getInt64Ty(Ctx), FuncHash))

12