Lines Matching full:build
48 nir_builder_init(nir_builder *build, nir_function_impl *impl) in nir_builder_init() argument
50 memset(build, 0, sizeof(*build)); in nir_builder_init()
51 build->exact = false; in nir_builder_init()
52 build->impl = impl; in nir_builder_init()
53 build->shader = impl->function->shader; in nir_builder_init()
57 nir_builder_init_simple_shader(nir_builder *build, void *mem_ctx, in nir_builder_init_simple_shader() argument
61 memset(build, 0, sizeof(*build)); in nir_builder_init_simple_shader()
62 build->shader = nir_shader_create(mem_ctx, stage, options, NULL); in nir_builder_init_simple_shader()
63 nir_function *func = nir_function_create(build->shader, "main"); in nir_builder_init_simple_shader()
65 build->exact = false; in nir_builder_init_simple_shader()
66 build->impl = nir_function_impl_create(func); in nir_builder_init_simple_shader()
67 build->cursor = nir_after_cf_list(&build->impl->body); in nir_builder_init_simple_shader()
114 nir_builder_instr_insert(nir_builder *build, nir_instr *instr) in nir_builder_instr_insert() argument
116 nir_instr_insert(build->cursor, instr); in nir_builder_instr_insert()
118 if (build->update_divergence) in nir_builder_instr_insert()
119 nir_update_instr_divergence(build->shader, instr); in nir_builder_instr_insert()
122 build->cursor = nir_after_instr(instr); in nir_builder_instr_insert()
126 nir_builder_last_instr(nir_builder *build) in nir_builder_last_instr() argument
128 assert(build->cursor.option == nir_cursor_after_instr); in nir_builder_last_instr()
129 return build->cursor.instr; in nir_builder_last_instr()
133 nir_builder_cf_insert(nir_builder *build, nir_cf_node *cf) in nir_builder_cf_insert() argument
135 nir_cf_node_insert(build->cursor, cf); in nir_builder_cf_insert()
139 nir_builder_is_inside_cf(nir_builder *build, nir_cf_node *cf_node) in nir_builder_is_inside_cf() argument
141 nir_block *block = nir_cursor_current_block(build->cursor); in nir_builder_is_inside_cf()
150 nir_push_if_src(nir_builder *build, nir_src condition) in nir_push_if_src() argument
152 nir_if *nif = nir_if_create(build->shader); in nir_push_if_src()
154 nir_builder_cf_insert(build, &nif->cf_node); in nir_push_if_src()
155 build->cursor = nir_before_cf_list(&nif->then_list); in nir_push_if_src()
160 nir_push_if(nir_builder *build, nir_ssa_def *condition) in nir_push_if() argument
162 return nir_push_if_src(build, nir_src_for_ssa(condition)); in nir_push_if()
166 nir_push_else(nir_builder *build, nir_if *nif) in nir_push_else() argument
169 assert(nir_builder_is_inside_cf(build, &nif->cf_node)); in nir_push_else()
171 nir_block *block = nir_cursor_current_block(build->cursor); in nir_push_else()
174 build->cursor = nir_before_cf_list(&nif->else_list); in nir_push_else()
179 nir_pop_if(nir_builder *build, nir_if *nif) in nir_pop_if() argument
182 assert(nir_builder_is_inside_cf(build, &nif->cf_node)); in nir_pop_if()
184 nir_block *block = nir_cursor_current_block(build->cursor); in nir_pop_if()
187 build->cursor = nir_after_cf_node(&nif->cf_node); in nir_pop_if()
191 nir_if_phi(nir_builder *build, nir_ssa_def *then_def, nir_ssa_def *else_def) in nir_if_phi() argument
193 nir_block *block = nir_cursor_current_block(build->cursor); in nir_if_phi()
196 nir_phi_instr *phi = nir_phi_instr_create(build->shader); in nir_if_phi()
213 nir_builder_instr_insert(build, &phi->instr); in nir_if_phi()
219 nir_push_loop(nir_builder *build) in nir_push_loop() argument
221 nir_loop *loop = nir_loop_create(build->shader); in nir_push_loop()
222 nir_builder_cf_insert(build, &loop->cf_node); in nir_push_loop()
223 build->cursor = nir_before_cf_list(&loop->body); in nir_push_loop()
228 nir_pop_loop(nir_builder *build, nir_loop *loop) in nir_pop_loop() argument
231 assert(nir_builder_is_inside_cf(build, &loop->cf_node)); in nir_pop_loop()
233 nir_block *block = nir_cursor_current_block(build->cursor); in nir_pop_loop()
236 build->cursor = nir_after_cf_node(&loop->cf_node); in nir_pop_loop()
240 nir_ssa_undef(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_ssa_undef() argument
243 nir_ssa_undef_instr_create(build->shader, num_components, bit_size); in nir_ssa_undef()
247 nir_instr_insert(nir_before_cf_list(&build->impl->body), &undef->instr); in nir_ssa_undef()
248 if (build->update_divergence) in nir_ssa_undef()
249 nir_update_instr_divergence(build->shader, &undef->instr); in nir_ssa_undef()
255 nir_build_imm(nir_builder *build, unsigned num_components, in nir_build_imm() argument
259 nir_load_const_instr_create(build->shader, num_components, bit_size); in nir_build_imm()
265 nir_builder_instr_insert(build, &load_const->instr); in nir_build_imm()
271 nir_imm_zero(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_imm_zero() argument
274 nir_load_const_instr_create(build->shader, num_components, bit_size); in nir_imm_zero()
278 nir_builder_instr_insert(build, &load_const->instr); in nir_imm_zero()
284 nir_imm_boolN_t(nir_builder *build, bool x, unsigned bit_size) in nir_imm_boolN_t() argument
287 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_boolN_t()
291 nir_imm_bool(nir_builder *build, bool x) in nir_imm_bool() argument
293 return nir_imm_boolN_t(build, x, 1); in nir_imm_bool()
297 nir_imm_true(nir_builder *build) in nir_imm_true() argument
299 return nir_imm_bool(build, true); in nir_imm_true()
303 nir_imm_false(nir_builder *build) in nir_imm_false() argument
305 return nir_imm_bool(build, false); in nir_imm_false()
309 nir_imm_floatN_t(nir_builder *build, double x, unsigned bit_size) in nir_imm_floatN_t() argument
312 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_floatN_t()
316 nir_imm_float16(nir_builder *build, float x) in nir_imm_float16() argument
318 return nir_imm_floatN_t(build, x, 16); in nir_imm_float16()
322 nir_imm_float(nir_builder *build, float x) in nir_imm_float() argument
324 return nir_imm_floatN_t(build, x, 32); in nir_imm_float()
328 nir_imm_double(nir_builder *build, double x) in nir_imm_double() argument
330 return nir_imm_floatN_t(build, x, 64); in nir_imm_double()
334 nir_imm_vec2(nir_builder *build, float x, float y) in nir_imm_vec2() argument
340 return nir_build_imm(build, 2, 32, v); in nir_imm_vec2()
344 nir_imm_vec4(nir_builder *build, float x, float y, float z, float w) in nir_imm_vec4() argument
353 return nir_build_imm(build, 4, 32, v); in nir_imm_vec4()
357 nir_imm_vec4_16(nir_builder *build, float x, float y, float z, float w) in nir_imm_vec4_16() argument
366 return nir_build_imm(build, 4, 16, v); in nir_imm_vec4_16()
370 nir_imm_intN_t(nir_builder *build, uint64_t x, unsigned bit_size) in nir_imm_intN_t() argument
373 return nir_build_imm(build, 1, bit_size, &v); in nir_imm_intN_t()
377 nir_imm_int(nir_builder *build, int x) in nir_imm_int() argument
379 return nir_imm_intN_t(build, x, 32); in nir_imm_int()
383 nir_imm_int64(nir_builder *build, int64_t x) in nir_imm_int64() argument
385 return nir_imm_intN_t(build, x, 64); in nir_imm_int64()
389 nir_imm_ivec2(nir_builder *build, int x, int y) in nir_imm_ivec2() argument
396 return nir_build_imm(build, 2, 32, v); in nir_imm_ivec2()
400 nir_imm_ivec4(nir_builder *build, int x, int y, int z, int w) in nir_imm_ivec4() argument
409 return nir_build_imm(build, 4, 32, v); in nir_imm_ivec4()
413 nir_builder_alu_instr_finish_and_insert(nir_builder *build, nir_alu_instr *instr) in nir_builder_alu_instr_finish_and_insert() argument
417 instr->exact = build->exact; in nir_builder_alu_instr_finish_and_insert()
469 nir_builder_instr_insert(build, &instr->instr); in nir_builder_alu_instr_finish_and_insert()
475 nir_build_alu(nir_builder *build, nir_op op, nir_ssa_def *src0, in nir_build_alu() argument
478 nir_alu_instr *instr = nir_alu_instr_create(build->shader, op); in nir_build_alu()
490 return nir_builder_alu_instr_finish_and_insert(build, instr); in nir_build_alu()
495 nir_build_alu_src_arr(nir_builder *build, nir_op op, nir_ssa_def **srcs) in nir_build_alu_src_arr() argument
498 nir_alu_instr *instr = nir_alu_instr_create(build->shader, op); in nir_build_alu_src_arr()
505 return nir_builder_alu_instr_finish_and_insert(build, instr); in nir_build_alu_src_arr()
511 nir_vec(nir_builder *build, nir_ssa_def **comp, unsigned num_components) in nir_vec() argument
513 return nir_build_alu_src_arr(build, nir_op_vec(num_components), comp); in nir_vec()
517 nir_mov_alu(nir_builder *build, nir_alu_src src, unsigned num_components) in nir_mov_alu() argument
530 nir_alu_instr *mov = nir_alu_instr_create(build->shader, nir_op_mov); in nir_mov_alu()
533 mov->exact = build->exact; in nir_mov_alu()
536 nir_builder_instr_insert(build, &mov->instr); in nir_mov_alu()
545 nir_swizzle(nir_builder *build, nir_ssa_def *src, const unsigned *swiz, in nir_swizzle() argument
562 return nir_mov_alu(build, alu_src, num_components); in nir_swizzle()
567 nir_fdot(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_fdot() argument
571 case 1: return nir_fmul(build, src0, src1); in nir_fdot()
572 case 2: return nir_fdot2(build, src0, src1); in nir_fdot()
573 case 3: return nir_fdot3(build, src0, src1); in nir_fdot()
574 case 4: return nir_fdot4(build, src0, src1); in nir_fdot()
575 case 8: return nir_fdot8(build, src0, src1); in nir_fdot()
576 case 16: return nir_fdot16(build, src0, src1); in nir_fdot()
742 nir_i2i(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_i2i() argument
748 case 64: return nir_i2i64(build, x); in nir_i2i()
749 case 32: return nir_i2i32(build, x); in nir_i2i()
750 case 16: return nir_i2i16(build, x); in nir_i2i()
751 case 8: return nir_i2i8(build, x); in nir_i2i()
757 nir_u2u(nir_builder *build, nir_ssa_def *x, unsigned dest_bit_size) in nir_u2u() argument
763 case 64: return nir_u2u64(build, x); in nir_u2u()
764 case 32: return nir_u2u32(build, x); in nir_u2u()
765 case 16: return nir_u2u16(build, x); in nir_u2u()
766 case 8: return nir_u2u8(build, x); in nir_u2u()
772 nir_iadd_imm(nir_builder *build, nir_ssa_def *x, uint64_t y) in nir_iadd_imm() argument
780 return nir_iadd(build, x, nir_imm_intN_t(build, y, x->bit_size)); in nir_iadd_imm()
786 nir_ieq_imm(nir_builder *build, nir_ssa_def *x, uint64_t y) in nir_ieq_imm() argument
788 return nir_ieq(build, x, nir_imm_intN_t(build, y, x->bit_size)); in nir_ieq_imm()
792 _nir_mul_imm(nir_builder *build, nir_ssa_def *x, uint64_t y, bool amul) in _nir_mul_imm() argument
798 return nir_imm_intN_t(build, 0, x->bit_size); in _nir_mul_imm()
801 } else if (!build->shader->options->lower_bitops && in _nir_mul_imm()
803 return nir_ishl(build, x, nir_imm_int(build, ffsll(y) - 1)); in _nir_mul_imm()
805 return nir_amul(build, x, nir_imm_intN_t(build, y, x->bit_size)); in _nir_mul_imm()
807 return nir_imul(build, x, nir_imm_intN_t(build, y, x->bit_size)); in _nir_mul_imm()
812 nir_imul_imm(nir_builder *build, nir_ssa_def *x, uint64_t y) in nir_imul_imm() argument
814 return _nir_mul_imm(build, x, y, false); in nir_imul_imm()
818 nir_amul_imm(nir_builder *build, nir_ssa_def *x, uint64_t y) in nir_amul_imm() argument
820 return _nir_mul_imm(build, x, y, true); in nir_amul_imm()
824 nir_fadd_imm(nir_builder *build, nir_ssa_def *x, double y) in nir_fadd_imm() argument
826 return nir_fadd(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fadd_imm()
830 nir_fmul_imm(nir_builder *build, nir_ssa_def *x, double y) in nir_fmul_imm() argument
832 return nir_fmul(build, x, nir_imm_floatN_t(build, y, x->bit_size)); in nir_fmul_imm()
836 nir_iand_imm(nir_builder *build, nir_ssa_def *x, uint64_t y) in nir_iand_imm() argument
842 return nir_imm_intN_t(build, 0, x->bit_size); in nir_iand_imm()
846 return nir_iand(build, x, nir_imm_intN_t(build, y, x->bit_size)); in nir_iand_imm()
851 nir_ishr_imm(nir_builder *build, nir_ssa_def *x, uint32_t y) in nir_ishr_imm() argument
856 return nir_ishr(build, x, nir_imm_int(build, y)); in nir_ishr_imm()
861 nir_ushr_imm(nir_builder *build, nir_ssa_def *x, uint32_t y) in nir_ushr_imm() argument
866 return nir_ushr(build, x, nir_imm_int(build, y)); in nir_ushr_imm()
871 nir_udiv_imm(nir_builder *build, nir_ssa_def *x, uint64_t y) in nir_udiv_imm() argument
879 return nir_ushr_imm(build, x, ffsll(y) - 1); in nir_udiv_imm()
881 return nir_udiv(build, x, nir_imm_intN_t(build, y, x->bit_size)); in nir_udiv_imm()
1050 nir_ssa_for_src(nir_builder *build, nir_src src, int num_components) in nir_ssa_for_src() argument
1060 return nir_mov_alu(build, alu, num_components); in nir_ssa_for_src()
1068 nir_ssa_for_alu_src(nir_builder *build, nir_alu_instr *instr, unsigned srcn) in nir_ssa_for_alu_src() argument
1075 return nir_mov_alu(build, *src, num_components); in nir_ssa_for_alu_src()
1087 nir_build_deref_var(nir_builder *build, nir_variable *var) in nir_build_deref_var() argument
1090 nir_deref_instr_create(build->shader, nir_deref_type_var); in nir_build_deref_var()
1097 nir_get_ptr_bitsize(build->shader), NULL); in nir_build_deref_var()
1099 nir_builder_instr_insert(build, &deref->instr); in nir_build_deref_var()
1105 nir_build_deref_array(nir_builder *build, nir_deref_instr *parent, in nir_build_deref_array() argument
1115 nir_deref_instr_create(build->shader, nir_deref_type_array); in nir_build_deref_array()
1126 nir_builder_instr_insert(build, &deref->instr); in nir_build_deref_array()
1132 nir_build_deref_array_imm(nir_builder *build, nir_deref_instr *parent, in nir_build_deref_array_imm() argument
1136 nir_ssa_def *idx_ssa = nir_imm_intN_t(build, index, in nir_build_deref_array_imm()
1139 return nir_build_deref_array(build, parent, idx_ssa); in nir_build_deref_array_imm()
1143 nir_build_deref_ptr_as_array(nir_builder *build, nir_deref_instr *parent, in nir_build_deref_ptr_as_array() argument
1153 nir_deref_instr_create(build->shader, nir_deref_type_ptr_as_array); in nir_build_deref_ptr_as_array()
1164 nir_builder_instr_insert(build, &deref->instr); in nir_build_deref_ptr_as_array()
1170 nir_build_deref_array_wildcard(nir_builder *build, nir_deref_instr *parent) in nir_build_deref_array_wildcard() argument
1176 nir_deref_instr_create(build->shader, nir_deref_type_array_wildcard); in nir_build_deref_array_wildcard()
1186 nir_builder_instr_insert(build, &deref->instr); in nir_build_deref_array_wildcard()
1192 nir_build_deref_struct(nir_builder *build, nir_deref_instr *parent, in nir_build_deref_struct() argument
1198 nir_deref_instr_create(build->shader, nir_deref_type_struct); in nir_build_deref_struct()
1209 nir_builder_instr_insert(build, &deref->instr); in nir_build_deref_struct()
1215 nir_build_deref_cast(nir_builder *build, nir_ssa_def *parent, in nir_build_deref_cast() argument
1220 nir_deref_instr_create(build->shader, nir_deref_type_cast); in nir_build_deref_cast()
1230 nir_builder_instr_insert(build, &deref->instr); in nir_build_deref_cast()
1236 nir_alignment_deref_cast(nir_builder *build, nir_deref_instr *parent, in nir_alignment_deref_cast() argument
1240 nir_deref_instr_create(build->shader, nir_deref_type_cast); in nir_alignment_deref_cast()
1253 nir_builder_instr_insert(build, &deref->instr); in nir_alignment_deref_cast()
1311 nir_load_reg(nir_builder *build, nir_register *reg) in nir_load_reg() argument
1313 return nir_ssa_for_src(build, nir_src_for_reg(reg), reg->num_components); in nir_load_reg()
1317 nir_store_reg(nir_builder *build, nir_register *reg, in nir_store_reg() argument
1323 nir_alu_instr *mov = nir_alu_instr_create(build->shader, nir_op_mov); in nir_store_reg()
1327 nir_builder_instr_insert(build, &mov->instr); in nir_store_reg()
1331 nir_load_deref_with_access(nir_builder *build, nir_deref_instr *deref, in nir_load_deref_with_access() argument
1335 nir_intrinsic_instr_create(build->shader, nir_intrinsic_load_deref); in nir_load_deref_with_access()
1341 nir_builder_instr_insert(build, &load->instr); in nir_load_deref_with_access()
1346 nir_load_deref(nir_builder *build, nir_deref_instr *deref) in nir_load_deref() argument
1348 return nir_load_deref_with_access(build, deref, (enum gl_access_qualifier)0); in nir_load_deref()
1352 nir_store_deref_with_access(nir_builder *build, nir_deref_instr *deref, in nir_store_deref_with_access() argument
1357 nir_intrinsic_instr_create(build->shader, nir_intrinsic_store_deref); in nir_store_deref_with_access()
1364 nir_builder_instr_insert(build, &store->instr); in nir_store_deref_with_access()
1368 nir_store_deref(nir_builder *build, nir_deref_instr *deref, in nir_store_deref() argument
1371 nir_store_deref_with_access(build, deref, value, writemask, in nir_store_deref()
1376 nir_copy_deref_with_access(nir_builder *build, nir_deref_instr *dest, in nir_copy_deref_with_access() argument
1382 nir_intrinsic_instr_create(build->shader, nir_intrinsic_copy_deref); in nir_copy_deref_with_access()
1387 nir_builder_instr_insert(build, ©->instr); in nir_copy_deref_with_access()
1391 nir_copy_deref(nir_builder *build, nir_deref_instr *dest, nir_deref_instr *src) in nir_copy_deref() argument
1393 nir_copy_deref_with_access(build, dest, src, in nir_copy_deref()
1399 nir_memcpy_deref_with_access(nir_builder *build, nir_deref_instr *dest, in nir_memcpy_deref_with_access() argument
1405 nir_intrinsic_instr_create(build->shader, nir_intrinsic_memcpy_deref); in nir_memcpy_deref_with_access()
1411 nir_builder_instr_insert(build, ©->instr); in nir_memcpy_deref_with_access()
1415 nir_memcpy_deref(nir_builder *build, nir_deref_instr *dest, in nir_memcpy_deref() argument
1418 nir_memcpy_deref_with_access(build, dest, src, size, in nir_memcpy_deref()
1424 nir_build_deref_mode_is(nir_builder *build, nir_deref_instr *deref, in nir_build_deref_mode_is() argument
1428 nir_intrinsic_instr_create(build->shader, nir_intrinsic_deref_mode_is); in nir_build_deref_mode_is()
1432 nir_builder_instr_insert(build, &intrin->instr); in nir_build_deref_mode_is()
1437 nir_load_var(nir_builder *build, nir_variable *var) in nir_load_var() argument
1439 return nir_load_deref(build, nir_build_deref_var(build, var)); in nir_load_var()
1443 nir_store_var(nir_builder *build, nir_variable *var, nir_ssa_def *value, in nir_store_var() argument
1446 nir_store_deref(build, nir_build_deref_var(build, var), value, writemask); in nir_store_var()
1450 nir_copy_var(nir_builder *build, nir_variable *dest, nir_variable *src) in nir_copy_var() argument
1452 nir_copy_deref(build, nir_build_deref_var(build, dest), in nir_copy_var()
1453 nir_build_deref_var(build, src)); in nir_copy_var()
1457 nir_load_global(nir_builder *build, nir_ssa_def *addr, unsigned align, in nir_load_global() argument
1461 nir_intrinsic_instr_create(build->shader, nir_intrinsic_load_global); in nir_load_global()
1467 nir_builder_instr_insert(build, &load->instr); in nir_load_global()
1472 nir_store_global(nir_builder *build, nir_ssa_def *addr, unsigned align, in nir_store_global() argument
1476 nir_intrinsic_instr_create(build->shader, nir_intrinsic_store_global); in nir_store_global()
1483 nir_builder_instr_insert(build, &store->instr); in nir_store_global()
1487 nir_load_param(nir_builder *build, uint32_t param_idx) in nir_load_param() argument
1489 assert(param_idx < build->impl->function->num_params); in nir_load_param()
1490 nir_parameter *param = &build->impl->function->params[param_idx]; in nir_load_param()
1493 nir_intrinsic_instr_create(build->shader, nir_intrinsic_load_param); in nir_load_param()
1498 nir_builder_instr_insert(build, &load->instr); in nir_load_param()
1541 nir_f2b(nir_builder *build, nir_ssa_def *f) in nir_f2b() argument
1543 return nir_f2b1(build, f); in nir_f2b()
1547 nir_i2b(nir_builder *build, nir_ssa_def *i) in nir_i2b() argument
1549 return nir_i2b1(build, i); in nir_i2b()
1553 nir_b2f(nir_builder *build, nir_ssa_def *b, uint32_t bit_size) in nir_b2f() argument
1556 case 64: return nir_b2f64(build, b); in nir_b2f()
1557 case 32: return nir_b2f32(build, b); in nir_b2f()
1558 case 16: return nir_b2f16(build, b); in nir_b2f()
1565 nir_b2i(nir_builder *build, nir_ssa_def *b, uint32_t bit_size) in nir_b2i() argument
1568 case 64: return nir_b2i64(build, b); in nir_b2i()
1569 case 32: return nir_b2i32(build, b); in nir_b2i()
1570 case 16: return nir_b2i16(build, b); in nir_b2i()
1571 case 8: return nir_b2i8(build, b); in nir_b2i()
1577 nir_load_barycentric(nir_builder *build, nir_intrinsic_op op, in nir_load_barycentric() argument
1581 nir_intrinsic_instr *bary = nir_intrinsic_instr_create(build->shader, op); in nir_load_barycentric()
1584 nir_builder_instr_insert(build, &bary->instr); in nir_load_barycentric()
1589 nir_jump(nir_builder *build, nir_jump_type jump_type) in nir_jump() argument
1592 nir_jump_instr *jump = nir_jump_instr_create(build->shader, jump_type); in nir_jump()
1593 nir_builder_instr_insert(build, &jump->instr); in nir_jump()
1597 nir_goto(nir_builder *build, struct nir_block *target) in nir_goto() argument
1599 assert(!build->impl->structured); in nir_goto()
1600 nir_jump_instr *jump = nir_jump_instr_create(build->shader, nir_jump_goto); in nir_goto()
1602 nir_builder_instr_insert(build, &jump->instr); in nir_goto()
1606 nir_goto_if(nir_builder *build, struct nir_block *target, nir_src cond, in nir_goto_if() argument
1609 assert(!build->impl->structured); in nir_goto_if()
1610 nir_jump_instr *jump = nir_jump_instr_create(build->shader, nir_jump_goto_if); in nir_goto_if()
1614 nir_builder_instr_insert(build, &jump->instr); in nir_goto_if()