Home
last modified time | relevance | path

Searched refs:ProfiledFunctions (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h130 if (!ProfiledFunctions.count(Name)) { in addProfiledFunction()
133 ProfiledFunctions[Name] = ProfiledCallGraphNode(Name); in addProfiledFunction()
134 Root.Edges.emplace(&Root, &ProfiledFunctions[Name], 0); in addProfiledFunction()
141 assert(ProfiledFunctions.count(CallerName));
142 auto CalleeIt = ProfiledFunctions.find(CalleeName);
143 if (CalleeIt == ProfiledFunctions.end())
145 ProfiledCallGraphEdge Edge(&ProfiledFunctions[CallerName],
147 auto &Edges = ProfiledFunctions[CallerName].Edges;
179 StringMap<ProfiledCallGraphNode> ProfiledFunctions; variable
/llvm-project-15.0.7/bolt/include/bolt/Profile/
H A DYAMLProfileReader.h56 std::unordered_set<const BinaryFunction *> ProfiledFunctions; variable
84 assert(!ProfiledFunctions.count(&BF) && in matchProfileToFunction()
86 ProfiledFunctions.emplace(&BF); in matchProfileToFunction()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp405 std::unordered_set<const BinaryFunction *> ProfiledFunctions; in collectProfiledFunctions() local
406 if (collectFunctionsFromRawProfile(ProfiledFunctions)) in collectProfiledFunctions()
407 Binary->setProfiledFunctions(ProfiledFunctions); in collectProfiledFunctions()
408 else if (collectFunctionsFromLLVMProfile(ProfiledFunctions)) in collectProfiledFunctions()
409 Binary->setProfiledFunctions(ProfiledFunctions); in collectProfiledFunctions()
426 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
433 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
440 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
442 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
452 ProfiledFunctions.insert(Func); in collectFunctionsFromLLVMProfile()
[all …]
H A DProfileGenerator.h125 std::unordered_set<const BinaryFunction *> &ProfiledFunctions);
129 std::unordered_set<const BinaryFunction *> &ProfiledFunctions) = 0;
178 std::unordered_set<const BinaryFunction *> &ProfiledFunctions) override;
359 std::unordered_set<const BinaryFunction *> &ProfiledFunctions) override;
H A DProfiledBinary.h222 std::unordered_set<const BinaryFunction *> ProfiledFunctions; variable
474 return ProfiledFunctions; in getProfiledFunctions()
478 ProfiledFunctions = Funcs; in setProfiledFunctions()
H A DProfiledBinary.cpp358 for (auto *F : ProfiledFunctions) in decodePseudoProbe()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DBinaryPasses.cpp1328 std::vector<const BinaryFunction *> ProfiledFunctions; in runOnFunctions() local
1361 ProfiledFunctions.push_back(&Function); in runOnFunctions()
1372 BC.NumProfiledFuncs = ProfiledFunctions.size(); in runOnFunctions()
1375 ProfiledFunctions.size() + NumStaleProfileFunctions; in runOnFunctions()
1421 if (ProfiledFunctions.size() > 10) { in runOnFunctions()
1424 llvm::sort(ProfiledFunctions, in runOnFunctions()
1428 auto SFI = ProfiledFunctions.begin(); in runOnFunctions()
1429 auto SFIend = ProfiledFunctions.end(); in runOnFunctions()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileReader.cpp340 if (ProfiledFunctions.count(&Function)) in readProfile()