HomeSort by: relevance | last modified time | path
    Searched defs:Captures (Results 1 - 10 of 10) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
FunctionAttrs.cpp 492 bool Captures = true;
495 Captures = false;
498 if (Captures)
540 Captures &= !CB.doesNotCapture(UseIndex);
774 // captures.
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGBlocks.h 217 /// no non-constant captures.
220 /// True if the block has captures that would necessitate custom copy or
242 llvm::DenseMap<const VarDecl*, Capture> Captures;
271 it = Captures.find(var);
272 assert(it != Captures.end() && "no entry for variable!");
CGException.cpp 1749 /// Find all local variable captures in the statement.
1753 llvm::SmallSetVector<const VarDecl *, 4> Captures;
1760 return !Captures.empty() || SEHCodeSlot.isValid();
1774 Captures.insert(ParentThis);
1778 Captures.insert(D);
1782 Captures.insert(ParentThis);
1848 // Find all captures in the Stmt.
1852 // We can exit early on x86_64 when there are no captures. We just have to
1932 // Create llvm.localrecover calls for all captures.
1933 for (const VarDecl *VD : Finder.Captures) {
    [all...]
CGOpenMPRuntime.cpp 316 /// constructs. For this captures, implicit parameters are used instead of the
359 for (const auto &C : CS.captures()) {
8734 // Map type is always TARGET_PARAM, if generate info for captures.
8794 llvm::DenseMap<const VarDecl *, FieldDecl *> Captures;
8796 RD->getCaptureFields(Captures, ThisCapture);
8813 for (const LambdaCapture &LC : RD->captures()) {
8819 auto It = Captures.find(VD);
8820 assert(It != Captures.end() && "Found lambda capture without field.");
8848 /// Set correct indices for lambdas captures.
8854 // Set correct member_of idx for all implicit lambda captures
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ScopeInfo.h 523 // local variables, and C++1y initialized captures (which can have an
668 /// CaptureMap - A map of captured variables to (index+1) into Captures.
675 /// Captures - The captures.
676 SmallVector<Capture, 4> Captures;
689 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc,
691 CaptureMap[Var] = Captures.size();
696 Captures.push_back(Capture(Capture::VLACapture, VLAType,
709 return Captures[CXXThisCaptureIndex - 1];
724 return Captures[CaptureMap[Var] - 1]
    [all...]
DeclSpec.h 225 /// Captures information about "declaration specifiers".
820 /// Captures information about "declaration specifiers" specific to
2690 SmallVector<LambdaCapture, 4> Captures;
2704 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init,
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaLambda.cpp 540 ArrayRef<LambdaIntroducer::LambdaCapture> Captures,
552 for (const auto &Capture : Captures) {
1019 // For simple-captures, this is covered by the check below that any named
1034 // Handle explicit captures.
1037 for (auto C = Intro.Captures.begin(), E = Intro.Captures.end(); C != E;
1078 if (!LSI->Captures.empty())
1079 LSI->ExplicitCaptureRanges[LSI->Captures.size() - 1] = C->ExplicitRange;
1125 // captures a variable [...] whose declarative region is the
1230 if (!LSI->Captures.empty()
    [all...]
SemaStmt.cpp 4646 SmallVectorImpl<CapturedStmt::Capture> &Captures,
4648 for (const sema::Capture &Cap : RSI->Captures) {
4662 // Add the capture to our list of captures.
4664 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(),
4667 Captures.push_back(
4675 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(),
4790 // Leave the captured scope before we start creating captures in the
4798 SmallVector<CapturedStmt::Capture, 4> Captures;
4800 if (buildCapturedStmtCaptureList(*this, RSI, Captures, CaptureInits))
4808 Captures, CaptureInits, CD, RD)
    [all...]
SemaExpr.cpp 13069 // Warn about retain cycles where a block captures the LHS, but
13461 // In OpenCL captures for blocks called as lambda functions
15521 SmallVector<BlockDecl::Capture, 4> Captures;
15522 for (Capture &Cap : BSI->Captures) {
15583 Captures.push_back(NewCap);
15585 BD->setCaptures(Context, Captures, BSI->CXXThisCaptureIndex != 0);
15593 // If the block isn't obviously global, i.e. it captures anything at
15602 for (const auto &CI : Result->getBlockDecl()->captures()) {
17246 // Similarly to mutable captures in lambda, all the OpenMP captures by cop
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclCXX.h 385 /// The number of captures in this lambda is limited 2^NumCaptures.
388 /// The number of explicit captures in this lambda.
404 /// The list of captures, both explicit and implicit, for this
406 Capture *Captures = nullptr;
1037 /// Set the captures for this lambda closure type.
1038 void setCaptures(ASTContext &Context, ArrayRef<LambdaCapture> Captures);
1042 /// values or references of the captures.
1044 /// \param Captures Will be populated with the mapping from captured
1050 /// \note No entries will be added for init-captures, as they do not capture
1052 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1058 capture_const_range captures() const { function in class:clang::CXXRecordDecl
    [all...]

Completed in 179 milliseconds