Lines Matching defs:jump
40 * 4. If a basic block has a jump instruction, there must be only one and it
275 * it doesn't end in a jump instruction. Also inserts phi sources with undefs
327 /* Figure out what successor block would've had if it didn't have a jump
386 * after-a-jump-instr case contained to split_block_end().
451 * update the CFG after a jump instruction has been added to the end of a block
499 unreachable("Invalid jump type");
503 /* Removes the successor of a block with a jump. Note that the jump to be
603 /* stitch_blocks() assumes that any block that ends with a jump has
641 nir_jump_instr *jump = nir_instr_as_jump(instr);
642 unlink_jump(block, jump->type, false);
643 if (jump->type == nir_jump_goto_if)
644 nir_instr_rewrite_src(instr, &jump->condition, NIR_SRC_INIT);
757 nir_jump_instr *jump = nir_instr_as_jump(last_instr);
761 assert(jump->type != nir_jump_return);
763 if (jump->type == nir_jump_halt) {