Home
last modified time | relevance | path

Searched refs:nir_const_value (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/prebuilt-intermediates/nir/
Dnir_constant_expressions.c253 static nir_const_value
255 MAYBE_UNUSED nir_const_value *_src) in evaluate_b2f()
257 nir_const_value _dst_val = { {0, } }; in evaluate_b2f()
295 static nir_const_value
297 MAYBE_UNUSED nir_const_value *_src) in evaluate_b2i()
299 nir_const_value _dst_val = { {0, } }; in evaluate_b2i()
337 static nir_const_value
339 MAYBE_UNUSED nir_const_value *_src) in evaluate_ball_fequal2()
341 nir_const_value _dst_val = { {0, } }; in evaluate_ball_fequal2()
403 static nir_const_value
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_loop_analyze.c361 get_iteration(nir_op cond_op, nir_const_value *initial, nir_const_value *step, in get_iteration()
362 nir_const_value *limit, nir_alu_instr *alu) in get_iteration()
400 test_iterations(int32_t iter_int, nir_const_value *step, in test_iterations()
401 nir_const_value *limit, nir_op cond_op, unsigned bit_size, in test_iterations()
403 nir_const_value *initial, bool limit_rhs, bool invert_cond) in test_iterations()
407 nir_const_value iter_src = { {0, } }; in test_iterations()
429 nir_const_value mul_src[2] = { iter_src, *step }; in test_iterations()
430 nir_const_value mul_result = in test_iterations()
434 nir_const_value add_src[2] = { mul_result, *initial }; in test_iterations()
435 nir_const_value add_result = in test_iterations()
[all …]
Dnir_constant_expressions.h30 nir_const_value nir_eval_const_opcode(nir_op op, unsigned num_components,
31 unsigned bit_size, nir_const_value *src);
Dnir_search_helpers.h42 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in is_pos_power_of_two()
72 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in is_neg_power_of_two()
98 nir_const_value *val = nir_src_as_const_value(instr->src[src].src); in is_zero_to_one()
Dnir_opt_constant_folding.c44 nir_const_value src[4]; in constant_fold_alu_instr()
95 nir_const_value dest = in constant_fold_alu_instr()
159 nir_const_value *src_val = nir_src_as_const_value(instr->src[0]); in constant_fold_intrinsic_instr()
Dnir_builder.h99 unsigned bit_size, nir_const_value value) in nir_build_imm()
116 nir_const_value v; in nir_imm_float()
127 nir_const_value v; in nir_imm_double()
138 nir_const_value v; in nir_imm_vec4()
152 nir_const_value v; in nir_imm_int()
163 nir_const_value v; in nir_imm_ivec4()
Dnir_gs_count_vertices.c74 nir_const_value *val = nir_src_as_const_value(intrin->src[0]); in nir_gs_count_vertices()
Dnir_lower_system_values.c60 nir_const_value local_size; in convert_block()
Dnir_opt_if.c126 nir_const_value *const_src = nir_src_as_const_value(src->src); in opt_peel_loop_initial_if()
Dnir_opt_dead_cf.c223 nir_const_value *const_value = in dead_cf_block()
Dnir.h108 } nir_const_value; typedef
118 nir_const_value values[4];
1351 nir_const_value value;
2175 nir_const_value *nir_src_as_const_value(nir_src src);
Dnir_lower_tex.c237 nir_const_value m[3] = { in convert_yuv_to_rgb()
609 nir_const_value v; in get_zero_or_one()
Dnir.c1372 nir_const_value *
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_gs_nir.cpp66 nir_const_value *vertex = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic()
67 nir_const_value *offset_reg = nir_src_as_const_value(instr->src[1]); in nir_emit_intrinsic()
Dbrw_fs_nir.cpp413 nir_const_value *element = nir_src_as_const_value(src0->src[1].src); in optimize_extract_to_float()
446 nir_const_value *value1 = nir_src_as_const_value(instr->src[1].src); in optimize_frontfacing_ternary()
450 nir_const_value *value2 = nir_src_as_const_value(instr->src[2].src); in optimize_frontfacing_ternary()
1329 nir_const_value *byte = nir_src_as_const_value(instr->src[1].src); in nir_emit_alu()
1338 nir_const_value *word = nir_src_as_const_value(instr->src[1].src); in nir_emit_alu()
1419 nir_const_value *val = nir_src_as_const_value(src); in get_nir_src_imm()
1937 nir_const_value *vertex_const = nir_src_as_const_value(vertex_src); in emit_gs_input_load()
1938 nir_const_value *offset_const = nir_src_as_const_value(offset_src); in emit_gs_input_load()
2145 nir_const_value *const_value = nir_src_as_const_value(*offset_src); in get_indirect_offset()
2255 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in nir_emit_vs_intrinsic()
[all …]
Dbrw_vec4_nir.cpp342 nir_const_value *const_value = nir_src_as_const_value(*offset_src); in get_indirect_offset()
415 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic()
442 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]); in nir_emit_intrinsic()
480 nir_const_value *const_uniform_block = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic()
510 nir_const_value *const_uniform_block = in nir_emit_intrinsic()
530 nir_const_value *const_offset = nir_src_as_const_value(instr->src[2]); in nir_emit_intrinsic()
670 nir_const_value *const_uniform_block = in nir_emit_intrinsic()
695 nir_const_value *const_offset = nir_src_as_const_value(instr->src[1]); in nir_emit_intrinsic()
810 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic()
874 nir_const_value *const_block_index = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic()
[all …]
Dbrw_nir_intrinsics.c118 nir_const_value uvec3; in lower_cs_intrinsics_convert_block()
Dbrw_nir.c71 nir_const_value *const_offset = nir_src_as_const_value(*offset); in add_const_offset_to_base_block()
225 nir_const_value *const_vertex = nir_src_as_const_value(*vertex); in remap_patch_urb_offsets()
Dbrw_vec4_tcs.cpp274 nir_const_value *vertex_const = nir_src_as_const_value(instr->src[0]); in nir_emit_intrinsic()
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c76 nir_const_value *plane = nir_src_as_const_value(tex->src[plane_index].src); in lower_tex_src_plane_block()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_dynamic_offsets.c117 nir_const_value zero_val = { .u32 = { 0, 0, 0, 0 } }; in apply_dynamic_offsets_block()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c997 nir_const_value *const_offset; in emit_intrinsic_load_ubo()
1164 nir_const_value *const_offset; in emit_intrinsic()
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c720 nir_const_value v; in nir_imm_vec2()
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c1278 nir_const_value src[4]; in vtn_handle_constant()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1706 nir_const_value *const_offset; in ntq_emit_intrinsic()

12