HomeSort by: relevance | last modified time | path
    Searched refs:Callsite (Results 1 - 6 of 6) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
CallContext.h 25 inline std::string getCallSite(const FrameLocation &Callsite) {
26 std::string CallsiteStr = Callsite.first;
28 CallsiteStr += Twine(Callsite.second.LineOffset).str();
29 if (Callsite.second.Discriminator > 0) {
31 CallsiteStr += Twine(Callsite.second.Discriminator).str();
40 for (const auto &Callsite : Context) {
43 OContextStr << getCallSite(Callsite);
53 for (const auto &Callsite : reverse(Context)) {
56 OContextStr << getCallSite(Callsite);
CSPreInliner.cpp 84 LineLocation Callsite = CalleeNode->getCallSiteLoc();
85 if (auto CallTargets = CallerSamples->findCallTargetMapAt(Callsite)) {
108 // Adjust threshold based on call site hotness, only do this for callsite
ProfiledBinary.cpp 274 // Populate a vector of the symbolized callsite at this location
444 FrameLocation Callsite(FunctionName.str(), Line);
445 CallStack.push_back(Callsite);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
SampleContextTracker.h 44 ContextTrieNode *getChildContext(const LineLocation &CallSite,
46 ContextTrieNode *getHottestChildContext(const LineLocation &CallSite);
47 ContextTrieNode *getOrCreateChildContext(const LineLocation &CallSite,
51 ContextTrieNode &moveToChildContext(const LineLocation &CallSite,
55 void removeChildContext(const LineLocation &CallSite, StringRef CalleeName);
66 static uint32_t nodeHash(StringRef ChildName, const LineLocation &Callsite);
80 // Callsite location in parent context
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleContextTracker.cpp 30 ContextTrieNode *ContextTrieNode::getChildContext(const LineLocation &CallSite,
33 return getHottestChildContext(CallSite);
35 uint32_t Hash = nodeHash(CalleeName, CallSite);
43 ContextTrieNode::getHottestChildContext(const LineLocation &CallSite) {
51 if (ChildNode.CallSiteLoc != CallSite)
66 const LineLocation &CallSite, ContextTrieNode &&NodeToMove,
68 uint32_t Hash = nodeHash(NodeToMove.getFuncName(), CallSite);
74 NewNode.CallSiteLoc = CallSite;
109 void ContextTrieNode::removeChildContext(const LineLocation &CallSite,
111 uint32_t Hash = nodeHash(CalleeName, CallSite);
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 589 for (const auto &Callsite : CallsiteSamples.second) {
591 remapSamples(Callsite.second, Remapper, Error);
1458 // Accumulate Difference for callsite lines in the function. We match
1460 // FunctionSamples::getCallsiteSamples() returns a map of callsite records
1474 auto Callsite = (CallsiteStepStatus == MS_FirstUnique)
1477 for (const auto &F : Callsite->second)
1483 // algorithm because callsite records at the same offset are ordered by

Completed in 19 milliseconds