/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 393 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 …]
|
D | WholeProgramDevirt.cpp | 274 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/ |
D | EHStreamer.cpp | 215 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 …]
|
D | EHStreamer.h | 87 void computeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | EHStreamer.cpp | 224 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() 375 SmallVector<CallSiteEntry, 64> CallSites; in emitExceptionTable() local 376 computeCallSiteTable(CallSites, LandingPads, FirstActions); in emitExceptionTable() [all …]
|
D | WasmException.cpp | 78 SmallVectorImpl<CallSiteEntry> &CallSites, in computeCallSiteTable() argument 92 if (CallSites.size() < LPadIndex + 1) in computeCallSiteTable() 93 CallSites.resize(LPadIndex + 1); in computeCallSiteTable() 94 CallSites[LPadIndex] = Site; in computeCallSiteTable()
|
D | WasmException.h | 34 SmallVectorImpl<CallSiteEntry> &CallSites,
|
D | EHStreamer.h | 88 SmallVectorImpl<CallSiteEntry> &CallSites,
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | EHStreamer.cpp | 232 SmallVectorImpl<CallSiteEntry> &CallSites, in computeCallSiteTable() argument 259 Asm->getMBBExceptionSym(MBB), CallSites.size()}); in computeCallSiteTable() 298 CallSites.push_back({LastLabel, BeginLabel, nullptr, 0}); in computeCallSiteTable() 319 CallSiteEntry &Prev = CallSites.back(); in computeCallSiteTable() 329 CallSites.push_back(Site); in computeCallSiteTable() 334 if (CallSites.size() < SiteNo) in computeCallSiteTable() 335 CallSites.resize(SiteNo); in computeCallSiteTable() 336 CallSites[SiteNo - 1] = Site; in computeCallSiteTable() 351 CallSites.push_back(Site); in computeCallSiteTable() 354 CallSiteRanges.back().CallSiteEndIdx = CallSites.size(); in computeCallSiteTable() [all …]
|
D | WasmException.cpp | 78 SmallVectorImpl<CallSiteEntry> &CallSites, in computeCallSiteTable() argument 93 if (CallSites.size() < LPadIndex + 1) in computeCallSiteTable() 94 CallSites.resize(LPadIndex + 1); in computeCallSiteTable() 95 CallSites[LPadIndex] = Site; in computeCallSiteTable()
|
D | WasmException.h | 34 SmallVectorImpl<CallSiteEntry> &CallSites,
|
D | EHStreamer.h | 112 SmallVectorImpl<CallSiteEntry> &CallSites,
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 329 SmallVector<std::pair<CallBase *, int>, 16> CallSites; in inlineCallsImpl() local 369 CallSites.push_back(std::make_pair(CB, -1)); in inlineCallsImpl() 373 LLVM_DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n"); in inlineCallsImpl() 376 if (CallSites.empty()) in inlineCallsImpl() 381 unsigned FirstCallInSCC = CallSites.size(); in inlineCallsImpl() 383 if (Function *F = CallSites[I].first->getCalledFunction()) in inlineCallsImpl() 385 std::swap(CallSites[I--], CallSites[--FirstCallInSCC]); in inlineCallsImpl() 399 for (unsigned CSi = 0; CSi != CallSites.size(); ++CSi) { in inlineCallsImpl() 400 auto &P = CallSites[CSi]; in inlineCallsImpl() 489 for (auto &II : CallSites) in inlineCallsImpl() [all …]
|
D | WholeProgramDevirt.cpp | 405 std::vector<VirtualCallSite> CallSites; member 487 CSI.CallSites.push_back({VTable, CB, NumUnsafeUses}); in addCallSite() 1039 for (auto &&VCallSite : CSInfo.CallSites) { in applySingleImplDevirt() 1266 for (auto &&VCallSite : CSInfo.CallSites) { in applyICallBranchFunnel() 1364 for (auto Call : CSInfo.CallSites) in applyUniformRetValOpt() 1472 for (auto &&Call : CSInfo.CallSites) { in applyUniqueRetValOpt() 1540 for (auto Call : CSInfo.CallSites) { in applyVirtualConstProp()
|
D | LowerTypeTests.cpp | 409 std::vector<CallInst *> CallSites; member 1173 for (CallInst *CI : TIUI.CallSites) { in lowerTypeTestCalls() 2066 AddTypeIdUse(TypeId).CallSites.push_back(CI); in lower()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 548 SmallVector<std::pair<CallSite, int>, 16> CallSites; in inlineCallsImpl() local 588 CallSites.push_back(std::make_pair(CS, -1)); in inlineCallsImpl() 592 LLVM_DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n"); in inlineCallsImpl() 595 if (CallSites.empty()) in inlineCallsImpl() 600 unsigned FirstCallInSCC = CallSites.size(); in inlineCallsImpl() 602 if (Function *F = CallSites[i].first.getCalledFunction()) in inlineCallsImpl() 604 std::swap(CallSites[i--], CallSites[--FirstCallInSCC]); in inlineCallsImpl() 618 for (unsigned CSi = 0; CSi != CallSites.size(); ++CSi) { in inlineCallsImpl() 619 CallSite CS = CallSites[CSi].first; in inlineCallsImpl() 640 InlineHistoryID = CallSites[CSi].second; in inlineCallsImpl() [all …]
|
D | WholeProgramDevirt.cpp | 359 std::vector<VirtualCallSite> CallSites; member 441 CSI.CallSites.push_back({VTable, CS, NumUnsafeUses}); in addCallSite() 886 for (auto &&VCallSite : CSInfo.CallSites) { in applySingleImplDevirt() 1108 for (auto &&VCallSite : CSInfo.CallSites) { in applyICallBranchFunnel() 1208 for (auto Call : CSInfo.CallSites) in applyUniformRetValOpt() 1315 for (auto &&Call : CSInfo.CallSites) { in applyUniqueRetValOpt() 1383 for (auto Call : CSInfo.CallSites) { in applyVirtualConstProp()
|
D | LowerTypeTests.cpp | 406 std::vector<CallInst *> CallSites; member 1160 for (CallInst *CI : TIUI.CallSites) { in lowerTypeTestCalls() 2007 AddTypeIdUse(TypeId).CallSites.push_back(CI); in lower()
|
/external/llvm/lib/Analysis/ |
D | CallGraphSCCPass.cpp | 180 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()
|
D | AliasAnalysisEvaluator.cpp | 102 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/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 513 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()
|