/third_party/mesa3d/src/util/ |
D | fast_idiv_by_const.h | 121 unsigned post_shift; /* shift for the dividend after multiplying */ member 146 n = n >> info.post_shift; in util_fast_udiv32() 160 n = n >> info.post_shift; in util_fast_udiv32_nuw() 175 n = n >> info.post_shift; in util_fast_udiv32_u31_d_not_one()
|
D | fast_idiv_by_const.c | 63 result.post_shift = 0; in util_compute_fast_udiv_info() 71 result.post_shift = 0; in util_compute_fast_udiv_info() 146 result.post_shift = exponent; in util_compute_fast_udiv_info() 153 result.post_shift = down_exponent; in util_compute_fast_udiv_info()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_idiv_const.c | 45 if (m.post_shift) in build_udiv() 46 n = nir_ushr_imm(b, n, m.post_shift); in build_udiv()
|
/third_party/mesa3d/src/util/tests/fast_idiv_by_const/ |
D | fast_idiv_by_const_test.cpp | 150 n = n >> m.post_shift; in fast_udiv_add_sat() 165 n = n >> m.post_shift; in fast_udiv_mul_add()
|
/third_party/ffmpeg/libavcodec/ |
D | wavpack.c | 82 int post_shift; member 324 return bit << s->post_shift; in wv_get_value_integer() 1143 s->post_shift = bpp * 8 - orig_bpp + ((s->frame_flags >> 13) & 0x1f); in wavpack_decode_block() 1144 if (s->post_shift < 0 || s->post_shift > 31) { in wavpack_decode_block() 1324 if (s->hybrid && bpp == 4 && s->post_shift < 8 && s->shift > 8) { in wavpack_decode_block() 1325 s->post_shift += 8; in wavpack_decode_block()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.h | 216 LLVMValueRef post_shift, LLVMValueRef increment); 219 LLVMValueRef post_shift, LLVMValueRef increment); 221 LLVMValueRef multiplier, LLVMValueRef post_shift);
|
D | ac_llvm_build.c | 716 LLVMValueRef post_shift, LLVMValueRef increment) in ac_build_fast_udiv() argument 726 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv() 734 LLVMValueRef post_shift, LLVMValueRef increment) in ac_build_fast_udiv_nuw() argument 744 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_nuw() 750 LLVMValueRef multiplier, LLVMValueRef post_shift) in ac_build_fast_udiv_u31_d_not_one() argument 758 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_u31_d_not_one()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.h | 546 unsigned post_shift; /* shift for the dividend after multiplying */ member
|
D | si_state.c | 4675 info.post_shift, in si_compute_fast_udiv_info32() 4691 STATIC_ASSERT(sizeof(divisor_factors[0].post_shift) == 4); in si_create_vertex_elements()
|
/third_party/mesa3d/src/intel/common/ |
D | mi_builder.h | 1126 if (m.post_shift) in mi_udiv32_imm() 1127 N = mi_ushr32_imm(b, N, m.post_shift); in mi_udiv32_imm()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_compile.c | 117 agx_index postshift = agx_mov_imm(b, 32, info.post_shift); in agx_udiv_const() 130 if (info.post_shift != 0) n = agx_ushr(b, n, postshift); in agx_udiv_const()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 297 bool post_shift = info.post_shift != 0; in emit_v_div_u32() local 299 if (!pre_shift && !increment && !multiply && !post_shift) { in emit_v_div_u32() 306 pre_shift_dst = (increment || multiply || post_shift) ? bld.tmp(v1) : dst; in emit_v_div_u32() 313 increment_dst = (post_shift || multiply) ? bld.tmp(v1) : dst; in emit_v_div_u32() 319 multiply_dst = post_shift ? bld.tmp(v1) : dst; in emit_v_div_u32() 324 if (post_shift) { in emit_v_div_u32() 325 bld.vop2(aco_opcode::v_lshrrev_b32, Definition(dst), Operand::c32(info.post_shift), in emit_v_div_u32()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_cmd_buffer.c | 2953 *(inputs++) = info.pre_shift | (info.increment << 8) | (info.post_shift << 16); in emit_prolog_inputs()
|