Home
last modified time | relevance | path

Searched refs:CapturedStmt (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/AST/
DStmt.cpp119 if (auto CapS = dyn_cast_or_null<CapturedStmt>(S)) in IgnoreContainers()
948 CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind, in Capture()
975 CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const { in getStoredCaptures()
976 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in getStoredCaptures()
983 reinterpret_cast<char *>(const_cast<CapturedStmt *>(this)) in getStoredCaptures()
987 CapturedStmt::CapturedStmt(Stmt *S, CapturedRegionKind Kind, in CapturedStmt() function in CapturedStmt
1011 CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures) in CapturedStmt() function in CapturedStmt
1017 CapturedStmt *CapturedStmt::Create(const ASTContext &Context, Stmt *S, in Create()
1034 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1); in Create()
1042 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInits, CD, RD); in Create()
[all …]
DStmtPrinter.cpp450 void StmtPrinter::VisitCapturedStmt(CapturedStmt *Node) { in VisitCapturedStmt()
919 assert(isa<CapturedStmt>(S->getAssociatedStmt()) && in PrintOMPExecutableDirective()
921 Stmt *CS = cast<CapturedStmt>(S->getAssociatedStmt())->getCapturedStmt(); in PrintOMPExecutableDirective()
DStmtProfile.cpp222 void StmtProfiler::VisitCapturedStmt(const CapturedStmt *S) { in VisitCapturedStmt()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp24 const CapturedStmt &S, SmallVectorImpl<llvm::Value *> &CapturedVars) { in GenerateOpenMPCapturedVars()
28 for (CapturedStmt::const_capture_init_iterator I = S.capture_init_begin(), in GenerateOpenMPCapturedVars()
73 CodeGenFunction::GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S) { in GenerateOpenMPCapturedStmtFunction()
846 auto CS = cast<CapturedStmt>(S.getAssociatedStmt()); in emitCommonOMPParallelDirective()
894 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPParallelDirective()
1633 auto *Stmt = cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt(); in EmitSections()
1795 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPSectionDirective()
1828 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPSingleDirective()
1846 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPMasterDirective()
1854 CGF.EmitStmt(cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt()); in EmitOMPCriticalDirective()
[all …]
DCGStmt.cpp149 const CapturedStmt *CS = cast<CapturedStmt>(S); in EmitStmt()
2085 LValue CodeGenFunction::InitCapturedStruct(const CapturedStmt &S) { in InitCapturedStruct()
2094 for (CapturedStmt::const_capture_init_iterator I = S.capture_init_begin(), in InitCapturedStruct()
2112 CodeGenFunction::EmitCapturedStmt(const CapturedStmt &S, CapturedRegionKind K) { in EmitCapturedStmt()
2127 Address CodeGenFunction::GenerateCapturedStmtArgument(const CapturedStmt &S) { in GenerateCapturedStmtArgument()
2134 CodeGenFunction::GenerateCapturedStmtFunction(const CapturedStmt &S) { in GenerateCapturedStmtFunction()
DCGOpenMPRuntime.cpp48 CGOpenMPRegionInfo(const CapturedStmt &CS, in CGOpenMPRegionInfo()
92 CGOpenMPOutlinedRegionInfo(const CapturedStmt &CS, const VarDecl *ThreadIDVar, in CGOpenMPOutlinedRegionInfo()
122 CGOpenMPTaskOutlinedRegionInfo(const CapturedStmt &CS, in CGOpenMPTaskOutlinedRegionInfo()
221 CGOpenMPTargetRegionInfo(const CapturedStmt &CS, in CGOpenMPTargetRegionInfo()
344 const CapturedStmt *CS = cast<CapturedStmt>(D.getAssociatedStmt()); in emitParallelOutlinedFunction()
364 auto *CS = cast<CapturedStmt>(D.getAssociatedStmt()); in emitTaskOutlinedFunction()
2415 cast<CapturedStmt>(*D.getAssociatedStmt())); in emitTaskCall()
3243 const CapturedStmt &CS = *cast<CapturedStmt>(D.getAssociatedStmt()); in emitTargetOutlinedFunction()
3287 const CapturedStmt &CS = *cast<CapturedStmt>(D.getAssociatedStmt()); in emitTargetCall()
3291 for (CapturedStmt::const_capture_iterator CI = CS.capture_begin(), in emitTargetCall()
DCodeGenFunction.h178 explicit CGCapturedStmtInfo(const CapturedStmt &S,
184 for (CapturedStmt::const_capture_iterator I = S.capture_begin(), in Kind()
2207 LValue InitCapturedStruct(const CapturedStmt &S);
2208 llvm::Function *EmitCapturedStmt(const CapturedStmt &S, CapturedRegionKind K);
2209 llvm::Function *GenerateCapturedStmtFunction(const CapturedStmt &S);
2210 Address GenerateCapturedStmtArgument(const CapturedStmt &S);
2211 llvm::Function *GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S);
2212 void GenerateOpenMPCapturedVars(const CapturedStmt &S,
DCodeGenPGO.cpp123 bool TraverseCapturedStmt(CapturedStmt *CS) { return true; } in TraverseCapturedStmt()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1285 CapturedStmt *CS;
1361 DSAAttrChecker(DSAStackTy *S, Sema &SemaRef, CapturedStmt *CS) in DSAAttrChecker()
2480 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPExecutableDirective()
2483 DSAAttrChecker DSAChecker(DSAStack, *this, cast<CapturedStmt>(AStmt)); in ActOnOpenMPExecutableDirective()
2484 DSAChecker.Visit(cast<CapturedStmt>(AStmt)->getCapturedStmt()); in ActOnOpenMPExecutableDirective()
2672 CapturedStmt *CS = cast<CapturedStmt>(AStmt); in ActOnOpenMPParallelDirective()
4087 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSimdDirective()
4140 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForDirective()
4175 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPForSimdDirective()
4229 assert(isa<CapturedStmt>(AStmt) && "Captured statement expected"); in ActOnOpenMPSectionsDirective()
[all …]
DSemaStmt.cpp3786 SmallVectorImpl<CapturedStmt::Capture> &Captures, in buildCapturedStmtCaptureList()
3794 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(), in buildCapturedStmtCaptureList()
3795 CapturedStmt::VCK_This)); in buildCapturedStmtCaptureList()
3800 CapturedStmt::Capture(Cap->getLocation(), CapturedStmt::VCK_VLAType)); in buildCapturedStmtCaptureList()
3805 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(), in buildCapturedStmtCaptureList()
3807 ? CapturedStmt::VCK_ByRef in buildCapturedStmtCaptureList()
3808 : CapturedStmt::VCK_ByCopy, in buildCapturedStmtCaptureList()
3912 SmallVector<CapturedStmt::Capture, 4> Captures; in ActOnCapturedRegionEnd()
3919 CapturedStmt *Res = CapturedStmt::Create(getASTContext(), S, in ActOnCapturedRegionEnd()
DTreeTransform.h7081 cast<CapturedStmt>(D->getAssociatedStmt())->getCapturedStmt()); in TransformOMPExecutableDirective()
11566 TreeTransform<Derived>::TransformCapturedStmt(CapturedStmt *S) { in TransformCapturedStmt()
/external/clang/include/clang/AST/
DStmt.h1984 class CapturedStmt : public Stmt {
2060 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures,
2064 CapturedStmt(EmptyShell Empty, unsigned NumCaptures);
2077 static CapturedStmt *Create(const ASTContext &Context, Stmt *S,
2083 static CapturedStmt *CreateDeserialized(const ASTContext &Context,
DRecursiveASTVisitor.h2277 DEF_TRAVERSE_STMT(CapturedStmt, { TRY_TO(TraverseDecl(S->getCapturedDecl())); })
/external/clang/include/clang/Basic/
DStmtNodes.td30 def CapturedStmt : Stmt;
/external/clang/lib/Serialization/
DASTReaderStmt.cpp404 void ASTStmtReader::VisitCapturedStmt(CapturedStmt *S) { in VisitCapturedStmt()
412 for (CapturedStmt::capture_init_iterator I = S->capture_init_begin(), in VisitCapturedStmt()
425 .setInt(static_cast<CapturedStmt::VariableCaptureKind>(Record[Idx++])); in VisitCapturedStmt()
2632 S = CapturedStmt::CreateDeserialized(Context, in ReadStmtFromStream()
DASTWriterStmt.cpp310 void ASTStmtWriter::VisitCapturedStmt(CapturedStmt *S) { in VisitCapturedStmt()
/external/v8/third_party/llvm-build/Release+Asserts/
Dbuildlog.txt3694 …/linux_upload_clang/build/src/third_party/llvm-bootstrap-install/include/clang/Basic/CapturedStmt.h