/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/ |
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/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.h | 217 LLVMValueRef post_shift, LLVMValueRef increment); 220 LLVMValueRef post_shift, LLVMValueRef increment); 222 LLVMValueRef multiplier, LLVMValueRef post_shift);
|
D | ac_llvm_build.c | 720 LLVMValueRef post_shift, LLVMValueRef increment) in ac_build_fast_udiv() argument 730 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv() 738 LLVMValueRef post_shift, LLVMValueRef increment) in ac_build_fast_udiv_nuw() argument 748 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_nuw() 754 LLVMValueRef multiplier, LLVMValueRef post_shift) in ac_build_fast_udiv_u31_d_not_one() argument 762 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_u31_d_not_one()
|
/third_party/ffmpeg/libavcodec/ |
D | wavpack.c | 83 int post_shift; member 325 return bit << s->post_shift; in wv_get_value_integer() 1148 s->post_shift = bpp * 8 - orig_bpp + ((s->frame_flags >> 13) & 0x1f); in wavpack_decode_block() 1149 if (s->post_shift < 0 || s->post_shift > 31) { in wavpack_decode_block() 1331 if (s->hybrid && bpp == 4 && s->post_shift < 8 && s->shift > 8) { in wavpack_decode_block() 1332 s->post_shift += 8; in wavpack_decode_block()
|
/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/gallium/drivers/radeonsi/ |
D | si_state.h | 553 unsigned post_shift; /* shift for the dividend after multiplying */ member
|
D | si_state.c | 4865 info.post_shift, in si_compute_fast_udiv_info32() 4881 STATIC_ASSERT(sizeof(divisor_factors[0].post_shift) == 4); in si_create_vertex_elements()
|
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_compile.c | 202 agx_index postshift = agx_mov_imm(b, 32, info.post_shift); in agx_udiv_const() 215 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 | 306 bool post_shift = info.post_shift != 0; in emit_v_div_u32() local 308 if (!pre_shift && !increment && !multiply && !post_shift) { in emit_v_div_u32() 315 pre_shift_dst = (increment || multiply || post_shift) ? bld.tmp(v1) : dst; in emit_v_div_u32() 322 increment_dst = (post_shift || multiply) ? bld.tmp(v1) : dst; in emit_v_div_u32() 328 multiply_dst = post_shift ? bld.tmp(v1) : dst; in emit_v_div_u32() 333 if (post_shift) { in emit_v_div_u32() 334 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 | 3289 *(inputs++) = info.pre_shift | (info.increment << 8) | (info.post_shift << 16); in emit_prolog_inputs()
|