Home
last modified time | relevance | path

Searched refs:Stmt (Results 1 – 6 of 6) 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()
69 void VisitStmt(clang::Stmt *S);
82 clang::Stmt *OuterStmt,
83 clang::Stmt *OldStmt,
84 clang::Stmt *NewStmt);
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()
64 void RSASTReplace::VisitStmt(clang::Stmt *S) { in VisitStmt()
68 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end(); in VisitStmt()
71 if (clang::Stmt *Child = *I) { in VisitStmt()
Dslang_rs_object_ref_count.cpp95 std::list<clang::Stmt*> &StmtList, clang::SourceLocation Loc) { in BuildCompoundStmt()
99 clang::Stmt **CompoundStmtList; in BuildCompoundStmt()
100 CompoundStmtList = new clang::Stmt*[NewStmtCount]; in BuildCompoundStmt()
102 std::list<clang::Stmt*>::const_iterator I = StmtList.begin(); in BuildCompoundStmt()
103 std::list<clang::Stmt*>::const_iterator E = StmtList.end(); in BuildCompoundStmt()
119 clang::Stmt *S, in AppendAfterStmt()
120 std::list<clang::Stmt*> &StmtList) { in AppendAfterStmt()
124 clang::Stmt **UpdatedStmtList = in AppendAfterStmt()
125 new clang::Stmt*[CS->size() + StmtList.size()]; in AppendAfterStmt()
130 if (!S && ((*bI)->getStmtClass() == clang::Stmt::ReturnStmtClass)) { in AppendAfterStmt()
[all …]
Dslang_rs_object_ref_count.h30 class Stmt; variable
71 static clang::Stmt *ClearRSObject(clang::VarDecl *VD,
139 void VisitStmt(clang::Stmt *S);
Dslang_rs_check_ast.cpp26 void RSCheckAST::VisitStmt(clang::Stmt *S) { in VisitStmt()
30 for (clang::Stmt::child_iterator I = S->child_begin(), E = S->child_end(); in VisitStmt()
33 if (clang::Stmt *Child = *I) { in VisitStmt()
181 if (clang::Stmt *Body = FD->getBody()) { in ValidateFunctionDecl()
300 } else if (clang::Stmt *Body = (*DI)->getBody()) { in Validate()
Dslang_rs_check_ast.h56 void VisitStmt(clang::Stmt *S);