Searched refs:case_block (Results 1 – 4 of 4) sorted by relevance
579 BasicBlock* case_block = schedule()->NewBasicBlock(); in Switch() local582 schedule()->AddNode(case_block, case_node); in Switch()583 schedule()->AddGoto(case_block, Use(case_labels[index])); in Switch()584 succ_blocks[index] = case_block; in Switch()
517 struct vtn_block *case_block = vtn_block(b, *(w++)); in vtn_parse_switch() local520 _mesa_hash_table_search(block_to_case, case_block); in vtn_parse_switch()530 cse->block = case_block; in vtn_parse_switch()535 _mesa_hash_table_insert(block_to_case, case_block, cse); in vtn_parse_switch()
1535 BlockStatement* case_block; in MakeTypeswitchStatement() local1543 case_block = MakeNode<BlockStatement>(); in MakeTypeswitchStatement()1545 case_block = current_block; in MakeTypeswitchStatement()1549 case_block->statements.push_back(MakeNode<VarDeclarationStatement>( in MakeTypeswitchStatement()1551 case_block->statements.push_back(cases[i].block); in MakeTypeswitchStatement()1556 MakeNode<StatementExpression>(case_block), in MakeTypeswitchStatement()
2841 auto case_block = b_.GetInsertBlock(); in HandleConditional() local2844 if (case_block->getTerminator() == nullptr) { in HandleConditional()2846 b_.SetInsertPoint(case_block); in HandleConditional()2850 case_block->splitBasicBlock(b_.GetInsertPoint(), "case-after"); in HandleConditional()2854 case_block->getTerminator()->eraseFromParent(); in HandleConditional()2864 b_.SetInsertPoint(case_block); in HandleConditional()