Home
last modified time | relevance | path

Searched refs:visitStatementPtr (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/sksl/transform/
DSkSLEliminateUnreachableCode.cpp34 bool visitStatementPtr(std::unique_ptr<Statement>& stmt) override { in EliminateUnreachableCode() function in SkSL::Transform::EliminateUnreachableCode::UnreachableCodeEliminator
71 return INHERITED::visitStatementPtr(stmt); in EliminateUnreachableCode()
77 bool result = INHERITED::visitStatementPtr(stmt); in EliminateUnreachableCode()
86 bool result = INHERITED::visitStatementPtr(stmt); in EliminateUnreachableCode()
99 bool result = (ifStmt.ifTrue() && this->visitStatementPtr(ifStmt.ifTrue())); in EliminateUnreachableCode()
107 result |= (ifStmt.ifFalse() && this->visitStatementPtr(ifStmt.ifFalse())); in EliminateUnreachableCode()
138 visitor.visitStatementPtr(pe->as<FunctionDefinition>().body()); in EliminateUnreachableCode()
DSkSLEliminateDeadLocalVariables.cpp33 bool visitStatementPtr(std::unique_ptr<Statement>& stmt) override { in EliminateDeadLocalVariables() function in SkSL::Transform::EliminateDeadLocalVariables::DeadLocalVariableEliminator
57 return INHERITED::visitStatementPtr(stmt); in EliminateDeadLocalVariables()
DSkSLProgramWriter.h41 bool visitStatementPtr(std::unique_ptr<Statement>& s) override { in visitStatementPtr() function
/third_party/skia/src/sksl/
DSkSLAnalysis.cpp716 if (stmt && this->visitStatementPtr(stmt)) { in visitStatement()
727 return this->visitStatementPtr(sc.statement()); in visitStatement()
731 return this->visitExpressionPtr(d.test()) || this->visitStatementPtr(d.statement()); in visitStatement()
738 return (f.initializer() && this->visitStatementPtr(f.initializer())) || in visitStatement()
741 this->visitStatementPtr(f.statement()); in visitStatement()
746 (i.ifTrue() && this->visitStatementPtr(i.ifTrue())) || in visitStatement()
747 (i.ifFalse() && this->visitStatementPtr(i.ifFalse())); in visitStatement()
759 if (this->visitStatementPtr(c)) { in visitStatement()
785 return this->visitStatementPtr(pe.template as<FunctionDefinition>().body()); in visitProgramElement()
788 return this->visitStatementPtr(pe.template as<GlobalVarDeclaration>().declaration()); in visitProgramElement()
/third_party/skia/src/sksl/analysis/
DSkSLProgramVisitor.h45 virtual bool visitStatementPtr(typename T::UniquePtrStatement& stmt) = 0;
78 bool visitStatementPtr(const std::unique_ptr<Statement>& s) final { in visitStatementPtr() function