Home
last modified time | relevance | path

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

/external/swiftshader/third_party/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/swiftshader/third_party/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/Transforms/IPO/
DInliner.cpp393 SmallVector<std::pair<CallSite, int>, 16> CallSites; in inlineCalls() local
420 CallSites.push_back(std::make_pair(CS, -1)); in inlineCalls()
424 DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n"); in inlineCalls()
427 if (CallSites.empty()) in inlineCalls()
432 unsigned FirstCallInSCC = CallSites.size(); in inlineCalls()
434 if (Function *F = CallSites[i].first.getCalledFunction()) in inlineCalls()
436 std::swap(CallSites[i--], CallSites[--FirstCallInSCC]); in inlineCalls()
451 for (unsigned CSi = 0; CSi != CallSites.size(); ++CSi) { in inlineCalls()
452 CallSite CS = CallSites[CSi].first; in inlineCalls()
477 int InlineHistoryID = CallSites[CSi].second; in inlineCalls()
[all …]
DWholeProgramDevirt.cpp274 MutableArrayRef<VirtualCallSite> CallSites);
280 MutableArrayRef<VirtualCallSite> CallSites);
283 MutableArrayRef<VirtualCallSite> CallSites);
285 ArrayRef<VirtualCallSite> CallSites);
396 MutableArrayRef<VirtualCallSite> CallSites) { in trySingleImplDevirt() argument
405 for (auto &&VCallSite : CallSites) { in trySingleImplDevirt()
445 MutableArrayRef<VirtualCallSite> CallSites) { in tryUniformRetValOpt() argument
454 for (auto Call : CallSites) in tryUniformRetValOpt()
461 MutableArrayRef<VirtualCallSite> CallSites) { in tryUniqueRetValOpt() argument
478 for (auto &&Call : CallSites) { in tryUniqueRetValOpt()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp215 computeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites, in computeCallSiteTable() argument
264 CallSites.push_back(Site); in computeCallSiteTable()
285 CallSiteEntry &Prev = CallSites.back(); in computeCallSiteTable()
295 CallSites.push_back(Site); in computeCallSiteTable()
300 if (CallSites.size() < SiteNo) in computeCallSiteTable()
301 CallSites.resize(SiteNo); in computeCallSiteTable()
302 CallSites[SiteNo - 1] = Site; in computeCallSiteTable()
314 CallSites.push_back(Site); in computeCallSiteTable()
364 SmallVector<CallSiteEntry, 64> CallSites; in emitExceptionTable() local
365 computeCallSiteTable(CallSites, LandingPads, FirstActions); in emitExceptionTable()
[all …]
DEHStreamer.h87 void computeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
/external/swiftshader/third_party/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/swiftshader/third_party/LLVM/lib/Analysis/
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/swiftshader/third_party/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/Analysis/
DCallGraphSCCPass.cpp180 DenseMap<Value*, CallGraphNode*> CallSites; in RefreshCallGraph() local
214 CallSites.count(I->first) || in RefreshCallGraph()
248 assert(!CallSites.count(I->first) && in RefreshCallGraph()
256 CallSites.insert(std::make_pair(I->first, I->second)); in RefreshCallGraph()
275 CallSites.find(CS.getInstruction()); in RefreshCallGraph()
276 if (ExistingIt != CallSites.end()) { in RefreshCallGraph()
280 CallSites.erase(ExistingIt); in RefreshCallGraph()
354 assert(CallSites.empty() && "Dangling pointers found in call sites map"); in RefreshCallGraph()
359 CallSites.clear(); in RefreshCallGraph()
DAliasAnalysisEvaluator.cpp102 SmallSetVector<CallSite, 16> CallSites; in runInternal() local
127 CallSites.insert(CS); in runInternal()
140 << " pointers, " << CallSites.size() << " call sites\n"; in runInternal()
238 for (CallSite C : CallSites) { in runInternal()
270 for (auto C = CallSites.begin(), Ce = CallSites.end(); C != Ce; ++C) { in runInternal()
271 for (auto D = CallSites.begin(); D != Ce; ++D) { in runInternal()
/external/swiftshader/third_party/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 …]
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp513 SmallVector<ImmutableCallSite, 8> CallSites; in moveUp() local
530 NeedLift = std::any_of(CallSites.begin(), CallSites.end(), in moveUp()
545 CallSites.push_back(CS); in moveUp()