/external/clang/lib/AST/ |
D | Stmt.cpp | 119 if (auto CapS = dyn_cast_or_null<CapturedStmt>(S)) in IgnoreContainers() 959 CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind, in Capture() 986 CapturedStmt::VariableCaptureKind 987 CapturedStmt::Capture::getCaptureKind() const { in getCaptureKind() 991 VarDecl *CapturedStmt::Capture::getCapturedVar() const { in getCapturedVar() 997 CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const { in getStoredCaptures() 998 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in getStoredCaptures() 1004 reinterpret_cast<char *>(const_cast<CapturedStmt *>(this)) in getStoredCaptures() 1008 CapturedStmt::CapturedStmt(Stmt *S, CapturedRegionKind Kind, in CapturedStmt() function in CapturedStmt 1032 CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures) in CapturedStmt() function in CapturedStmt [all …]
|
D | StmtPrinter.cpp | 451 void StmtPrinter::VisitCapturedStmt(CapturedStmt *Node) { in VisitCapturedStmt() 983 assert(isa<CapturedStmt>(S->getAssociatedStmt()) && in PrintOMPExecutableDirective() 985 Stmt *CS = cast<CapturedStmt>(S->getAssociatedStmt())->getCapturedStmt(); in PrintOMPExecutableDirective()
|
D | ASTDumper.cpp | 503 void VisitCapturedStmt(const CapturedStmt *Node); 1808 void ASTDumper::VisitCapturedStmt(const CapturedStmt *Node) { in VisitCapturedStmt()
|
D | StmtProfile.cpp | 223 void StmtProfiler::VisitCapturedStmt(const CapturedStmt *S) { in VisitCapturedStmt()
|
/external/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 63 auto *CS = cast<CapturedStmt>(S.getAssociatedStmt()); in OMPLexicalScope() 126 const CapturedStmt &S, SmallVectorImpl<llvm::Value *> &CapturedVars) { in GenerateOpenMPCapturedVars() 130 for (CapturedStmt::const_capture_init_iterator I = S.capture_init_begin(), in GenerateOpenMPCapturedVars() 198 CodeGenFunction::GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S) { in GenerateOpenMPCapturedStmtFunction() 584 CGCapturedStmtInfo CapturesInfo(cast<CapturedStmt>(*D.getAssociatedStmt())); in EmitOMPFirstprivateClause() 1194 auto CS = cast<CapturedStmt>(S.getAssociatedStmt()); in emitCommonOMPParallelDirective() 1243 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPParallelDirective() 1876 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPDistributeParallelForDirective() 1888 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPDistributeParallelForSimdDirective() 1900 cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPDistributeSimdDirective() [all …]
|
D | CGStmt.cpp | 149 const CapturedStmt *CS = cast<CapturedStmt>(S); in EmitStmt() 2150 LValue CodeGenFunction::InitCapturedStruct(const CapturedStmt &S) { in InitCapturedStruct() 2159 for (CapturedStmt::const_capture_init_iterator I = S.capture_init_begin(), in InitCapturedStruct() 2177 CodeGenFunction::EmitCapturedStmt(const CapturedStmt &S, CapturedRegionKind K) { in EmitCapturedStmt() 2192 Address CodeGenFunction::GenerateCapturedStmtArgument(const CapturedStmt &S) { in GenerateCapturedStmtArgument() 2199 CodeGenFunction::GenerateCapturedStmtFunction(const CapturedStmt &S) { in GenerateCapturedStmtFunction()
|
D | CGOpenMPRuntime.cpp | 51 CGOpenMPRegionInfo(const CapturedStmt &CS, in CGOpenMPRegionInfo() 99 CGOpenMPOutlinedRegionInfo(const CapturedStmt &CS, const VarDecl *ThreadIDVar, in CGOpenMPOutlinedRegionInfo() 177 CGOpenMPTaskOutlinedRegionInfo(const CapturedStmt &CS, in CGOpenMPTaskOutlinedRegionInfo() 298 CGOpenMPTargetRegionInfo(const CapturedStmt &CS, in CGOpenMPTargetRegionInfo() 327 CGOpenMPInnerExprInfo(CodeGenFunction &CGF, const CapturedStmt &CS) in CGOpenMPInnerExprInfo() 846 const CapturedStmt *CS = cast<CapturedStmt>(D.getAssociatedStmt()); in emitParallelOrTeamsOutlinedFunction() 882 auto *CS = cast<CapturedStmt>(D.getAssociatedStmt()); in emitTaskOutlinedFunction() 3517 cast<CapturedStmt>(*D.getAssociatedStmt())); in emitPrivatesInit() 4812 const CapturedStmt &CS = *cast<CapturedStmt>(D.getAssociatedStmt()); in emitTargetOutlinedFunctionHelper() 4884 const CapturedStmt &CS = *cast<CapturedStmt>(D.getAssociatedStmt()); in emitNumTeamsClauseForTargetDirective() [all …]
|
D | CodeGenFunction.h | 181 explicit CGCapturedStmtInfo(const CapturedStmt &S, 187 for (CapturedStmt::const_capture_iterator I = S.capture_begin(), in Kind() 2338 LValue InitCapturedStruct(const CapturedStmt &S); 2339 llvm::Function *EmitCapturedStmt(const CapturedStmt &S, CapturedRegionKind K); 2340 llvm::Function *GenerateCapturedStmtFunction(const CapturedStmt &S); 2341 Address GenerateCapturedStmtArgument(const CapturedStmt &S); 2342 llvm::Function *GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S); 2343 void GenerateOpenMPCapturedVars(const CapturedStmt &S,
|
D | CodeGenPGO.cpp | 128 bool TraverseCapturedStmt(CapturedStmt *CS) { return true; } in TraverseCapturedStmt()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 1458 CapturedStmt *CS; 1579 DSAAttrChecker(DSAStackTy *S, Sema &SemaRef, CapturedStmt *CS) in DSAAttrChecker() 3393 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPExecutableDirective() 3396 DSAAttrChecker DSAChecker(DSAStack, *this, cast<CapturedStmt>(AStmt)); in ActOnOpenMPExecutableDirective() 3397 DSAChecker.Visit(cast<CapturedStmt>(AStmt)->getCapturedStmt()); in ActOnOpenMPExecutableDirective() 3883 CapturedStmt *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelDirective() 5163 auto *CD = cast<CapturedStmt>(AStmt)->getCapturedDecl(); in CheckOpenMPLoop() 5460 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSimdDirective() 5514 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForDirective() 5550 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForSimdDirective() [all …]
|
D | SemaStmt.cpp | 3854 SmallVectorImpl<CapturedStmt::Capture> &Captures, in buildCapturedStmtCaptureList() 3862 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(), in buildCapturedStmtCaptureList() 3863 CapturedStmt::VCK_This)); in buildCapturedStmtCaptureList() 3868 CapturedStmt::Capture(Cap->getLocation(), CapturedStmt::VCK_VLAType)); in buildCapturedStmtCaptureList() 3873 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(), in buildCapturedStmtCaptureList() 3875 ? CapturedStmt::VCK_ByRef in buildCapturedStmtCaptureList() 3876 : CapturedStmt::VCK_ByCopy, in buildCapturedStmtCaptureList() 3980 SmallVector<CapturedStmt::Capture, 4> Captures; in ActOnCapturedRegionEnd() 3987 CapturedStmt *Res = CapturedStmt::Create( in ActOnCapturedRegionEnd()
|
D | TreeTransform.h | 7191 cast<CapturedStmt>(D->getAssociatedStmt())->getCapturedStmt()); in TransformOMPExecutableDirective() 11912 TreeTransform<Derived>::TransformCapturedStmt(CapturedStmt *S) { in TransformCapturedStmt()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 2006 class CapturedStmt : public Stmt { 2079 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, 2083 CapturedStmt(EmptyShell Empty, unsigned NumCaptures); 2096 static CapturedStmt *Create(const ASTContext &Context, Stmt *S, 2102 static CapturedStmt *CreateDeserialized(const ASTContext &Context,
|
D | RecursiveASTVisitor.h | 2381 DEF_TRAVERSE_STMT(CapturedStmt, { TRY_TO(TraverseDecl(S->getCapturedDecl())); })
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 30 def CapturedStmt : Stmt;
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 408 void ASTStmtReader::VisitCapturedStmt(CapturedStmt *S) { in VisitCapturedStmt() 416 for (CapturedStmt::capture_init_iterator I = S->capture_init_begin(), in VisitCapturedStmt() 429 .setInt(static_cast<CapturedStmt::VariableCaptureKind>(Record[Idx++])); in VisitCapturedStmt() 2934 S = CapturedStmt::CreateDeserialized(Context, in ReadStmtFromStream()
|
D | ASTWriterStmt.cpp | 323 void ASTStmtWriter::VisitCapturedStmt(CapturedStmt *S) { in VisitCapturedStmt()
|