Searched refs:ProfiledFunctions (Results 1 – 8 of 8) sorted by relevance
130 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
56 std::unordered_set<const BinaryFunction *> ProfiledFunctions; variable84 assert(!ProfiledFunctions.count(&BF) && in matchProfileToFunction()86 ProfiledFunctions.emplace(&BF); in matchProfileToFunction()
405 std::unordered_set<const BinaryFunction *> ProfiledFunctions; in collectProfiledFunctions() local406 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 …]
125 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;
222 std::unordered_set<const BinaryFunction *> ProfiledFunctions; variable474 return ProfiledFunctions; in getProfiledFunctions()478 ProfiledFunctions = Funcs; in setProfiledFunctions()
358 for (auto *F : ProfiledFunctions) in decodePseudoProbe()
1328 std::vector<const BinaryFunction *> ProfiledFunctions; in runOnFunctions() local1361 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()
340 if (ProfiledFunctions.count(&Function)) in readProfile()