Home
last modified time | relevance | path

Searched refs:FunctionHash (Results 1 – 17 of 17) sorted by relevance

/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h36 uint64_t FunctionHash; member
155 uint64_t FunctionHash; member
161 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord()
164 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h38 uint64_t FunctionHash; member
179 uint64_t FunctionHash; member
185 uint64_t FunctionHash, StringRef CoverageMapping, in ProfileMappingRecord()
188 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping), in ProfileMappingRecord()
/external/clang/lib/CodeGen/
DCodeGenPGO.h39 uint64_t FunctionHash; variable
52 FunctionHash(0), CurrentRegionCount(0), SkipCoverageMapping(false) {}
DCodeGenPGO.cpp659 FunctionHash = Walker.Hash.finalize(); in mapRegionCounters()
688 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping()
710 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping()
746 Builder.getInt64(FunctionHash), in emitCounterIncrement()
771 Builder.getInt64(FunctionHash), in valueProfile()
806 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
DCoverageMappingGen.h73 uint64_t FunctionHash,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DFunctionComparator.h105 using FunctionHash = uint64_t; variable
106 static FunctionHash functionHash(Function &);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp509 uint64_t FunctionHash = 0; member in __anon4a46d2d00211::FuncPGOInstrumentation
527 Twine(FunctionHash) + "\t" + Str); in dumpInfo()
596 FunctionHash = (uint64_t)SIVisitor.getNumOfSelectInsts() << 56 | in computeCFGHash()
604 << ", Hash = " << FunctionHash << "\n";); in computeCFGHash()
639 Twine(F.getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction()
642 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction()
659 Twine(OrigComdat->getName() + "." + Twine(FunctionHash)).str(); in renameComdatFunction()
668 GA->setName(Twine(GA->getName() + "." + Twine(FunctionHash))); in renameComdatFunction()
740 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc()
746 FuncInfo.FunctionHash); in instrumentOneFunc()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp246 uint64_t FunctionHash; member in __anonaf8b40380211::FuncPGOInstrumentation
261 Twine(FunctionHash) + "\t" + Str); in dumpInfo()
267 : F(Func), FunctionHash(0), MST(F, BPI, BFI) { in FuncPGOInstrumentation()
302 FunctionHash = (uint64_t)MST.AllEdges.size() << 32 | JC.getCRC(); in computeCFGHash()
366 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc()
385 Builder.getInt64(FuncInfo.FunctionHash), in instrumentOneFunc()
590 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash); in readCounters()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp172 FunctionComparator::FunctionHash Hash;
180 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash()
381 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>> in runOnModule()
391 [](const std::pair<FunctionComparator::FunctionHash, Function *> &a, in runOnModule()
392 const std::pair<FunctionComparator::FunctionHash, Function *> &b) { in runOnModule() argument
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp185 typedef uint64_t FunctionHash; typedef in __anonddd047fb0111::FunctionComparator
186 static FunctionHash functionHash(Function &);
457 FunctionComparator::FunctionHash Hash;
463 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash()
1333 FunctionComparator::FunctionHash FunctionComparator::functionHash(Function &F) { in functionHash()
1546 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>> in runOnModule()
1556 [](const std::pair<FunctionComparator::FunctionHash, Function *> &a, in runOnModule()
1557 const std::pair<FunctionComparator::FunctionHash, Function *> &b) { in runOnModule() argument
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp411 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded()
422 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
702 Record.FunctionHash = R.FunctionHash; in readNextRecord()
DCoverageMapping.cpp197 Record.FunctionName, Record.FunctionHash, Counts)) { in load()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp437 OldRecord.FunctionHash, OldRecord.CoverageMapping); in insertFunctionRecordIfNeeded()
448 OldRecord.FunctionHash = FuncHash; in insertFunctionRecordIfNeeded()
743 Record.FunctionHash = R.FunctionHash; in readNextRecord()
DCoverageMapping.cpp220 Record.FunctionHash, Counts)) { in loadFunctionRecord()
223 FuncHashMismatches.emplace_back(Record.FunctionName, Record.FunctionHash); in loadFunctionRecord()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp60 Record.FunctionHash = Hash; in fillCoverageMappingRecord()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp923 FunctionComparator::FunctionHash FunctionComparator::functionHash(Function &F) { in functionHash()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp80 Record.FunctionHash = Hash; in fillCoverageMappingRecord()