Home
last modified time | relevance | path

Searched refs:case_block (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dreplace_desc_array_access_using_var_index.cpp210 auto* case_block = CreateNewBlock(); in CreateCaseBlock() local
211 AddConstElementAccessToCaseBlock(case_block, access_chain, element_index, in CreateCaseBlock()
213 CloneInstsToBlock(case_block, access_chain, insts_to_be_cloned, in CreateCaseBlock()
215 AddBranchToBlock(case_block, branch_target_id); in CreateCaseBlock()
216 UseNewIdsInBlock(case_block, *old_ids_to_new_ids); in CreateCaseBlock()
217 return case_block; in CreateCaseBlock()
268 std::unique_ptr<BasicBlock> case_block(CreateCaseBlock( in ReplaceNonUniformAccessWithSwitchCase() local
271 case_block_ids.push_back(case_block->id()); in ReplaceNonUniformAccessWithSwitchCase()
272 function->InsertBasicBlockBefore(std::move(case_block), merge_block); in ReplaceNonUniformAccessWithSwitchCase()
335 BasicBlock* case_block, Instruction* access_chain, in AddConstElementAccessToCaseBlock() argument
[all …]
Dreplace_desc_array_access_using_var_index.h127 BasicBlock* case_block, Instruction* access_chain,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dreplace_desc_array_access_using_var_index.cpp210 auto* case_block = CreateNewBlock(); in CreateCaseBlock() local
211 AddConstElementAccessToCaseBlock(case_block, access_chain, element_index, in CreateCaseBlock()
213 CloneInstsToBlock(case_block, access_chain, insts_to_be_cloned, in CreateCaseBlock()
215 AddBranchToBlock(case_block, branch_target_id); in CreateCaseBlock()
216 UseNewIdsInBlock(case_block, *old_ids_to_new_ids); in CreateCaseBlock()
217 return case_block; in CreateCaseBlock()
268 std::unique_ptr<BasicBlock> case_block(CreateCaseBlock( in ReplaceNonUniformAccessWithSwitchCase() local
271 case_block_ids.push_back(case_block->id()); in ReplaceNonUniformAccessWithSwitchCase()
272 function->InsertBasicBlockBefore(std::move(case_block), merge_block); in ReplaceNonUniformAccessWithSwitchCase()
335 BasicBlock* case_block, Instruction* access_chain, in AddConstElementAccessToCaseBlock() argument
[all …]
Dreplace_desc_array_access_using_var_index.h127 BasicBlock* case_block, Instruction* access_chain,
/third_party/jerryscript/tools/vera++/scripts/rules/
Djerry_switch_case.tcl46 set case_block "no"
89 set case_block "no"
118 set case_block "yes"
154 if {$case_block == "yes"} {
177 if {$case_block == "no"} {
/third_party/mesa3d/src/compiler/spirv/
Dvtn_cfg.c530 struct vtn_block *case_block = vtn_block(b, *(w++)); in vtn_parse_switch() local
533 _mesa_hash_table_search(block_to_case, case_block); in vtn_parse_switch()
543 cse->block = case_block; in vtn_parse_switch()
548 _mesa_hash_table_insert(block_to_case, case_block, cse); in vtn_parse_switch()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc1949 auto* case_block = GetBlockInfo(case_target_id); in FindSwitchCaseHeaders() local
1951 case_block->case_values = std::make_unique<std::vector<uint64_t>>( in FindSwitchCaseHeaders()
1955 if (construct->begin_pos >= case_block->pos) { in FindSwitchCaseHeaders()
1965 if (construct->end_pos < case_block->pos) { in FindSwitchCaseHeaders()
1970 if (case_block->header_for_merge != 0 && in FindSwitchCaseHeaders()
1971 case_block->header_for_merge != construct->begin_id) { in FindSwitchCaseHeaders()
1975 return Fail() << "Block " << case_block->id in FindSwitchCaseHeaders()
1978 << case_block->header_for_merge in FindSwitchCaseHeaders()
1983 if (case_block->case_head_for) { in FindSwitchCaseHeaders()
1989 << case_block->case_head_for->begin_id << " and " in FindSwitchCaseHeaders()
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_test.cc250 auto* case_block = Block(Assign(lhs, rhs)); in TEST_F() local
251 auto* stmt = Switch(Expr(2), Case(Expr(3), case_block), DefaultCase()); in TEST_F()
263 EXPECT_EQ(BlockOf(lhs), case_block); in TEST_F()
264 EXPECT_EQ(BlockOf(rhs), case_block); in TEST_F()
/third_party/python/Doc/reference/
Dcompound_stmts.rst512 match_stmt: 'match' `subject_expr` ":" NEWLINE INDENT `case_block`+ DEDENT
515 case_block: 'case' `patterns` [`guard`] ":" `block`
548 #. Each pattern in a ``case_block`` is attempted to match with the subject value. The
568 ``case_block`` is executed.
570 * Otherwise, the next ``case_block`` is attempted as described above.
/third_party/python/Grammar/
Dpython.gram224 … | "match" subject=subject_expr ':' NEWLINE INDENT cases[asdl_match_case_seq*]=case_block+ DEDENT {
231 case_block[match_case_ty]:
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp14797 auto &case_block = get<SPIRBlock>(block_declaration_order[i]); in emit_block_chain() local
14798 if (execution_is_direct_branch(case_block, default_block)) in emit_block_chain()
14805 else if (execution_is_direct_branch(default_block, case_block)) in emit_block_chain()
14954 auto &case_block = get<SPIRBlock>(target_block); in emit_block_chain() local
14956 execution_is_direct_branch(case_block, get<SPIRBlock>(block_declaration_order[i + 1]))) in emit_block_chain()