Searched refs:visitStatementPtr (Results 1 – 5 of 5) sorted by relevance
34 bool visitStatementPtr(std::unique_ptr<Statement>& stmt) override { in EliminateUnreachableCode() function in SkSL::Transform::EliminateUnreachableCode::UnreachableCodeEliminator71 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()
33 bool visitStatementPtr(std::unique_ptr<Statement>& stmt) override { in EliminateDeadLocalVariables() function in SkSL::Transform::EliminateDeadLocalVariables::DeadLocalVariableEliminator57 return INHERITED::visitStatementPtr(stmt); in EliminateDeadLocalVariables()
41 bool visitStatementPtr(std::unique_ptr<Statement>& s) override { in visitStatementPtr() function
716 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()
45 virtual bool visitStatementPtr(typename T::UniquePtrStatement& stmt) = 0;78 bool visitStatementPtr(const std::unique_ptr<Statement>& s) final { in visitStatementPtr() function