ir: Add conditional and unconditional branch instructions.