| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| EscapeEnumerator.cpp | 59 // We cannot tranform calls with musttail tag. 60 SmallVector<Instruction *, 16> Calls; 65 Calls.push_back(CI); 67 if (Calls.empty()) 91 for (unsigned I = Calls.size(); I != 0;) { 92 CallInst *CI = cast<CallInst>(Calls[--I]);
|
| SimplifyLibCalls.cpp | 1 //===------ SimplifyLibCalls.cpp - Library calls simplifier ---------------===// 9 // This file implements the library calls simplifier. It does not implement 48 "shrinking for math lib calls")); 2079 // Both calls must be 'fast' in order to remove them. 2167 // Look for all compatible sinpi, cospi and sincospi calls with the same 2181 auto replaceTrigInsts = [this](SmallVectorImpl<CallInst *> &Calls, 2183 for (CallInst *C : Calls) 2204 // Don't consider calls in other functions. 2323 // Error reporting calls should be cold, mark them as such. 2324 // This applies even to non-builtin calls: it is only a hint and applies t [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| AlwaysInliner.cpp | 46 SmallSetVector<CallBase *, 16> Calls; 59 Calls.clear(); 64 Calls.insert(CB); 66 for (CallBase *CB : Calls) { 188 // Only inline direct calls to functions with always-inline attributes
|
| Inliner.cpp | 10 // missing any calls and updating the call graph. The decisions of which calls 121 /// have already inlined other allocas through other calls into this function, 201 // Move affected dbg.declare calls immediately after the new alloca to 364 // If there are no calls in this function, exit early. 386 // calls to become direct calls. 396 // We can only inline direct calls to non-declarations. 693 // We use a single common worklist for calls across the entire SCC. We 694 // process these in-order and append new calls introduced during inlining t [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| PlaceSafepoints.cpp | 75 "Number of loops without safepoints due to calls in loop"); 109 /// True unless we're running spp-no-calls in which case we need to disable 268 std::vector<CallInst *> &Calls, 275 Calls.push_back(CI); 295 std::vector<CallInst *> &Calls, 297 Calls.clear(); 300 scanOneBB(Start, End, Calls, Seen, Worklist); 304 scanOneBB(&*BB->begin(), End, Calls, Seen, Worklist); 372 // Most LLVM intrinsics are things which do not expand to actual calls, or 390 // can place it as late as we want as long as it dominates all calls [all...] |
| MemCpyOptimizer.cpp | 10 // calls, or transforming sets of stores into memset's. 402 // Calls that only access inaccessible memory do not block merging 544 // Lifted calls. 545 SmallVector<const CallBase *, 8> Calls; 568 NeedLift = llvm::any_of(Calls, [C, this](const CallBase *Call) { 586 Calls.push_back(Call); 655 // memset calls. However, that change would force the backend to 656 // conservatively expand !nontemporal memset calls back to sequences of 1538 /// Transforms memmove calls to memcpy calls when the src/dst are guarantee [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| PtrState.h | 71 /// True of the objc_release calls are all marked with the "tail" keyword. 74 /// If the Calls are objc_release calls and they all have a 80 SmallPtrSet<Instruction *, 2> Calls; 82 /// The set of optimal insert positions for moving calls in the opposite 107 /// pushing calls into a CFG triangle or into one side of a CFG diamond. 157 void InsertCall(Instruction *I) { RRI.Calls.insert(I); }
|
| PtrState.cpp | 94 Calls.clear(); 110 Calls.insert(Other.Calls.begin(), Other.Calls.end());
|
| ObjCARCOpts.cpp | 142 // calls followed by objc_autoreleasePoolPop calls (perhaps in ObjC++ code 143 // after inlining) can be turned into plain release calls. 153 // TODO: Recognize that a bunch of other objc runtime calls have 157 // TODO: Sink autorelease calls as far as possible. Unfortunately we 158 // usually can't sink them past other calls, which would be the main 165 STATISTIC(NumNoops, "Number of no-op objc calls eliminated"); 166 STATISTIC(NumPartialNoops, "Number of partially no-op objc calls eliminated"); 171 STATISTIC(NumPeeps, "Number of calls peephole-optimized"); 837 // ClaimRV, it's probably safe to skip over even opaque function calls [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| StackSafetyAnalysis.cpp | 120 // List of calls which pass address as an argument. 127 CallsTy Calls; 137 for (auto &Call : U.Calls) 185 // StackSafetyDataFlowAnalysis. Calls and parameters are irrelevant then. 328 /// calculates local access range and all function calls where it was used. 424 US.Calls.emplace(CallInfo<GlobalValue>(Callee, ArgNo), Offsets); 532 for (auto &KV : US.Calls) { 576 for (auto &CS : KV.second.Calls) 695 // Move Use.Calls to a temp storage and repopulate - don't use std::move as it 696 // leaves Use.Calls in an undefined state [all...] |
| CallGraphSCCPass.cpp | 207 DenseMap<Value *, CallGraphNode *> Calls; 228 // Keep track of the number of direct and indirect calls that were 271 Calls.count(Call) || 294 assert(!Calls.count(Call) && "Call site occurs in node multiple times"); 298 // Ignore intrinsics because they're not really function calls. 300 Calls.insert(std::make_pair(Call, I->second)); 306 // Keep track of the number of direct/indirect calls added. 318 // If we are not in checking mode, insert potential callback calls as 328 // matches up to expectations and remove it from Calls. 330 Calls.find(Call) [all...] |
| AliasAnalysisEvaluator.cpp | 103 SmallSetVector<CallBase *, 16> Calls; 120 // Skip actual functions for direct function calls. 127 Calls.insert(Call); 139 << " pointers, " << Calls.size() << " call sites\n"; 232 // Mod/ref alias analysis: compare all pairs of calls and values 233 for (CallBase *Call : Calls) { 282 // Mod/ref alias analysis: compare all pairs of calls 283 for (CallBase *CallA : Calls) { 284 for (CallBase *CallB : Calls) {
|
| InlineSizeEstimatorAnalysis.cpp | 57 Calls, 176 // We don't want debug calls, because they'd just add noise. 187 ++FF[NamedFeatureIndex::Calls];
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| MallocSizeofChecker.cpp | 52 CallVec Calls; 62 Calls.push_back(CallRecord(Parent, cast<Expr>(S), AllocCall.first, 181 for (CastedAllocFinder::CallVec::iterator i = Finder.Calls.begin(), 182 e = Finder.Calls.end(); i != e; ++i) {
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaCoroutine.cpp | 411 /// Build calls to await_ready, await_suspend, and await_resume for a co_await 430 ReadySuspendResumeResult Calls = {{}, Operand, /*IsInvalid=*/false}; 438 Calls.IsInvalid = true; 441 Calls.Results[CallType] = Result.get(); 448 return Calls; 459 Calls.IsInvalid = true; 461 Calls.Results[ACT::ACT_Ready] = S.MaybeCreateExprWithCleanups(Conv.get()); 467 Calls.IsInvalid = true; 468 return Calls; 474 return Calls; [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-lto/ |
| llvm-lto.cpp | 343 unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; 349 Calls += FuncSummary->calls().size(); 359 << " globals) and " << (Calls + Refs) << " edges (" << Refs 360 << " refs and " << Calls << " calls)\n";
|
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| ExprMutationAnalyzer.cpp | 430 const auto Calls = 436 return findExprMutation(Calls);
|
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| CodeGenDAGPatterns.h | 746 void setPredicateCalls(const std::vector<TreePredicateCall> &Calls) { 748 PredicateCalls = Calls;
|
| /src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
| LLParser.cpp | 1499 // For calls we also accept variables in the program address space. 8495 // Resolve forward references from calls/refs 8602 // created for indirect calls with VP. A Name with no GUID came from 8658 std::vector<FunctionSummary::EdgeTy> Calls; 8681 if (parseOptionalCalls(Calls)) 8706 std::move(Calls), std::move(TypeIdInfo.TypeTests), 8905 /// := 'calls' ':' '(' Call [',' Call]* ')' 8908 bool LLParser::parseOptionalCalls(std::vector<FunctionSummary::EdgeTy> &Calls) { 8912 if (parseToken(lltok::colon, "expected ':' in calls") | 8913 parseToken(lltok::lparen, "expected '(' in calls")) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| DeclCXX.cpp | 377 // it actually calls. If it does have a simple move constructor, this 394 // it actually calls. If it does have a simple move assignment, this 903 // purpose of calls (attribute "trivial_abi" can be dropped from the 1042 // for the purpose of calls. 1488 DeclContext::lookup_result Calls = RD.lookup(Name); 1490 assert(!Calls.empty() && "Missing lambda call operator!"); 1491 assert(allLookupResultsAreTheSame(Calls) && 1493 return Calls.front(); 2220 // When building with -fapple-kext, all calls must go through the vtable since 2279 // We can devirtualize calls on an object accessed by a class member acces [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/ |
| LLParser.h | 352 bool parseOptionalCalls(std::vector<FunctionSummary::EdgeTy> &Calls);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| ModuleSummaryIndex.h | 548 /// List of virtual calls made by this function using (respectively) 553 /// List of virtual calls made by this function using (respectively) 596 /// also includes accesses by nested function calls. 602 std::vector<Call> Calls; 699 ArrayRef<EdgeTy> calls() const { return CallGraphEdgeList; } function in class:llvm::CalleeInfo::FunctionSummary 712 /// Returns the list of virtual calls made by this function using 721 /// Returns the list of virtual calls made by this function using 730 /// Returns the list of virtual calls made by this function using 739 /// Returns the list of virtual calls made by this function using 967 /// Resolutions for calls with all constant integer arguments (excluding th [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
| BitcodeReader.cpp | 3705 // materialization calls will resume it when necessary. If the bitcode 5575 // Upgrade any old intrinsic calls in the function. 5586 // Update calls to the remangled intrinsics 5637 // Remove incompatible attributes on function calls. 5684 // Upgrade any intrinsic calls that slipped through (should not happen!) and 5687 // with calls to the old function. 6102 ParamAccess.Calls.resize(Record.front()); 6104 for (auto &Call : ParamAccess.Calls) { 6281 std::vector<FunctionSummary::EdgeTy> Calls = makeCallList( 6287 std::move(Refs), std::move(Calls), std::move(PendingTypeTests) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| AsmWriter.cpp | 1057 // We allow direct calls to any llvm.foo function here, because the 3226 if (!FS->calls().empty()) { 3227 Out << ", calls: ("; 3229 for (auto &Call : FS->calls()) { 3256 if (!PS.Calls.empty()) { 3257 Out << ", calls: ("; 3259 for (auto &Call : PS.Calls) { 4165 // is only to aid readability, musttail calls forward varargs by default.
|
| /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/ |
| BitcodeWriter.cpp | 204 for (auto &CallEdge : FS->calls()) 450 /// Calls the callback for each value GUID and summary to be written to 472 /// Calls the callback for each entry in the modulePaths StringMap that 3699 Record.push_back(Arg.Calls.size()); 3700 for (auto &Call : Arg.Calls) { 3830 for (auto &ECI : FS->calls()) { 4255 for (auto &EI : FS->calls()) { 4262 for (auto &EI : FS->calls()) { 4264 // summary and we don't need to record any calls to it.
|