Home
last modified time | relevance | path

Searched refs:ForLoopStatement (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/ast/
Dfor_loop_statement.cc19 TINT_INSTANTIATE_TYPEINFO(tint::ast::ForLoopStatement);
24 ForLoopStatement::ForLoopStatement(ProgramID pid, in ForLoopStatement() function in tint::ast::ForLoopStatement
43 ForLoopStatement::ForLoopStatement(ForLoopStatement&&) = default;
45 ForLoopStatement::~ForLoopStatement() = default;
47 const ForLoopStatement* ForLoopStatement::Clone(CloneContext* ctx) const { in Clone()
55 return ctx->dst->create<ForLoopStatement>(src, init, cond, cont, b); in Clone()
Dfor_loop_statement.h26 class ForLoopStatement : public Castable<ForLoopStatement, Statement> {
35 ForLoopStatement(ProgramID program_id,
42 ForLoopStatement(ForLoopStatement&&);
43 ~ForLoopStatement() override;
49 const ForLoopStatement* Clone(CloneContext* ctx) const override;
/third_party/skia/third_party/externals/tint/src/sem/
Dfor_loop_statement.cc19 TINT_INSTANTIATE_TYPEINFO(tint::sem::ForLoopStatement);
24 ForLoopStatement::ForLoopStatement(const ast::ForLoopStatement* declaration, in ForLoopStatement() function in tint::sem::ForLoopStatement
29 ForLoopStatement::~ForLoopStatement() = default;
31 const ast::ForLoopStatement* ForLoopStatement::Declaration() const { in Declaration()
32 return static_cast<const ast::ForLoopStatement*>(Base::Declaration()); in Declaration()
Dfor_loop_statement.h22 class ForLoopStatement; variable
33 class ForLoopStatement : public Castable<ForLoopStatement, CompoundStatement> {
39 ForLoopStatement(const ast::ForLoopStatement* declaration,
44 ~ForLoopStatement() override;
47 const ast::ForLoopStatement* Declaration() const;
/third_party/skia/third_party/externals/tint/src/resolver/
Dcompound_statement_test.cc171 EXPECT_TRUE(s->Is<sem::ForLoopStatement>()); in TEST_F()
178 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::ForLoopStatement>()); in TEST_F()
179 EXPECT_TRUE(Is<sem::ForLoopStatement>(s->Parent())); in TEST_F()
188 ASSERT_TRUE(Is<sem::ForLoopStatement>(s)); in TEST_F()
197 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::ForLoopStatement>()); in TEST_F()
198 EXPECT_TRUE(Is<sem::ForLoopStatement>(s->Parent())); in TEST_F()
208 EXPECT_TRUE(Is<sem::ForLoopStatement>(s->Parent()->Parent())); in TEST_F()
210 s->FindFirstParent<sem::ForLoopStatement>()); in TEST_F()
Dresolver.h48 class ForLoopStatement; variable
64 class ForLoopStatement; variable
217 sem::ForLoopStatement* ForLoopStatement(const ast::ForLoopStatement*);
249 bool ValidateForLoopStatement(const sem::ForLoopStatement* stmt);
Dresolver.cc855 if (auto* l = stmt->As<ast::ForLoopStatement>()) { in Statement()
856 return ForLoopStatement(l); in Statement()
1040 sem::ForLoopStatement* Resolver::ForLoopStatement( in ForLoopStatement() function in tint::resolver::Resolver
1041 const ast::ForLoopStatement* stmt) { in ForLoopStatement()
1042 auto* sem = builder_->create<sem::ForLoopStatement>( in ForLoopStatement()
2676 if (auto* f = As<sem::ForLoopStatement>(s->Parent())) { in ClosestContinuing()
Ddependency_graph.cc221 if (auto* l = stmt->As<ast::ForLoopStatement>()) { in TraverseStatement()
/third_party/skia/third_party/externals/tint/src/transform/
Dfor_loop_to_loop.cc30 [&](const ast::ForLoopStatement* for_loop) -> const ast::Statement* { in Run()
Dloop_to_for_loop.cc128 return ctx.dst->create<ast::ForLoopStatement>(initializer, condition, in Run()
Dtransform.cc84 if (tint::Is<sem::ForLoopStatement>(sem->Parent())) { in RemoveStatement()
/third_party/skia/third_party/externals/tint/docs/
Dcompound_statements.md52 sem::ForLoopStatement {
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.h139 bool EmitForLoop(const ast::ForLoopStatement* stmt);
Dgenerator_impl.cc840 if (auto* l = stmt->As<ast::ForLoopStatement>()) { in EmitStatement()
999 bool GeneratorImpl::EmitForLoop(const ast::ForLoopStatement* stmt) { in EmitForLoop()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.h266 bool EmitForLoop(const ast::ForLoopStatement* stmt);
Dgenerator_impl.cc1839 bool GeneratorImpl::EmitForLoop(const ast::ForLoopStatement* stmt) { in EmitForLoop()
2117 if (auto* l = stmt->As<ast::ForLoopStatement>()) { in EmitStatement()
/third_party/node/deps/v8/src/torque/
Dast.h60 V(ForLoopStatement) \
793 struct ForLoopStatement : Statement { struct
794 DEFINE_AST_NODE_LEAF_BOILERPLATE(ForLoopStatement)
795 ForLoopStatement(SourcePosition pos, base::Optional<Statement*> declaration, in ForLoopStatement() function
Dimplementation-visitor.h572 const Type* Visit(ForLoopStatement* stmt);
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.h299 bool EmitForLoop(const ast::ForLoopStatement* stmt);
Dgenerator_impl.cc2113 bool GeneratorImpl::EmitForLoop(const ast::ForLoopStatement* stmt) { in EmitForLoop()
2288 if (auto* l = stmt->As<ast::ForLoopStatement>()) { in EmitStatement()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.h339 bool EmitForLoop(const ast::ForLoopStatement* stmt);
Dgenerator_impl.cc3078 bool GeneratorImpl::EmitForLoop(const ast::ForLoopStatement* stmt) { in EmitForLoop()
3253 if (auto* l = stmt->As<ast::ForLoopStatement>()) { in EmitStatement()
/third_party/skia/third_party/externals/tint/src/
Dprogram_builder.h2138 const ast::ForLoopStatement* For(const Source& source, in For()
2143 return create<ast::ForLoopStatement>( in For()
2155 const ast::ForLoopStatement* For(const ast::Statement* init, in For()
2159 return create<ast::ForLoopStatement>(init, Expr(std::forward<COND>(cond)), in For()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.h554 Maybe<const ast::ForLoopStatement*> for_stmt();
Dparser_impl.cc2080 Maybe<const ast::ForLoopStatement*> ParserImpl::for_stmt() { in for_stmt()
2095 return create<ast::ForLoopStatement>( in for_stmt()

12