Lines Matching refs:CallSites
393 SmallVector<std::pair<CallSite, int>, 16> CallSites;
420 CallSites.push_back(std::make_pair(CS, -1));
424 DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n");
427 if (CallSites.empty())
432 unsigned FirstCallInSCC = CallSites.size();
434 if (Function *F = CallSites[i].first.getCalledFunction())
436 std::swap(CallSites[i--], CallSites[--FirstCallInSCC]);
450 // CallSites may be modified inside so ranged for loop can not be used.
451 for (unsigned CSi = 0; CSi != CallSites.size(); ++CSi) {
452 CallSite CS = CallSites[CSi].first;
475 // which would provide the same callsites, which would cause us to
477 int InlineHistoryID = CallSites[CSi].second;
517 // that these new callsites came about due to inlining Callee.
522 CallSites.push_back(std::make_pair(CallSite(Ptr), NewHistoryID));
553 CallSites[CSi] = CallSites.back();
554 CallSites.pop_back();
556 CallSites.erase(CallSites.begin()+CSi);