Home
last modified time | relevance | path

Searched refs:nir_builder (Results 1 – 25 of 87) sorted by relevance

1234

/external/mesa3d/prebuilt-intermediates/nir/
Dnir_builder_opcodes.h29 nir_b2f(nir_builder *build, nir_ssa_def *src0) in nir_b2f()
34 nir_b2i(nir_builder *build, nir_ssa_def *src0) in nir_b2i()
39 nir_ball_fequal2(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_ball_fequal2()
44 nir_ball_fequal3(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_ball_fequal3()
49 nir_ball_fequal4(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_ball_fequal4()
54 nir_ball_iequal2(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_ball_iequal2()
59 nir_ball_iequal3(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_ball_iequal3()
64 nir_ball_iequal4(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_ball_iequal4()
69 nir_bany_fnequal2(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_bany_fnequal2()
74 nir_bany_fnequal3(nir_builder *build, nir_ssa_def *src0, nir_ssa_def *src1) in nir_bany_fnequal3()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_builder.h31 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()
[all …]
Dnir_lower_double_ops.c41 set_exponent(nir_builder *b, nir_ssa_def *src, nir_ssa_def *exp) in set_exponent()
56 get_exponent(nir_builder *b, nir_ssa_def *src) in get_exponent()
68 get_signed_inf(nir_builder *b, nir_ssa_def *zero) in get_signed_inf()
89 fix_inv_result(nir_builder *b, nir_ssa_def *res, nir_ssa_def *src, in fix_inv_result()
111 lower_rcp(nir_builder *b, nir_ssa_def *src) in lower_rcp()
152 lower_sqrt_rsq(nir_builder *b, nir_ssa_def *src, bool sqrt) in lower_sqrt_rsq()
303 lower_trunc(nir_builder *b, nir_ssa_def *src) in lower_trunc()
355 lower_floor(nir_builder *b, nir_ssa_def *src) in lower_floor()
372 lower_ceil(nir_builder *b, nir_ssa_def *src) in lower_ceil()
387 lower_fract(nir_builder *b, nir_ssa_def *src) in lower_fract()
[all …]
Dnir_lower_int64.c28 lower_imul64(nir_builder *b, nir_ssa_def *x, nir_ssa_def *y) in lower_imul64()
44 lower_isign64(nir_builder *b, nir_ssa_def *x) in lower_isign64()
57 lower_udiv64_mod64(nir_builder *b, nir_ssa_def *n, nir_ssa_def *d, in lower_udiv64_mod64()
149 lower_udiv64(nir_builder *b, nir_ssa_def *n, nir_ssa_def *d) in lower_udiv64()
157 lower_idiv64(nir_builder *b, nir_ssa_def *n, nir_ssa_def *d) in lower_idiv64()
170 lower_umod64(nir_builder *b, nir_ssa_def *n, nir_ssa_def *d) in lower_umod64()
178 lower_imod64(nir_builder *b, nir_ssa_def *n, nir_ssa_def *d) in lower_imod64()
196 lower_irem64(nir_builder *b, nir_ssa_def *n, nir_ssa_def *d) in lower_irem64()
226 lower_int64_alu_instr(nir_builder *b, nir_alu_instr *alu) in lower_int64_alu_instr()
255 nir_builder b; in lower_int64_impl()
Dnir_lower_gs_intrinsics.c57 nir_builder *builder;
73 nir_builder *b = state->builder; in rewrite_emit_vertex()
114 nir_builder *b = state->builder; in rewrite_end_primitive()
162 nir_builder *b = state->builder; in append_set_vertex_count()
192 nir_builder b; in nir_lower_gs_intrinsics()
Dnir_lower_tex.c42 project_src(nir_builder *b, nir_tex_instr *tex) in project_src()
105 get_texture_size(nir_builder *b, nir_tex_instr *tex) in get_texture_size()
135 lower_offset(nir_builder *b, nir_tex_instr *tex) in lower_offset()
191 lower_rect(nir_builder *b, nir_tex_instr *tex) in lower_rect()
212 sample_plane(nir_builder *b, nir_tex_instr *tex, int plane) in sample_plane()
243 convert_yuv_to_rgb(nir_builder *b, nir_tex_instr *tex, in convert_yuv_to_rgb()
270 lower_y_uv_external(nir_builder *b, nir_tex_instr *tex) in lower_y_uv_external()
284 lower_y_u_v_external(nir_builder *b, nir_tex_instr *tex) in lower_y_u_v_external()
299 lower_yx_xuxv_external(nir_builder *b, nir_tex_instr *tex) in lower_yx_xuxv_external()
313 lower_xy_uxvx_external(nir_builder *b, nir_tex_instr *tex) in lower_xy_uxvx_external()
[all …]
Dnir_lower_samplers_as_deref.c76 nir_builder *b, char **path, unsigned *location) in remove_struct_derefs()
116 nir_builder *b) in lower_deref()
158 nir_builder *b) in lower_sampler()
184 nir_builder *b) in lower_intrinsic()
208 nir_builder b; in lower_impl()
Dnir_lower_64bit_packing.c38 lower_pack_64(nir_builder *b, nir_ssa_def *src) in lower_pack_64()
45 lower_unpack_64(nir_builder *b, nir_ssa_def *src) in lower_unpack_64()
54 nir_builder b; in lower_64bit_pack_impl()
Dnir_lower_wpos_ytransform.c43 nir_builder b;
72 nir_cmp(nir_builder *b, nir_ssa_def *src0, nir_ssa_def *src1, nir_ssa_def *src2) in nir_cmp()
83 nir_builder *b = &state->b; in emit_wpos_adjustment()
239 nir_builder *b = &state->b; in lower_fddy()
261 nir_builder *b = &state->b; in lower_interp_var_at_offset()
279 nir_builder *b = &state->b; in lower_load_sample_pos()
Dnir_lower_indirect_derefs.c28 emit_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr,
33 emit_indirect_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr, in emit_indirect_load_store()
72 emit_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr, in emit_load_store()
140 lower_indirect_block(nir_block *block, nir_builder *b, in lower_indirect_block()
190 nir_builder builder; in lower_indirects_impl()
Dnir_lower_constant_initializers.c30 struct nir_builder *b = state; in deref_apply_constant_initializer()
42 lower_const_initializer(struct nir_builder *b, struct exec_list *var_list) in lower_const_initializer()
73 nir_builder builder; in nir_lower_constant_initializers()
Dnir_lower_wpos_center.c48 update_fragcoord(nir_builder *b, nir_intrinsic_instr *intr, in update_fragcoord()
76 lower_wpos_center_block(nir_builder *b, nir_block *block, in lower_wpos_center_block()
106 nir_builder b; in nir_lower_wpos_center()
Dnir_lower_two_sided_color.c33 nir_builder b;
70 load_input(nir_builder *b, nir_variable *in) in load_input()
133 nir_builder *b = &state->b; in nir_lower_two_sided_color_block()
177 nir_builder *b = &state->b; in nir_lower_two_sided_color_impl()
Dnir_lower_io_to_scalar.c34 lower_load_input_to_scalar(nir_builder *b, nir_intrinsic_instr *intr) in lower_load_input_to_scalar()
66 lower_store_output_to_scalar(nir_builder *b, nir_intrinsic_instr *intr) in lower_store_output_to_scalar()
100 nir_builder b; in nir_lower_io_to_scalar()
172 lower_load_to_scalar_early(nir_builder *b, nir_intrinsic_instr *intr, in lower_load_to_scalar_early()
232 lower_store_output_to_scalar_early(nir_builder *b, nir_intrinsic_instr *intr, in lower_store_output_to_scalar_early()
294 nir_builder b; in nir_lower_io_to_scalar_early()
Dnir_lower_subgroups.c33 uint_to_ballot_type(nir_builder *b, nir_ssa_def *value, in uint_to_ballot_type()
68 lower_read_invocation_to_scalar(nir_builder *b, nir_intrinsic_instr *intrin) in lower_read_invocation_to_scalar()
99 lower_subgroups_intrin(nir_builder *b, nir_intrinsic_instr *intrin, in lower_subgroups_intrin()
201 nir_builder b; in lower_subgroups_impl()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_io.c39 replace_intrinsic_with_vec(nir_builder *b, nir_intrinsic_instr *intr, in replace_intrinsic_with_vec()
56 vc4_nir_unpack_8i(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_8i()
66 vc4_nir_unpack_16i(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_16i()
76 vc4_nir_unpack_16u(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_16u()
86 vc4_nir_unpack_8f(nir_builder *b, nir_ssa_def *src, unsigned chan) in vc4_nir_unpack_8f()
93 nir_builder *b, in vc4_nir_get_vattr_channel_vpm()
171 vc4_nir_lower_vertex_attr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_vertex_attr()
241 vc4_nir_lower_fs_input(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_fs_input()
301 vc4_nir_lower_output(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_output()
322 vc4_nir_lower_uniform(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_uniform()
[all …]
Dvc4_nir_lower_blend.c57 vc4_nir_get_dst_color(nir_builder *b, int sample) in vc4_nir_get_dst_color()
71 vc4_nir_srgb_decode(nir_builder *b, nir_ssa_def *srgb) in vc4_nir_srgb_decode()
86 vc4_nir_srgb_encode(nir_builder *b, nir_ssa_def *linear) in vc4_nir_srgb_encode()
102 vc4_blend_channel_f(nir_builder *b, in vc4_blend_channel_f()
168 vc4_nir_set_packed_chan(nir_builder *b, nir_ssa_def *src0, nir_ssa_def *src1, in vc4_nir_set_packed_chan()
178 vc4_blend_channel_i(nir_builder *b, in vc4_blend_channel_i()
237 vc4_blend_func_f(nir_builder *b, nir_ssa_def *src, nir_ssa_def *dst, in vc4_blend_func_f()
261 vc4_blend_func_i(nir_builder *b, nir_ssa_def *src, nir_ssa_def *dst, in vc4_blend_func_i()
285 vc4_do_blending_f(struct vc4_compile *c, nir_builder *b, nir_ssa_def **result, in vc4_do_blending_f()
324 vc4_nir_splat(nir_builder *b, nir_ssa_def *src) in vc4_nir_splat()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c48 nir_builder build;
67 nir_builder *b = &c->build; in ptn_src_for_dest()
119 nir_builder *b = &c->build; in ptn_get_src()
268 ptn_alu(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ptn_alu()
282 ptn_move_dest_masked(nir_builder *b, nir_alu_dest dest, in ptn_move_dest_masked()
301 ptn_move_dest(nir_builder *b, nir_alu_dest dest, nir_ssa_def *def) in ptn_move_dest()
307 ptn_arl(nir_builder *b, nir_alu_dest dest, nir_ssa_def **src) in ptn_arl()
319 ptn_exp(nir_builder *b, nir_alu_dest dest, nir_ssa_def **src) in ptn_exp()
336 ptn_log(nir_builder *b, nir_alu_dest dest, nir_ssa_def **src) in ptn_log()
358 ptn_dst(nir_builder *b, nir_alu_dest dest, nir_ssa_def **src) in ptn_dst()
[all …]
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c38 replace_intrinsic_with_vec(nir_builder *b, nir_intrinsic_instr *intr, in replace_intrinsic_with_vec()
55 v3d_nir_lower_output(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_output()
93 v3d_nir_lower_uniform(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_uniform()
127 v3d_nir_lower_io_instr(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_io_instr()
155 nir_builder b; in v3d_nir_lower_io_impl()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c55 nir_builder build;
220 ttn_src_for_dest(nir_builder *b, nir_alu_dest *dest) in ttn_src_for_dest()
242 nir_builder *b = &c->build; in ttn_emit_declaration()
468 nir_builder *b = &c->build; in ttn_emit_immediate()
518 nir_builder *b = &c->build; in ttn_src_for_file_and_index()
692 nir_builder *b = &c->build; in ttn_src_for_indirect()
773 nir_builder *b = &c->build; in ttn_get_src()
833 ttn_alu(nir_builder *b, nir_op op, nir_alu_dest dest, nir_ssa_def **src) in ttn_alu()
847 ttn_move_dest_masked(nir_builder *b, nir_alu_dest dest, in ttn_move_dest_masked()
863 ttn_move_dest(nir_builder *b, nir_alu_dest dest, nir_ssa_def *def) in ttn_move_dest()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c30 nir_builder *builder;
37 y_range(nir_builder *b, in y_range()
59 chroma_range(nir_builder *b, in chroma_range()
123 nir_builder *b = state->builder; in convert_ycbcr()
160 nir_builder *b = state->builder; in get_texture_size()
181 implicit_downsampled_coord(nir_builder *b, in implicit_downsampled_coord()
200 nir_builder *b = state->builder; in implicit_downsampled_coords()
230 nir_builder *b = state->builder; in create_plane_tex_instr_implicit()
320 nir_builder *builder, in try_lower_tex_ycbcr()
452 nir_builder builder; in anv_nir_lower_ycbcr_textures()
Danv_nir_lower_multiview.c36 nir_builder builder;
50 nir_builder *b = &state->builder; in build_instance_id()
70 nir_builder *b = &state->builder; in build_view_index()
208 nir_builder *b = &state.builder; in anv_nir_lower_multiview()
/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c36 build_mat2_det(nir_builder *b, nir_ssa_def *col[2]) in build_mat2_det()
44 build_mat3_det(nir_builder *b, nir_ssa_def *col[3]) in build_mat3_det()
66 build_mat4_det(nir_builder *b, nir_ssa_def **col) in build_mat4_det()
112 build_mat_subdet(struct nir_builder *b, struct vtn_ssa_value *src, in build_mat_subdet()
171 build_length(nir_builder *b, nir_ssa_def *vec) in build_length()
184 build_fclamp(nir_builder *b, in build_fclamp()
194 build_exp(nir_builder *b, nir_ssa_def *x) in build_exp()
203 build_log(nir_builder *b, nir_ssa_def *x) in build_log()
219 build_asin(nir_builder *b, nir_ssa_def *x, float p0, float p1) in build_asin()
238 build_fsum(nir_builder *b, nir_ssa_def **xs, int terms) in build_fsum()
[all …]
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h27 blorp_nir_frag_coord(nir_builder *b) in blorp_nir_frag_coord()
40 blorp_nir_txf_ms_mcs(nir_builder *b, nir_ssa_def *xy_pos, nir_ssa_def *layer) in blorp_nir_txf_ms_mcs()
73 blorp_nir_mcs_is_clear_color(nir_builder *b, in blorp_nir_mcs_is_clear_color()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_tcs_workarounds.c76 load_output(nir_builder *b, int num_components, int offset, int component) in load_output()
92 emit_quads_workaround(nir_builder *b, nir_block *block) in emit_quads_workaround()
130 nir_builder b; in brw_nir_apply_tcs_quads_workaround()

1234