Home
last modified time | relevance | path

Searched refs:case_stmt (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/tint/src/ast/
Dswitch_statement_test.cc32 auto* case_stmt = create<CaseStatement>(lit, Block()); in TEST_F() local
33 body.push_back(case_stmt); in TEST_F()
38 EXPECT_EQ(stmt->body[0], case_stmt); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_switch_test.cc35 auto* case_stmt = create<ast::CaseStatement>(case_val, case_body); in TEST_F() local
38 body.push_back(case_stmt); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_switch_test.cc35 auto* case_stmt = create<ast::CaseStatement>(case_val, case_body); in TEST_F() local
38 body.push_back(case_stmt); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_switch_test.cc35 auto* case_stmt = create<ast::CaseStatement>(case_val, case_body); in TEST_F() local
38 body.push_back(case_stmt); in TEST_F()
/third_party/ltp/tools/sparse/sparse-src/
Dshow-parse.c549 struct statement *case_stmt = sym->stmt; in show_switch_statement() local
550 struct expression *expr = case_stmt->case_expression; in show_switch_statement()
551 struct expression *to = case_stmt->case_to; in show_switch_statement()
Dlinearize.c2253 struct statement *case_stmt = sym->stmt; in linearize_switch() local
2256 if (!case_stmt->case_expression) { in linearize_switch()
2259 } else if (case_stmt->case_expression->type != EXPR_VALUE) { in linearize_switch()
2262 struct expression *case_to = case_stmt->case_to; in linearize_switch()
2265 begin = end = case_stmt->case_expression->value; in linearize_switch()
Dcompile-i386.c1726 struct statement *case_stmt = sym->stmt; in emit_switch_statement() local
1727 struct expression *expr = case_stmt->case_expression; in emit_switch_statement()
1728 struct expression *to = case_stmt->case_to; in emit_switch_statement()
Devaluate.c3868 struct statement *case_stmt = sym->stmt; in evaluate_switch_statement() local
3869 check_case_type(sel, case_stmt->case_expression, enumcase_holder); in evaluate_switch_statement()
3870 check_case_type(sel, case_stmt->case_to, enumcase_holder); in evaluate_switch_statement()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_validation.cc2285 for (auto* case_stmt : s->body) { in ValidateSwitch() local
2286 if (case_stmt->IsDefault()) { in ValidateSwitch()
2290 case_stmt->source); in ValidateSwitch()
2296 for (auto* selector : case_stmt->selectors) { in ValidateSwitch()
2301 case_stmt->source); in ValidateSwitch()
Dresolver.cc2381 for (auto* case_stmt : stmt->body) { in SwitchStatement() local
2382 Mark(case_stmt); in SwitchStatement()
2383 auto* c = CaseStatement(case_stmt); in SwitchStatement()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc3097 auto* case_stmt = in EmitSwitchStart() local
3099 swch->cases.emplace_back(case_stmt); in EmitSwitchStart()
/third_party/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp6875 foreach_list_typed (ast_case_statement, case_stmt, link, & this->cases) { in hir()
6876 case_stmt->hir(&tmp, state); in hir()