Home | History | Annotate | Download | only in IPO

Lines Matching defs:CallSites

351   SmallVector<std::pair<CallSite, int>, 16> CallSites;
377 CallSites.push_back(std::make_pair(CS, -1));
381 DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n");
384 if (CallSites.empty())
389 unsigned FirstCallInSCC = CallSites.size();
391 if (Function *F = CallSites[i].first.getCalledFunction())
393 std::swap(CallSites[i--], CallSites[--FirstCallInSCC]);
407 for (unsigned CSi = 0; CSi != CallSites.size(); ++CSi) {
408 CallSite CS = CallSites[CSi].first;
431 // which would provide the same callsites, which would cause us to
433 int InlineHistoryID = CallSites[CSi].second;
454 // that these new callsites came about due to inlining Callee.
461 CallSites.push_back(std::make_pair(CallSite(Ptr), NewHistoryID));
493 CallSites[CSi] = CallSites.back();
494 CallSites.pop_back();
496 CallSites.erase(CallSites.begin()+CSi);