Home
last modified time | relevance | path

Searched refs:visitStatement (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/sksl/analysis/
DSkSLCanExitWithoutReturningValue.cpp27 bool visitStatement(const Statement& stmt) override { in visitStatement() function in SkSL::__anon79efe0f80111::ReturnsOnAllPathsVisitor
47 trueVisitor.visitStatement(*i.ifTrue()); in visitStatement()
49 falseVisitor.visitStatement(*i.ifFalse()); in visitStatement()
66 forVisitor.visitStatement(*f.statement()); in visitStatement()
76 doVisitor.visitStatement(*d.statement()); in visitStatement()
85 return INHERITED::visitStatement(stmt); in visitStatement()
105 caseVisitor.visitStatement(sc); in visitStatement()
137 return INHERITED::visitStatement(stmt); in visitStatement()
166 visitor.visitStatement(body); in CanExitWithoutReturningValue()
DSkSLSwitchCaseContainsExit.cpp20 bool visitStatement(const Statement& stmt) override { in visitStatement() function in SkSL::__anona28c6aa40111::SwitchCaseContainsExit
24 return INHERITED::visitStatement(stmt); in visitStatement()
42 bool result = INHERITED::visitStatement(stmt); in visitStatement()
54 bool result = INHERITED::visitStatement(stmt); in visitStatement()
62 bool result = INHERITED::visitStatement(stmt); in visitStatement()
82 return SwitchCaseContainsExit{/*conditionalExits=*/false}.visitStatement(stmt); in SwitchCaseContainsUnconditionalExit()
86 return SwitchCaseContainsExit{/*conditionalExits=*/true}.visitStatement(stmt); in SwitchCaseContainsConditionalExit()
DSkSLProgramUsage.cpp41 bool visitStatement(const Statement& s) override { in visitStatement() function in SkSL::__anona79a270a0111::ProgramUsageVisitor
53 return INHERITED::visitStatement(s); in visitStatement()
83 using ProgramVisitor::visitStatement;
138 addRefs.visitStatement(*stmt); in add()
153 subRefs.visitStatement(*stmt); in remove()
DSkSLCheckProgramUnrolledSize.cpp107 bool visitStatement(const Statement& stmt) override { in CheckProgramUnrolledSize() function in SkSL::Analysis::CheckProgramUnrolledSize::ProgramSizeVisitor
115 bool result = this->visitStatement(*forStmt.initializer()); in CheckProgramUnrolledSize()
121 this->visitStatement(*forStmt.statement()) || result; in CheckProgramUnrolledSize()
154 return earlyExit || INHERITED::visitStatement(stmt); in CheckProgramUnrolledSize()
DSkSLProgramVisitor.h41 virtual bool visitStatement(typename T::Statement& statement);
79 return this->visitStatement(*s); in visitStatementPtr()
/third_party/skia/src/sksl/
DSkSLInliner.cpp78 bool visitStatement(const Statement& stmt) override { in count_returns_at_end_of_control_flow() function in SkSL::__anon04f2a45b0111::count_returns_at_end_of_control_flow::CountReturnsAtEndOfControlFlow
84 this->visitStatement(*block.children().back()); in count_returns_at_end_of_control_flow()
97 return INHERITED::visitStatement(stmt); in count_returns_at_end_of_control_flow()
124 bool visitStatement(const Statement& stmt) override { in contains_recursive_call() function in SkSL::__anon04f2a45b0111::contains_recursive_call::ContainsRecursiveCall
129 return INHERITED::visitStatement(stmt); in contains_recursive_call()
178 bool visitStatement(const Statement& stmt) override { in visitStatement() function in SkSL::__anon04f2a45b0111::CountReturnsWithLimit
183 return (fNumReturns >= fLimit) || INHERITED::visitStatement(stmt); in visitStatement()
189 return INHERITED::visitStatement(stmt); in visitStatement()
194 bool result = INHERITED::visitStatement(stmt); in visitStatement()
206 return INHERITED::visitStatement(stmt); in visitStatement()
[all …]
DSkSLAnalysis.cpp169 this->visitStatement(s); in visit()
183 bool visitStatement(const Statement& s) override { in visitStatement() function in SkSL::__anon98f5b9ae0111::NodeCountVisitor
185 return (fCount >= fLimit) || INHERITED::visitStatement(s); in visitStatement()
201 return this->visitStatement(s); in visit()
485 bool visitStatement(const Statement& s) override { in visitStatement() function in SkSL::ES2IndexingVisitor
492 bool result = this->visitStatement(*f.statement()); in visitStatement()
496 return INHERITED::visitStatement(s); in visitStatement()
545 bool visitStatement(const Statement& stmt) override { in VerifyStaticTestsAndExpressions() function in SkSL::Analysis::VerifyStaticTestsAndExpressions::TestsAndExpressions
565 return INHERITED::visitStatement(stmt); in VerifyStaticTestsAndExpressions()
704 template <typename T> bool TProgramVisitor<T>::visitStatement(typename T::Statement& s) { in visitStatement() function in SkSL::TProgramVisitor
/third_party/skia/src/sksl/ir/
DSkSLFunctionDefinition.cpp144 bool visitStatement(Statement& stmt) override { in Convert() function in SkSL::FunctionDefinition::Convert::Finalizer
200 bool result = INHERITED::visitStatement(stmt); in Convert()
208 bool result = INHERITED::visitStatement(stmt); in Convert()
235 return INHERITED::visitStatement(stmt); in Convert()
255 Finalizer(context, function, &referencedIntrinsics).visitStatement(*body); in Convert()
/third_party/skia/src/sksl/transform/
DSkSLProgramWriter.h42 return this->visitStatement(*s); in visitStatementPtr()