Home
last modified time | relevance | path

Searched refs:Stmt (Results 1 – 8 of 8) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_ast_replace.h28 class Stmt; variable
36 clang::Stmt *mOuterStmt;
37 clang::Stmt *mOldStmt;
38 clang::Stmt *mNewStmt;
51 inline bool matchesStmt(const clang::Stmt *S) const { in matchesStmt()
68 void VisitStmt(clang::Stmt *S);
82 clang::Stmt *OuterStmt,
83 clang::Stmt *OldStmt,
84 clang::Stmt *NewStmt);
Dslang_rs_object_ref_count.cpp96 clang::Stmt *CreateSingleRSSetObject(clang::ASTContext &C,
104 std::vector<clang::Stmt*> &StmtList, clang::SourceLocation Loc) { in BuildCompoundStmt()
108 clang::Stmt **CompoundStmtList; in BuildCompoundStmt()
109 CompoundStmtList = new clang::Stmt*[NewStmtCount]; in BuildCompoundStmt()
111 std::vector<clang::Stmt*>::const_iterator I = StmtList.begin(); in BuildCompoundStmt()
112 std::vector<clang::Stmt*>::const_iterator E = StmtList.end(); in BuildCompoundStmt()
128 clang::Stmt *S, in AppendAfterStmt()
129 std::list<clang::Stmt*> &StmtList) { in AppendAfterStmt()
133 clang::Stmt **UpdatedStmtList = in AppendAfterStmt()
134 new clang::Stmt*[CS->size() + StmtList.size()]; in AppendAfterStmt()
[all …]
Dslang_rs_object_ref_count.h31 class Stmt; variable
54 clang::Stmt *mCurrent; // The statement currently being analyzed
89 void setCurrentStmt(clang::Stmt *S) { mCurrent = S; } in setCurrentStmt()
92 void InsertStmt(const clang::ASTContext &C, clang::Stmt *NewStmt);
95 void ReplaceStmt(const clang::ASTContext &C, clang::Stmt *NewStmt);
101 static clang::Stmt *ClearRSObject(clang::VarDecl *VD,
224 std::vector<clang::Stmt*> &NewStmts);
275 std::vector<clang::Stmt*> &NewStmts);
280 void VisitStmt(clang::Stmt *S);
Dslang_rs_ast_replace.cpp26 clang::Stmt *OuterStmt, in ReplaceStmt()
27 clang::Stmt *OldStmt, in ReplaceStmt()
28 clang::Stmt *NewStmt) { in ReplaceStmt()
43 clang::Stmt **UpdatedStmtList = new clang::Stmt*[CS->size()]; in ReplaceInCompoundStmt()
62 void RSASTReplace::VisitStmt(clang::Stmt *S) { in VisitStmt()
66 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end(); in VisitStmt()
69 if (clang::Stmt *Child = *I) { in VisitStmt()
Dslang_rs_check_ast.cpp29 void RSCheckAST::VisitStmt(clang::Stmt *S) { in VisitStmt()
33 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end(); in VisitStmt()
36 if (clang::Stmt *Child = *I) { in VisitStmt()
187 if (clang::Stmt *Body = FD->getBody()) { in ValidateFunctionDecl()
305 } else if (clang::Stmt *Body = (*DI)->getBody()) { in Validate()
Dslang_rs_foreach_lowering.h45 void VisitStmt(clang::Stmt *S);
Dslang_rs_check_ast.h60 void VisitStmt(clang::Stmt *S);
Dslang_rs_foreach_lowering.cpp376 void RSForEachLowering::VisitStmt(clang::Stmt* S) { in VisitStmt()
377 for (clang::Stmt* Child : S->children()) { in VisitStmt()