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()
68 void VisitStmt(clang::Stmt *S);
81 clang::Stmt *OuterStmt,
82 clang::Stmt *OldStmt,
83 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()
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_object_ref_count.cpp97 std::list<clang::Stmt*> &StmtList, clang::SourceLocation Loc) { in BuildCompoundStmt()
101 clang::Stmt **CompoundStmtList; in BuildCompoundStmt()
102 CompoundStmtList = new clang::Stmt*[NewStmtCount]; in BuildCompoundStmt()
104 std::list<clang::Stmt*>::const_iterator I = StmtList.begin(); in BuildCompoundStmt()
105 std::list<clang::Stmt*>::const_iterator E = StmtList.end(); in BuildCompoundStmt()
121 clang::Stmt *S, in AppendAfterStmt()
122 std::list<clang::Stmt*> &StmtList) { in AppendAfterStmt()
126 clang::Stmt **UpdatedStmtList = in AppendAfterStmt()
127 new clang::Stmt*[CS->size() + StmtList.size()]; in AppendAfterStmt()
132 if (!S && ((*bI)->getStmtClass() == clang::Stmt::ReturnStmtClass)) { in AppendAfterStmt()
[all …]
Dslang_rs_object_ref_count.h30 class Stmt; variable
69 static clang::Stmt *ClearRSObject(clang::VarDecl *VD,
143 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()
174 if (clang::Stmt *Body = FD->getBody()) { in ValidateFunctionDecl()
286 } else if (clang::Stmt *Body = (*DI)->getBody()) { in Validate()
Dslang_rs_check_ast.h60 void VisitStmt(clang::Stmt *S);