Home
last modified time | relevance | path

Searched refs:CallSites (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DBasicInliner.cpp78 std::vector<CallSite> CallSites; in inlineFunctions() local
88 CallSites.push_back(CS); in inlineFunctions()
92 DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n"); in inlineFunctions()
98 for (unsigned index = 0; index != CallSites.size() && !CallSites.empty(); in inlineFunctions()
100 CallSite CS = CallSites[index]; in inlineFunctions()
106 CallSites.erase(CallSites.begin() + index); in inlineFunctions()
138 CallSites.erase(CallSites.begin() + index); in inlineFunctions()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp345 SmallVector<std::pair<CallSite, int>, 16> CallSites; in runOnSCC() local
371 CallSites.push_back(std::make_pair(CS, -1)); in runOnSCC()
375 DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n"); in runOnSCC()
378 if (CallSites.empty()) in runOnSCC()
383 unsigned FirstCallInSCC = CallSites.size(); in runOnSCC()
385 if (Function *F = CallSites[i].first.getCalledFunction()) in runOnSCC()
387 std::swap(CallSites[i--], CallSites[--FirstCallInSCC]); in runOnSCC()
401 for (unsigned CSi = 0; CSi != CallSites.size(); ++CSi) { in runOnSCC()
402 CallSite CS = CallSites[CSi].first; in runOnSCC()
429 int InlineHistoryID = CallSites[CSi].second; in runOnSCC()
[all …]
/external/llvm/lib/Analysis/
DAliasSetTracker.cpp59 if (CallSites.empty()) { // Merge call sites... in mergeSetIn()
60 if (!AS.CallSites.empty()) in mergeSetIn()
61 std::swap(CallSites, AS.CallSites); in mergeSetIn()
62 } else if (!AS.CallSites.empty()) { in mergeSetIn()
63 CallSites.insert(CallSites.end(), AS.CallSites.begin(), AS.CallSites.end()); in mergeSetIn()
64 AS.CallSites.clear(); in mergeSetIn()
127 CallSites.push_back(CS.getInstruction()); in addCallSite()
150 assert(CallSites.empty() && "Illegal must alias set!"); in aliasesPointer()
171 if (!CallSites.empty()) { in aliasesPointer()
172 for (unsigned i = 0, e = CallSites.size(); i != e; ++i) in aliasesPointer()
[all …]
DAliasAnalysisEvaluator.cpp135 SetVector<CallSite> CallSites; in runOnFunction() local
155 CallSites.insert(CS); in runOnFunction()
168 << " pointers, " << CallSites.size() << " call sites\n"; in runOnFunction()
203 for (SetVector<CallSite>::iterator C = CallSites.begin(), in runOnFunction()
204 Ce = CallSites.end(); C != Ce; ++C) { in runOnFunction()
233 for (SetVector<CallSite>::iterator C = CallSites.begin(), in runOnFunction()
234 Ce = CallSites.end(); C != Ce; ++C) { in runOnFunction()
235 for (SetVector<CallSite>::iterator D = CallSites.begin(); D != Ce; ++D) { in runOnFunction()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfException.cpp226 ComputeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites, in ComputeCallSiteTable() argument
273 CallSites.push_back(Site); in ComputeCallSiteTable()
294 CallSiteEntry &Prev = CallSites.back(); in ComputeCallSiteTable()
304 CallSites.push_back(Site); in ComputeCallSiteTable()
309 if (CallSites.size() < SiteNo) in ComputeCallSiteTable()
310 CallSites.resize(SiteNo); in ComputeCallSiteTable()
311 CallSites[SiteNo - 1] = Site; in ComputeCallSiteTable()
323 CallSites.push_back(Site); in ComputeCallSiteTable()
383 SmallVector<CallSiteEntry, 64> CallSites; in EmitExceptionTable() local
384 ComputeCallSiteTable(CallSites, PadMap, LandingPads, FirstActions); in EmitExceptionTable()
[all …]
DDwarfException.h118 void ComputeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
/external/llvm/include/llvm/Analysis/
DAliasSetTracker.h115 std::vector<AssertingVH<Instruction> > CallSites; variable
151 assert(i < CallSites.size()); in getCallSite()
152 return CallSite(CallSites[i]); in getCallSite()
258 for (size_t i = 0, e = CallSites.size(); i != e; ++i)
259 if (CallSites[i] == CS.getInstruction()) {
260 CallSites[i] = CallSites.back();
261 CallSites.pop_back();
/external/llvm/lib/Analysis/IPA/
DCallGraphSCCPass.cpp172 DenseMap<Value*, CallGraphNode*> CallSites; in RefreshCallGraph() local
207 CallSites.count(I->first) || in RefreshCallGraph()
236 assert(!CallSites.count(I->first) && in RefreshCallGraph()
238 CallSites.insert(std::make_pair(I->first, I->second)); in RefreshCallGraph()
254 CallSites.find(CS.getInstruction()); in RefreshCallGraph()
255 if (ExistingIt != CallSites.end()) { in RefreshCallGraph()
259 CallSites.erase(ExistingIt); in RefreshCallGraph()
333 assert(CallSites.empty() && "Dangling pointers found in call sites map"); in RefreshCallGraph()
338 CallSites.clear(); in RefreshCallGraph()
/external/llvm/lib/ExecutionEngine/JIT/
DJITDwarfEmitter.cpp296 SmallVector<CallSiteEntry, 64> CallSites; in EmitExceptionTable() local
342 CallSites.push_back(Site); in EmitExceptionTable()
353 if (CallSites.size()) { in EmitExceptionTable()
354 CallSiteEntry &Prev = CallSites.back(); in EmitExceptionTable()
363 CallSites.push_back(Site); in EmitExceptionTable()
371 CallSites.push_back(Site); in EmitExceptionTable()
375 unsigned SizeSites = CallSites.size() * (sizeof(int32_t) + // Site start. in EmitExceptionTable()
378 for (unsigned i = 0, e = CallSites.size(); i < e; ++i) in EmitExceptionTable()
379 SizeSites += MCAsmInfo::getULEB128Size(CallSites[i].Action); in EmitExceptionTable()
407 for (unsigned i = 0; i < CallSites.size(); ++i) { in EmitExceptionTable()
[all …]