/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Decl.h | 4097 const Capture *Captures = nullptr; 4164 ArrayRef<Capture> captures() const { return {Captures, NumCaptures}; } 4200 void setCaptures(ASTContext &Context, ArrayRef<Capture> Captures,
|
H A D | DeclCXX.h | 405 Capture *Captures = nullptr; member in struct:clang::CXXRecordDecl::LambdaDefinitionData 1005 /// \param Captures Will be populated with the mapping from captured 1013 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, 1024 return isLambda() ? getLambdaData().Captures : nullptr;
|
H A D | ExprCXX.h | 1853 SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures, 1879 ArrayRef<LambdaCapture> Captures, bool ExplicitParams,
|
H A D | Stmt.h | 3463 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, 3484 ArrayRef<Capture> Captures,
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 224 /// Captures information about "declaration specifiers". 812 /// Captures information about "declaration specifiers" specific to 2661 SmallVector<LambdaCapture, 4> Captures; 2675 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, InitKind, Init,
|
H A D | ScopeInfo.h | 643 /// CaptureMap - A map of captured variables to (index+1) into Captures. 650 /// Captures - The captures. 651 SmallVector<Capture, 4> Captures; member in class:clang::sema::CapturingScopeInfo 664 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc, 666 CaptureMap[Var] = Captures.size(); 671 Captures.push_back(Capture(Capture::VLACapture, VLAType, 684 return Captures[CXXThisCaptureIndex - 1]; 699 return Captures[CaptureMap[Var] - 1]; 706 return Captures[Known->second - 1]; 809 /// The number of captures in the \c Captures lis [all...] |
H A D | Sema.h | 6165 ArrayRef<LambdaIntroducer::LambdaCapture> Captures,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 4557 void BlockDecl::setCaptures(ASTContext &Context, ArrayRef<Capture> Captures, argument 4560 this->NumCaptures = Captures.size(); 4562 if (Captures.empty()) { 4563 this->Captures = nullptr; 4567 this->Captures = Captures.copy(Context).data();
|
H A D | DeclCXX.cpp | 1455 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, 1457 Captures.clear(); 1462 for (const LambdaCapture *C = Lambda.Captures, *CEnd = C + Lambda.NumCaptures; 1467 Captures[C->getCapturedVar()] = *Field;
|
H A D | ExprCXX.cpp | 1175 ArrayRef<LambdaCapture> Captures, bool ExplicitParams, 1183 NumCaptures(Captures.size()), CaptureDefault(CaptureDefault), 1186 assert(CaptureInits.size() == Captures.size() && "Wrong number of arguments"); 1196 Data.Captures = 1198 LambdaCapture *ToCapture = Data.Captures; 1199 for (unsigned I = 0, N = Captures.size(); I != N; ++I) { 1200 if (Captures[I].isExplicit()) 1203 *ToCapture++ = Captures[I]; 1218 SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures, 1225 unsigned Size = totalSizeToAlloc<Stmt *>(Captures 1172 LambdaExpr(QualType T, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument 1215 Create( const ASTContext &Context, CXXRecordDecl *Class, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument [all...] |
H A D | Stmt.cpp | 1219 ArrayRef<Capture> Captures, 1223 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()), 1239 std::copy(Captures.begin(), Captures.end(), Buffer); 1250 ArrayRef<Capture> Captures, 1263 assert(CaptureInits.size() == Captures.size() && "wrong number of arguments"); 1265 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1); 1266 if (!Captures.empty()) { 1269 Size += sizeof(Capture) * Captures.size(); 1273 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInit 1218 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument 1248 Create(const ASTContext &Context, Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 362 info.Captures.insert({Capture->getVariable(), C}); 594 info.Captures[variable] = CGBlockInfo::Capture::makeConstant(constant); 1905 const SmallVectorImpl<BlockCaptureManagedEntity> &Captures, 1919 for (const BlockCaptureManagedEntity &E : Captures) { 1904 getCopyDestroyHelperFuncName( const SmallVectorImpl<BlockCaptureManagedEntity> &Captures, CharUnits BlockAlignment, CaptureStrKind StrKind, CodeGenModule &CGM) argument
|
H A D | CGBlocks.h | 242 llvm::DenseMap<const VarDecl*, Capture> Captures; member in class:clang::CodeGen::CGBlockInfo 275 it = Captures.find(var); 276 assert(it != Captures.end() && "no entry for variable!");
|
H A D | CGException.cpp | 1658 llvm::SmallSetVector<const VarDecl *, 4> Captures; member in struct:__anon351::CaptureFinder 1665 return !Captures.empty() || SEHCodeSlot.isValid(); 1679 Captures.insert(ParentThis); 1685 Captures.insert(D); 1689 Captures.insert(ParentThis); 1798 for (const VarDecl *VD : Finder.Captures) {
|
H A D | CGOpenMPRuntime.cpp | 8165 llvm::DenseMap<const VarDecl *, FieldDecl *> Captures; local 8167 RD->getCaptureFields(Captures, ThisCapture); 8188 auto It = Captures.find(VD); 8189 assert(It != Captures.end() && "Found lambda capture without field.");
|
H A D | CGOpenMPRuntimeNVPTX.cpp | 4885 llvm::DenseMap<const VarDecl *, FieldDecl *> Captures; 4887 RD->getCaptureFields(Captures, ThisCapture); 4900 auto It = Captures.find(VD); 4901 assert(It != Captures.end() && "Found lambda capture without field.");
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 226 for (auto &Cap : Captures)
|
H A D | SemaCodeComplete.cpp | 5756 for (const auto &C : Intro.Captures) {
|
H A D | SemaDecl.cpp | 7283 for (const Capture &Capture : LSI->Captures) {
|
H A D | SemaExpr.cpp | 14463 SmallVector<BlockDecl::Capture, 4> Captures; local 14464 for (Capture &Cap : BSI->Captures) { 14525 Captures.push_back(NewCap); 14527 BD->setCaptures(Context, Captures, BSI->CXXThisCaptureIndex != 0);
|
H A D | SemaExprCXX.cpp | 1188 CSI->Captures[CSI->CXXThisCaptureIndex - 1].markUsed(BuildAndDiagnose);
|
H A D | SemaLambda.cpp | 539 ArrayRef<LambdaIntroducer::LambdaCapture> Captures, 551 for (const auto &Capture : Captures) { 1031 for (auto C = Intro.Captures.begin(), E = Intro.Captures.end(); C != E; 1072 if (!LSI->Captures.empty()) 1073 LSI->ExplicitCaptureRanges[LSI->Captures.size() - 1] = C->ExplicitRange; 1224 if (!LSI->Captures.empty()) 1225 LSI->ExplicitCaptureRanges[LSI->Captures.size() - 1] = C->ExplicitRange; 1232 addLambdaParameters(Intro.Captures, Method, CurScope); 1655 SmallVector<LambdaCapture, 4> Captures; local 538 addLambdaParameters( ArrayRef<LambdaIntroducer::LambdaCapture> Captures, CXXMethodDecl *CallOperator, Scope *CurScope) argument [all...] |
H A D | SemaOpenMP.cpp | 3820 llvm::DenseMap<const VarDecl *, FieldDecl *> Captures; 3822 RD->getCaptureFields(Captures, ThisCapture); 5744 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const; 5748 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const; 5751 buildCounterVar(llvm::MapVector<const Expr *, DeclRefExpr *> &Captures, 5764 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures, 5769 Scope *S, llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) const; 6302 llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) { 6309 auto I = Captures.find(Capture); 6310 if (I != Captures [all...] |
H A D | SemaStmt.cpp | 4298 SmallVectorImpl<CapturedStmt::Capture> &Captures, 4300 for (const sema::Capture &Cap : RSI->Captures) { 4316 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), 4319 Captures.push_back( 4327 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), 4450 SmallVector<CapturedStmt::Capture, 4> Captures; local 4452 if (buildCapturedStmtCaptureList(*this, RSI, Captures, CaptureInits)) 4460 Captures, CaptureInits, CD, RD); 4297 buildCapturedStmtCaptureList(Sema &S, CapturedRegionScopeInfo *RSI, SmallVectorImpl<CapturedStmt::Capture> &Captures, SmallVectorImpl<Expr *> &CaptureInits) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1710 Lambda.Captures = (Capture *)Reader.getContext().Allocate( 1712 Capture *ToCapture = Lambda.Captures;
|