Home
last modified time | relevance | path

Searched refs:CS (Results 1 – 4 of 4) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_ast_replace.cpp42 void RSASTReplace::ReplaceInCompoundStmt(clang::CompoundStmt *CS) { in ReplaceInCompoundStmt() argument
43 clang::Stmt **UpdatedStmtList = new clang::Stmt*[CS->size()]; in ReplaceInCompoundStmt()
46 clang::CompoundStmt::body_iterator bI = CS->body_begin(); in ReplaceInCompoundStmt()
47 clang::CompoundStmt::body_iterator bE = CS->body_end(); in ReplaceInCompoundStmt()
57 CS->setStmts(C, UpdatedStmtList, UpdatedStmtCount); in ReplaceInCompoundStmt()
80 void RSASTReplace::VisitCompoundStmt(clang::CompoundStmt *CS) { in VisitCompoundStmt() argument
81 VisitStmt(CS); in VisitCompoundStmt()
82 ReplaceInCompoundStmt(CS); in VisitCompoundStmt()
86 void RSASTReplace::VisitCaseStmt(clang::CaseStmt *CS) { in VisitCaseStmt() argument
87 if (matchesStmt(CS->getSubStmt())) { in VisitCaseStmt()
[all …]
Dslang_rs_object_ref_count.cpp109 clang::CompoundStmt *CS = new(C) clang::CompoundStmt( in BuildCompoundStmt() local
114 return CS; in BuildCompoundStmt()
118 clang::CompoundStmt *CS, in AppendAfterStmt() argument
121 slangAssert(CS); in AppendAfterStmt()
122 clang::CompoundStmt::body_iterator bI = CS->body_begin(); in AppendAfterStmt()
123 clang::CompoundStmt::body_iterator bE = CS->body_end(); in AppendAfterStmt()
125 new clang::Stmt*[CS->size() + StmtList.size()]; in AppendAfterStmt()
162 CS->setStmts(C, UpdatedStmtList, UpdatedStmtCount); in AppendAfterStmt()
237 clang::CompoundStmt *CS = in InsertDestructors() local
242 R.ReplaceStmt(mOuterStmt, S, CS); in InsertDestructors()
[all …]
Dslang_rs_ast_replace.h56 void ReplaceInCompoundStmt(clang::CompoundStmt *CS);
70 void VisitCompoundStmt(clang::CompoundStmt *CS);
71 void VisitCaseStmt(clang::CaseStmt *CS);
Dslang_rs_object_ref_count.h53 explicit Scope(clang::CompoundStmt *CS) : mCS(CS) { in Scope() argument
141 void VisitCompoundStmt(clang::CompoundStmt *CS);