Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp412 std::unordered_set<const BinaryFunction *> ProfiledFunctions; in collectProfiledFunctions() local
413 if (collectFunctionsFromRawProfile(ProfiledFunctions)) in collectProfiledFunctions()
414 Binary->setProfiledFunctions(ProfiledFunctions); in collectProfiledFunctions()
415 else if (collectFunctionsFromLLVMProfile(ProfiledFunctions)) in collectProfiledFunctions()
416 Binary->setProfiledFunctions(ProfiledFunctions); in collectProfiledFunctions()
422 std::unordered_set<const BinaryFunction *> &ProfiledFunctions) { in collectFunctionsFromRawProfile() argument
432 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
439 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
446 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
448 ProfiledFunctions.insert(FRange->Func); in collectFunctionsFromRawProfile()
[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.h220 std::unordered_set<const BinaryFunction *> ProfiledFunctions; variable
469 return ProfiledFunctions; in getProfiledFunctions()
473 ProfiledFunctions = Funcs; in setProfiledFunctions()
H A DProfiledBinary.cpp395 for (auto *F : ProfiledFunctions) { in decodePseudoProbe()