Home
last modified time | relevance | path

Searched refs:FallthroughStatement (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/tint/src/ast/
H A Dfallthrough_statement.cc19 TINT_INSTANTIATE_TYPEINFO(tint::ast::FallthroughStatement); variable
24 FallthroughStatement::FallthroughStatement(ProgramID pid, const Source& src) in FallthroughStatement() function in tint::ast::FallthroughStatement
27 FallthroughStatement::FallthroughStatement(FallthroughStatement&&) = default;
29 FallthroughStatement::~FallthroughStatement() = default;
31 const FallthroughStatement* FallthroughStatement
[all...]
H A Dfallthrough_statement.h24 class FallthroughStatement : public Castable<FallthroughStatement, Statement> { class
29 FallthroughStatement(ProgramID pid, const Source& src);
31 FallthroughStatement(FallthroughStatement&&);
32 ~FallthroughStatement() override;
38 const FallthroughStatement* Clone(CloneContext* ctx) const override;
H A Dfallthrough_statement_test.cc26 auto* stmt = create<FallthroughStatement>(); in TEST_F()
34 auto* stmt = create<FallthroughStatement>(Source{Source::Location{20, 2}}); in TEST_F()
41 auto* stmt = create<FallthroughStatement>(); in TEST_F()
42 EXPECT_TRUE(stmt->Is<FallthroughStatement>()); in TEST_F()
H A Dstatement.cc65 if (Is<FallthroughStatement>()) { in Name()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
H A Dgenerator_impl_fallthrough_test.cc25 auto* f = create<ast::FallthroughStatement>(); in TEST_F()
H A Dgenerator_impl.h114 bool EmitFallthrough(const ast::FallthroughStatement* stmt);
H A Dgenerator_impl.cc831 if (auto* f = stmt->As<ast::FallthroughStatement>()) { in EmitStatement()
930 bool GeneratorImpl::EmitFallthrough(const ast::FallthroughStatement*) { in EmitFallthrough()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dparser_impl_case_body_test.cc62 EXPECT_TRUE(e->statements[0]->Is<ast::FallthroughStatement>()); in TEST_F()
H A Dparser_impl.cc1966 stmts.emplace_back(create<ast::FallthroughStatement>(source)); in case_body()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
H A Dgenerator_impl_case_test.cc57 auto* s = Switch(1, Case(Expr(5), Block(create<ast::FallthroughStatement>())), in TEST_F()
H A Dgenerator_impl.cc77 return IsAnyOf<ast::BreakStatement, ast::FallthroughStatement>(stmts->Last()); in last_is_break_or_fallthrough()
2278 if (stmt->As<ast::FallthroughStatement>()) {
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
H A Dgenerator_impl_case_test.cc59 Case(Expr(4), Block(create<ast::FallthroughStatement>())), // in TEST_F()
H A Dgenerator_impl.cc2447 while (tint::Is<ast::FallthroughStatement>(stmt->body->Last())) {
2457 if (!tint::IsAnyOf<ast::BreakStatement, ast::FallthroughStatement>(
3243 if (stmt->As<ast::FallthroughStatement>()) {
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl_case_test.cc57 auto* s = Switch(1, Case(Expr(5), Block(create<ast::FallthroughStatement>())), in TEST_F()
H A Dgenerator_impl.cc84 return IsAnyOf<ast::BreakStatement, ast::FallthroughStatement>(stmts->Last()); in last_is_break_or_fallthrough()
2107 if (stmt->As<ast::FallthroughStatement>()) { in EmitStatement()
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dresolver.h216 sem::Statement* FallthroughStatement(const ast::FallthroughStatement*);
H A Dcontrol_block_validation_test.cc311 auto* fallthrough = create<ast::FallthroughStatement>(Source{{12, 34}}); in TEST_F()
H A Dresolver.cc884 if (auto* f = stmt->As<ast::FallthroughStatement>()) { in Statement()
885 return FallthroughStatement(f); in Statement()
2508 sem::Statement* Resolver::FallthroughStatement(
2509 const ast::FallthroughStatement* stmt) {
H A Ddependency_graph.cc270 ast::DiscardStatement, ast::FallthroughStatement>()) { in TraverseStatement()
/third_party/skia/third_party/externals/tint/src/
H A Dprogram_builder.h2256 /// Creates an ast::FallthroughStatement
2259 const ast::FallthroughStatement* Fallthrough(const Source& source) { in Fallthrough()
2260 return create<ast::FallthroughStatement>(source); in Fallthrough()
2263 /// Creates an ast::FallthroughStatement
2265 const ast::FallthroughStatement* Fallthrough() { in Fallthrough()
2266 return create<ast::FallthroughStatement>(); in Fallthrough()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dfunction.cc3095 create<ast::FallthroughStatement>(Source{}), in EmitSwitchStart()
3314 return create<ast::FallthroughStatement>(Source{}); in MakeBranchDetailed()
3385 AddStatement(create<ast::FallthroughStatement>(Source{})); in EmitConditionalCaseFallThrough()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder.cc95 return !stmts->Empty() && stmts->Last()->Is<ast::FallthroughStatement>(); in LastIsFallthrough()
104 ast::FallthroughStatement>(stmts->Last())) { in LastIsTerminator()
3833 if (stmt->Is<ast::FallthroughStatement>()) { in GenerateStatement()

Completed in 38 milliseconds