Lines Matching refs:nir_builder
31 typedef struct nir_builder { struct
39 } nir_builder; argument
42 nir_builder_init(nir_builder *build, nir_function_impl *impl) in nir_builder_init()
51 nir_builder_init_simple_shader(nir_builder *build, void *mem_ctx, in nir_builder_init_simple_shader()
63 nir_builder_instr_insert(nir_builder *build, nir_instr *instr) in nir_builder_instr_insert()
72 nir_builder_last_instr(nir_builder *build) in nir_builder_last_instr()
79 nir_builder_cf_insert(nir_builder *build, nir_cf_node *cf) in nir_builder_cf_insert()
85 nir_builder_is_inside_cf(nir_builder *build, nir_cf_node *cf_node) in nir_builder_is_inside_cf()
96 nir_push_if(nir_builder *build, nir_ssa_def *condition) in nir_push_if()
106 nir_push_else(nir_builder *build, nir_if *nif) in nir_push_else()
119 nir_pop_if(nir_builder *build, nir_if *nif) in nir_pop_if()
131 nir_if_phi(nir_builder *build, nir_ssa_def *then_def, nir_ssa_def *else_def) in nir_if_phi()
159 nir_push_loop(nir_builder *build) in nir_push_loop()
168 nir_pop_loop(nir_builder *build, nir_loop *loop) in nir_pop_loop()
180 nir_ssa_undef(nir_builder *build, unsigned num_components, unsigned bit_size) in nir_ssa_undef()
193 nir_build_imm(nir_builder *build, unsigned num_components, in nir_build_imm()
209 nir_imm_float(nir_builder *build, float x) in nir_imm_float()
220 nir_imm_double(nir_builder *build, double x) in nir_imm_double()
231 nir_imm_vec4(nir_builder *build, float x, float y, float z, float w) in nir_imm_vec4()
245 nir_imm_int(nir_builder *build, int x) in nir_imm_int()
256 nir_imm_int64(nir_builder *build, int64_t x) in nir_imm_int64()
267 nir_imm_intN_t(nir_builder *build, uint64_t x, unsigned bit_size) in nir_imm_intN_t()
279 nir_imm_ivec4(nir_builder *build, int x, int y, int z, int w) in nir_imm_ivec4()
293 nir_build_alu(nir_builder *build, nir_op op, nir_ssa_def *src0, in nir_build_alu()
368 nir_vec(nir_builder *build, nir_ssa_def **comp, unsigned num_components) in nir_vec()
389 nir_fmov_alu(nir_builder *build, nir_alu_src src, unsigned num_components) in nir_fmov_alu()
403 nir_imov_alu(nir_builder *build, nir_alu_src src, unsigned num_components) in nir_imov_alu()
420 nir_swizzle(nir_builder *build, nir_ssa_def *src, const unsigned swiz[4], in nir_swizzle()
434 nir_fdot(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_fdot()
450 nir_bany_inequal(nir_builder *b, nir_ssa_def *src0, nir_ssa_def *src1) in nir_bany_inequal()
463 nir_bany(nir_builder *b, nir_ssa_def *src) in nir_bany()
469 nir_channel(nir_builder *b, nir_ssa_def *def, unsigned c) in nir_channel()
476 nir_channels(nir_builder *b, nir_ssa_def *def, unsigned mask) in nir_channels()
496 nir_ssa_for_src(nir_builder *build, nir_src src, int num_components) in nir_ssa_for_src()
514 nir_ssa_for_alu_src(nir_builder *build, nir_alu_instr *instr, unsigned srcn) in nir_ssa_for_alu_src()
529 nir_load_var(nir_builder *build, nir_variable *var) in nir_load_var()
544 nir_load_deref_var(nir_builder *build, nir_deref_var *deref) in nir_load_deref_var()
560 nir_store_var(nir_builder *build, nir_variable *var, nir_ssa_def *value, in nir_store_var()
575 nir_store_deref_var(nir_builder *build, nir_deref_var *deref, in nir_store_deref_var()
591 nir_copy_deref_var(nir_builder *build, nir_deref_var *dest, nir_deref_var *src) in nir_copy_deref_var()
604 nir_copy_var(nir_builder *build, nir_variable *dest, nir_variable *src) in nir_copy_var()
615 nir_load_system_value(nir_builder *build, nir_intrinsic_op op, int index) in nir_load_system_value()
633 nir_load_##name(nir_builder *build) \
641 nir_load_barycentric(nir_builder *build, nir_intrinsic_op op, in nir_load_barycentric()
652 nir_jump(nir_builder *build, nir_jump_type jump_type) in nir_jump()
659 nir_compare_func(nir_builder *b, enum compare_func func, in nir_compare_func()