/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 692 SmallVector<Capture, 4> Captures; variable 705 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc, in addCapture() 707 CaptureMap[Var] = Captures.size(); in addCapture() 712 Captures.push_back(Capture(Capture::VLACapture, VLAType, in addVLATypeCapture() 725 return Captures[CXXThisCaptureIndex - 1]; in getCXXThisCapture() 738 return Captures[CaptureMap[Var] - 1]; in getCapture() 745 return Captures[Known->second - 1]; in getCapture() 922 NumExplicitCaptures = Captures.size(); in finishedExplicitCaptures() 1058 Captures.push_back(Capture(Capture::ThisCapture, isNested, Loc, CaptureType, in addThisCapture() 1060 CXXThisCaptureIndex = Captures.size(); in addThisCapture()
|
H A D | DeclSpec.h | 2764 SmallVector<LambdaCapture, 4> Captures; member 2770 return Captures.size() > 0 || Default != LCD_None; in hasLambdaCapture() 2782 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init, in addCapture()
|
H A D | Sema.h | 7159 ArrayRef<LambdaIntroducer::LambdaCapture> Captures,
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGBlocks.h | 269 llvm::DenseMap<const VarDecl *, Capture *> Captures; variable 298 Captures[C.Cap->getVariable()] = &C; in buildCaptureMap() 305 auto it = Captures.find(var); in getCapture() 306 assert(it != Captures.end() && "no entry for variable!"); in getCapture()
|
H A D | CGException.cpp | 1756 llvm::SmallSetVector<const VarDecl *, 4> Captures; member 1763 return !Captures.empty() || SEHCodeSlot.isValid(); in foundCaptures() 1777 Captures.insert(ParentThis); in VisitDeclRefExpr() 1781 Captures.insert(D); in VisitDeclRefExpr() 1785 Captures.insert(ParentThis); in VisitCXXThisExpr() 1937 for (const VarDecl *VD : Finder.Captures) { in EmitCapturedLocals()
|
H A D | CGOpenMPRuntimeGPU.cpp | 3451 llvm::DenseMap<const ValueDecl *, FieldDecl *> Captures; in adjustTargetSpecificDataForLambdas() local 3453 RD->getCaptureFields(Captures, ThisCapture); in adjustTargetSpecificDataForLambdas() 3468 auto It = Captures.find(VD); in adjustTargetSpecificDataForLambdas() 3469 assert(It != Captures.end() && "Found lambda capture without field."); in adjustTargetSpecificDataForLambdas()
|
H A D | CGBlocks.cpp | 1808 const SmallVectorImpl<CGBlockInfo::Capture> &Captures, in getCopyDestroyHelperFuncName() argument 1822 for (auto &Cap : Captures) { in getCopyDestroyHelperFuncName()
|
H A D | CGOpenMPRuntime.cpp | 8563 llvm::DenseMap<const ValueDecl *, FieldDecl *> Captures; in generateInfoForLambdaCaptures() local 8565 RD->getCaptureFields(Captures, ThisCapture); in generateInfoForLambdaCaptures() 8591 auto It = Captures.find(VD); in generateInfoForLambdaCaptures() 8592 assert(It != Captures.end() && "Found lambda capture without field."); in generateInfoForLambdaCaptures()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 550 ArrayRef<LambdaIntroducer::LambdaCapture> Captures, in addLambdaParameters() argument 562 for (const auto &Capture : Captures) { in addLambdaParameters() 1071 for (auto C = Intro.Captures.begin(), E = Intro.Captures.end(); C != E; in ActOnStartOfLambdaDefinition() 1112 if (!LSI->Captures.empty()) in ActOnStartOfLambdaDefinition() 1269 if (!LSI->Captures.empty()) in ActOnStartOfLambdaDefinition() 1277 addLambdaParameters(Intro.Captures, Method, CurScope); in ActOnStartOfLambdaDefinition() 1793 SmallVector<LambdaCapture, 4> Captures; in BuildLambdaExpr() local 1834 const Capture &From = LSI->Captures[I]; in BuildLambdaExpr() 1916 Captures.push_back(Capture); in BuildLambdaExpr() 1923 Class->setCaptures(Context, Captures); in BuildLambdaExpr() [all …]
|
H A D | SemaOpenMP.cpp | 8451 auto I = Captures.find(Capture); in tryBuildCapture() 8452 if (I != Captures.end()) in tryBuildCapture() 8456 Captures[Capture] = Ref; in tryBuildCapture() 9274 Captures); in checkOpenMPIterationSpace() 9276 ISC.buildCounterVar(Captures, DSA); in checkOpenMPIterationSpace() 9389 if (Captures) in buildCounterUpdate() 9405 if (Captures && !IsNonRectangularLB) in buildCounterUpdate() 9493 if (!Captures.empty()) { in buildPreInits() 9495 for (const auto &Pair : Captures) in buildPreInits() 9589 Captures[DRE] = DRE; in checkOpenMPLoop() [all …]
|
H A D | ScopeInfo.cpp | 228 for (auto &Cap : Captures) in isVLATypeCaptured()
|
H A D | SemaStmt.cpp | 4661 SmallVectorImpl<CapturedStmt::Capture> &Captures, in buildCapturedStmtCaptureList() argument 4663 for (const sema::Capture &Cap : RSI->Captures) { in buildCapturedStmtCaptureList() 4679 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList() 4682 Captures.push_back( in buildCapturedStmtCaptureList() 4690 Captures.push_back(CapturedStmt::Capture( in buildCapturedStmtCaptureList() 4813 SmallVector<CapturedStmt::Capture, 4> Captures; in ActOnCapturedRegionEnd() local 4815 if (buildCapturedStmtCaptureList(*this, RSI, Captures, CaptureInits)) in ActOnCapturedRegionEnd() 4823 Captures, CaptureInits, CD, RD); in ActOnCapturedRegionEnd()
|
H A D | SemaExpr.cpp | 16678 SmallVector<BlockDecl::Capture, 4> Captures; in ActOnBlockStmtExpr() local 16679 for (Capture &Cap : BSI->Captures) { in ActOnBlockStmtExpr() 16741 Captures.push_back(NewCap); in ActOnBlockStmtExpr() 16743 BD->setCaptures(Context, Captures, BSI->CXXThisCaptureIndex != 0); in ActOnBlockStmtExpr() 19003 if (llvm::any_of(LSI->Captures, [](Capture &C) { in buildLambdaCaptureFixit() 19023 if (CanDefaultCopyCapture && llvm::none_of(LSI->Captures, [](Capture &C) { in buildLambdaCaptureFixit() 19035 if (llvm::none_of(LSI->Captures, [](Capture &C) { in buildLambdaCaptureFixit()
|
H A D | SemaExprCXX.cpp | 1305 CSI->Captures[CSI->CXXThisCaptureIndex - 1].markUsed(BuildAndDiagnose); in CheckCXXThisCapture()
|
H A D | SemaCodeComplete.cpp | 6963 for (const auto &C : Intro.Captures) { in CodeCompleteLambdaIntroducer()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | Stmt.cpp | 1321 ArrayRef<Capture> Captures, in CapturedStmt() argument 1325 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()), in CapturedStmt() 1341 std::copy(Captures.begin(), Captures.end(), Buffer); in CapturedStmt() 1352 ArrayRef<Capture> Captures, in Create() argument 1365 assert(CaptureInits.size() == Captures.size() && "wrong number of arguments"); in Create() 1367 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1); in Create() 1368 if (!Captures.empty()) { in Create() 1371 Size += sizeof(Capture) * Captures.size(); in Create() 1375 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInits, CD, RD); in Create()
|
H A D | DeclCXX.cpp | 1466 Captures.push_back(CaptureList); in AddCaptureList() 1467 if (Captures.size() == 2) { in AddCaptureList() 1469 Ctx.addDestruction(&Captures); in AddCaptureList() 1478 Data.NumCaptures = Captures.size(); in setCaptures() 1483 for (unsigned I = 0, N = Captures.size(); I != N; ++I) { in setCaptures() 1484 if (Captures[I].isExplicit()) in setCaptures() 1487 *ToCapture++ = Captures[I]; in setCaptures() 1600 llvm::DenseMap<const ValueDecl *, FieldDecl *> &Captures, in getCaptureFields() argument 1602 Captures.clear(); in getCaptureFields() 1606 for (const LambdaCapture *List : Lambda.Captures) { in getCaptureFields() [all …]
|
H A D | Decl.cpp | 4927 void BlockDecl::setCaptures(ASTContext &Context, ArrayRef<Capture> Captures, in setCaptures() argument 4930 this->NumCaptures = Captures.size(); in setCaptures() 4932 if (Captures.empty()) { in setCaptures() 4933 this->Captures = nullptr; in setCaptures() 4937 this->Captures = Captures.copy(Context).data(); in setCaptures()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | DeclCXX.h | 417 llvm::TinyPtrVector<Capture*> Captures; member 1052 void setCaptures(ASTContext &Context, ArrayRef<LambdaCapture> Captures); 1072 getCaptureFields(llvm::DenseMap<const ValueDecl *, FieldDecl *> &Captures, 1085 return LambdaData.Captures.empty() ? nullptr : LambdaData.Captures.front(); in captures_begin()
|
H A D | Decl.h | 4392 const Capture *Captures = nullptr; variable 4459 ArrayRef<Capture> captures() const { return {Captures, NumCaptures}; } in captures() 4495 void setCaptures(ASTContext &Context, ArrayRef<Capture> Captures,
|
H A D | Stmt.h | 3616 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, 3637 ArrayRef<Capture> Captures,
|
/openbsd/gnu/llvm/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 2041 LambdaCapture &Cap1 = Lambda1.Captures.front()[I]; in MergeDefinitionData() 2042 LambdaCapture &Cap2 = Lambda2.Captures.front()[I]; in MergeDefinitionData() 2045 Lambda1.AddCaptureList(Reader.getContext(), Lambda2.Captures.front()); in MergeDefinitionData()
|
H A D | ASTWriter.cpp | 5950 const LambdaCapture &Capture = Lambda.Captures.front()[I]; in AddCXXDefinitionData()
|
/openbsd/gnu/usr.bin/binutils/gdb/mi/ |
H A D | ChangeLog-1999-2003 | 1980 function. Captures code that was repeated for all asynch
|
/openbsd/gnu/llvm/clang/docs/ |
H A D | LanguageExtensions.rst | 3607 void my_assert(bool pred, int line = __builtin_LINE(), // Captures line of caller
|