Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_else_stmt_test.cc24 auto e = p->else_stmt(); in TEST_F()
36 auto e = p->else_stmt(); in TEST_F()
46 auto e = p->else_stmt(); in TEST_F()
Dparser_impl.h530 Maybe<const ast::ElseStatement*> else_stmt();
Dparser_impl.cc1804 auto el = else_stmt(); in if_stmt()
1843 Maybe<const ast::ElseStatement*> ParserImpl::else_stmt() { in else_stmt() function in tint::reader::wgsl::ParserImpl
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.h185 void (*else_stmt)(struct lp_build_nir_context *bld_base); member
Dlp_bld_nir_soa.c1683 static void else_stmt(struct lp_build_nir_context *bld_base) in else_stmt() function
2485 bld.bld_base.else_stmt = else_stmt; in lp_build_nir_soa()
Dlp_bld_nir.c2305 bld_base->else_stmt(bld_base); in visit_if()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.h722 const ast::Statement* else_stmt) const;
Dfunction.cc3325 const ast::Statement* else_stmt) const { in MakeSimpleIf()
3326 if ((then_stmt == nullptr) && (else_stmt == nullptr)) { in MakeSimpleIf()
3330 if (else_stmt != nullptr) { in MakeSimpleIf()
3331 ast::StatementList stmts{else_stmt}; in MakeSimpleIf()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc3533 auto* else_stmt = else_stmts[cur_else_idx]; in GenerateConditionalBlock() local
3535 if (!else_stmt->condition) { in GenerateConditionalBlock()
3536 if (!GenerateBlockStatement(else_stmt->body)) { in GenerateConditionalBlock()
3540 if (!GenerateConditionalBlock(else_stmt->condition, else_stmt->body, in GenerateConditionalBlock()
3545 if (!LastIsTerminator(else_stmt->body)) { in GenerateConditionalBlock()
/third_party/mesa3d/src/compiler/nir/
Dnir.c542 nir_block *else_stmt = nir_block_create(shader); in nir_if_create() local
544 exec_list_push_tail(&if_stmt->else_list, &else_stmt->cf_node.node); in nir_if_create()
545 else_stmt->cf_node.parent = &if_stmt->cf_node; in nir_if_create()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver.cc938 for (auto* else_stmt : stmt->else_statements) { in IfStatement() local
939 Mark(else_stmt); in IfStatement()
940 auto* else_sem = ElseStatement(else_stmt); in IfStatement()
Dresolver_test.cc164 auto* else_stmt = create<ast::ElseStatement>(else_cond, else_body); in TEST_F() local
173 create<ast::IfStatement>(cond, body, ast::ElseStatementList{else_stmt}); in TEST_F()
191 EXPECT_EQ(StmtOf(else_cond), else_stmt); in TEST_F()