Searched refs:case_block (Results 1 – 4 of 4) sorted by relevance
251 struct vtn_block *case_block = in vtn_add_case() local255 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() local559 if (case_block == break_block) in vtn_cfg_walk_blocks()562 vtn_assert(case_block->switch_case); in vtn_cfg_walk_blocks()[all …]
126 BasicBlock* case_block = schedule()->NewBasicBlock(); in Switch() local129 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()
536 BlockStatement* case_block; in MakeTypeswitchStatement() local542 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()
2596 auto case_block = b_.GetInsertBlock(); in HandleConditional() local2599 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()