Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c251 struct vtn_block *case_block = in vtn_add_case() local
255 if (case_block == break_block) in vtn_add_case()
258 if (case_block->switch_case == NULL) { in vtn_add_case()
262 c->start_block = case_block; in vtn_add_case()
270 case_block->switch_case = c; in vtn_add_case()
274 case_block->switch_case->is_default = true; in vtn_add_case()
276 util_dynarray_append(&case_block->switch_case->values, uint64_t, val); in vtn_add_case()
549 struct vtn_block *case_block = in vtn_cfg_walk_blocks() local
559 if (case_block == break_block) in vtn_cfg_walk_blocks()
562 vtn_assert(case_block->switch_case); in vtn_cfg_walk_blocks()
[all …]
/external/v8/src/compiler/
Draw-machine-assembler.cc126 BasicBlock* case_block = schedule()->NewBasicBlock(); in Switch() local
129 schedule()->AddNode(case_block, case_node); in Switch()
130 schedule()->AddGoto(case_block, Use(case_labels[index])); in Switch()
131 succ_blocks[index] = case_block; in Switch()
/external/v8/src/torque/
Dtorque-parser.cc536 BlockStatement* case_block; in MakeTypeswitchStatement() local
542 case_block = MakeNode<BlockStatement>(); in MakeTypeswitchStatement()
544 case_block = current_block; in MakeTypeswitchStatement()
548 case_block->statements.push_back( in MakeTypeswitchStatement()
550 case_block->statements.push_back(cases[i].block); in MakeTypeswitchStatement()
554 case_block, std::vector<LabelBlock*>{MakeNode<LabelBlock>( in MakeTypeswitchStatement()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2596 auto case_block = b_.GetInsertBlock(); in HandleConditional() local
2599 if (case_block->getTerminator() == nullptr) { in HandleConditional()
2601 b_.SetInsertPoint(case_block); in HandleConditional()
2605 case_block->splitBasicBlock(b_.GetInsertPoint(), "case-after"); in HandleConditional()
2609 case_block->getTerminator()->eraseFromParent(); in HandleConditional()
2619 b_.SetInsertPoint(case_block); in HandleConditional()