/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BasicInliner.cpp | 78 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/ |
D | Inliner.cpp | 345 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/ |
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/lib/CodeGen/AsmPrinter/ |
D | DwarfException.cpp | 226 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 …]
|
D | DwarfException.h | 118 void ComputeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
|
/external/swiftshader/third_party/llvm-7.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() 373 SmallVector<CallSiteEntry, 64> CallSites; in emitExceptionTable() local 374 computeCallSiteTable(CallSites, LandingPads, FirstActions); in emitExceptionTable() [all …]
|
D | EHStreamer.h | 88 void computeCallSiteTable(SmallVectorImpl<CallSiteEntry> &CallSites,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 484 SmallVector<std::pair<CallSite, int>, 16> CallSites; in inlineCallsImpl() local 523 CallSites.push_back(std::make_pair(CS, -1)); in inlineCallsImpl() 527 LLVM_DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n"); in inlineCallsImpl() 530 if (CallSites.empty()) in inlineCallsImpl() 535 unsigned FirstCallInSCC = CallSites.size(); in inlineCallsImpl() 537 if (Function *F = CallSites[i].first.getCalledFunction()) in inlineCallsImpl() 539 std::swap(CallSites[i--], CallSites[--FirstCallInSCC]); in inlineCallsImpl() 553 for (unsigned CSi = 0; CSi != CallSites.size(); ++CSi) { in inlineCallsImpl() 554 CallSite CS = CallSites[CSi].first; in inlineCallsImpl() 574 InlineHistoryID = CallSites[CSi].second; in inlineCallsImpl() [all …]
|
D | WholeProgramDevirt.cpp | 323 std::vector<VirtualCallSite> CallSites; member 403 CSI.CallSites.push_back({VTable, CS, NumUnsafeUses}); in addCallSite() 756 for (auto &&VCallSite : CSInfo.CallSites) { in applySingleImplDevirt() 884 for (auto &&VCallSite : CSInfo.CallSites) { in applyICallBranchFunnel() 982 for (auto Call : CSInfo.CallSites) in applyUniformRetValOpt() 1090 for (auto &&Call : CSInfo.CallSites) { in applyUniqueRetValOpt() 1158 for (auto Call : CSInfo.CallSites) { in applyVirtualConstProp()
|
D | LowerTypeTests.cpp | 350 std::vector<CallInst *> CallSites; member 1099 for (CallInst *CI : TIUI.CallSites) { in lowerTypeTestCalls() 1915 AddTypeIdUse(TypeId).CallSites.push_back(CI); in lower()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | AliasAnalysisEvaluator.cpp | 135 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/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/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
D | CallGraphSCCPass.cpp | 172 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CallGraphSCCPass.cpp | 193 DenseMap<Value*, CallGraphNode*> CallSites; in RefreshCallGraph() local 226 CallSites.count(I->first) || in RefreshCallGraph() 260 assert(!CallSites.count(I->first) && in RefreshCallGraph() 268 CallSites.insert(std::make_pair(I->first, I->second)); in RefreshCallGraph() 287 CallSites.find(CS.getInstruction()); in RefreshCallGraph() 288 if (ExistingIt != CallSites.end()) { in RefreshCallGraph() 292 CallSites.erase(ExistingIt); in RefreshCallGraph() 367 assert(CallSites.empty() && "Dangling pointers found in call sites map"); in RefreshCallGraph() 372 CallSites.clear(); in RefreshCallGraph()
|
D | AliasAnalysisEvaluator.cpp | 101 SmallSetVector<CallSite, 16> CallSites; in runInternal() local 126 CallSites.insert(CS); in runInternal() 139 << " pointers, " << CallSites.size() << " call sites\n"; in runInternal() 231 for (CallSite C : CallSites) { in runInternal() 282 for (auto C = CallSites.begin(), Ce = CallSites.end(); C != Ce; ++C) { in runInternal() 283 for (auto D = CallSites.begin(); D != Ce; ++D) { in runInternal()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITDwarfEmitter.cpp | 296 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/ |
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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 547 SmallVector<ImmutableCallSite, 8> CallSites; in moveUp() local 566 llvm::any_of(CallSites, [C, &AA](const ImmutableCallSite &CS) { in moveUp() 584 CallSites.push_back(CS); in moveUp()
|