Home
last modified time | relevance | path

Searched refs:BreakStatement (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/skia/third_party/externals/tint/src/ast/
Dbreak_statement.cc19 TINT_INSTANTIATE_TYPEINFO(tint::ast::BreakStatement);
24 BreakStatement::BreakStatement(ProgramID pid, const Source& src) in BreakStatement() function in tint::ast::BreakStatement
27 BreakStatement::BreakStatement(BreakStatement&&) = default;
29 BreakStatement::~BreakStatement() = default;
31 const BreakStatement* BreakStatement::Clone(CloneContext* ctx) const { in Clone()
34 return ctx->dst->create<BreakStatement>(src); in Clone()
Dbreak_statement.h24 class BreakStatement : public Castable<BreakStatement, Statement> {
29 BreakStatement(ProgramID pid, const Source& src);
31 BreakStatement(BreakStatement&&);
32 ~BreakStatement() override;
38 const BreakStatement* Clone(CloneContext* ctx) const override;
Dbreak_statement_test.cc26 auto* stmt = create<BreakStatement>(Source{Source::Location{20, 2}}); in TEST_F()
33 auto* stmt = create<BreakStatement>(); in TEST_F()
34 EXPECT_TRUE(stmt->Is<BreakStatement>()); in TEST_F()
Dstatement.cc47 if (Is<BreakStatement>()) { in Name()
/third_party/skia/src/sksl/ir/
DSkSLBreakStatement.h19 class BreakStatement final : public Statement {
23 BreakStatement(int line) in BreakStatement() function
27 return std::make_unique<BreakStatement>(line); in Make()
31 return std::make_unique<BreakStatement>(fLine); in clone()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_case_test.cc25 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
42 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
58 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
Dgenerator_impl_switch_test.cc27 auto* def_body = Block(create<ast::BreakStatement>()); in TEST_F()
33 auto* case_body = Block(create<ast::BreakStatement>()); in TEST_F()
Dgenerator_impl_break_test.cc25 auto* b = create<ast::BreakStatement>(); in TEST_F()
Dgenerator_impl.h87 bool EmitBreak(const ast::BreakStatement* stmt);
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_case_test.cc26 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
74 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
91 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
Dgenerator_impl_switch_test.cc27 auto* def_body = Block(create<ast::BreakStatement>()); in TEST_F()
33 auto* case_body = Block(create<ast::BreakStatement>()); in TEST_F()
Dgenerator_impl_break_test.cc25 auto* b = create<ast::BreakStatement>(); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_case_test.cc26 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
74 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
91 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
Dgenerator_impl_switch_test.cc27 auto* def_body = Block(create<ast::BreakStatement>()); in TEST_F()
33 auto* case_body = Block(create<ast::BreakStatement>()); in TEST_F()
Dgenerator_impl_break_test.cc25 auto* b = create<ast::BreakStatement>(); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_case_test.cc26 auto* s = Switch(1, Case(Expr(5), Block(create<ast::BreakStatement>())), in TEST_F()
81 Switch(1, Case({Expr(5), Expr(6)}, Block(create<ast::BreakStatement>())), in TEST_F()
98 auto* s = Switch(1, DefaultCase(Block(create<ast::BreakStatement>()))); in TEST_F()
Dgenerator_impl_break_test.cc25 auto* b = create<ast::BreakStatement>(); in TEST_F()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_break_stmt_test.cc29 ASSERT_TRUE(e->Is<ast::BreakStatement>()); in TEST_F()
Dparser_impl.h34 class BreakStatement; variable
512 Maybe<const ast::BreakStatement*> break_stmt();
/third_party/skia/third_party/externals/tint/src/transform/
Dfor_loop_to_loop.cc39 ctx.dst->Block(ctx.dst->create<ast::BreakStatement>()); in Run()
Dloop_to_for_loop.cc36 return block->statements[0]->Is<ast::BreakStatement>(); in IsBlockWithSingleBreak()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_if_test.cc281 auto* if_body = Block(create<ast::BreakStatement>()); in TEST_F()
324 auto* else_body = Block(create<ast::BreakStatement>()); in TEST_F()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver.h210 sem::Statement* BreakStatement(const ast::BreakStatement*);
Dvalidation_test.cc1018 WrapInFunction(Loop(Block(create<ast::BreakStatement>(Source{{12, 34}})))); in TEST_F()
1025 Case(Expr(1), Block(create<ast::BreakStatement>(Source{{12, 34}}))), in TEST_F()
1031 WrapInFunction(create<ast::BreakStatement>(Source{{12, 34}})); in TEST_F()
/third_party/typescript/src/compiler/transformers/
Dgenerators.ts372 case SyntaxKind.BreakStatement:
373 return visitBreakStatement(node as BreakStatement);
1226 case SyntaxKind.BreakStatement:
1227 return transformAndEmitBreakStatement(node as BreakStatement);
1669 function transformAndEmitBreakStatement(node: BreakStatement): void {
1680 function visitBreakStatement(node: BreakStatement): Statement {

1234