| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | fast_idiv_by_const.h | 50 * if m.post_shift > 0: emit("result >>= m.shift") 90 * if m.post_shift > 0: emit("result >>>= m.post_shift") 99 * if m.post_shift > 0: emit("result >>>= m.post_shift") 121 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:util_fast_udiv_info 146 n = n >> info.post_shift; 160 n = n >> info.post_shift; 175 n = n >> info.post_shift;
|
| H A D | fast_idiv_by_const.c | 62 result.post_shift = 0; 71 result.post_shift = 0; 146 result.post_shift = exponent; 153 result.post_shift = down_exponent;
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | fast_idiv_by_const.h | 50 * if m.post_shift > 0: emit("result >>= m.shift") 90 * if m.post_shift > 0: emit("result >>>= m.post_shift") 99 * if m.post_shift > 0: emit("result >>>= m.post_shift") 121 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:util_fast_udiv_info 146 n = n >> info.post_shift; 160 n = n >> info.post_shift; 175 n = n >> info.post_shift;
|
| H A D | fast_idiv_by_const.c | 63 result.post_shift = 0; 71 result.post_shift = 0; 146 result.post_shift = exponent; 153 result.post_shift = down_exponent;
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_opt_idiv_const.c | 45 if (m.post_shift) 46 n = nir_ushr(b, n, nir_imm_int(b, m.post_shift));
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_opt_idiv_const.c | 45 if (m.post_shift) 46 n = nir_ushr_imm(b, n, m.post_shift);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | ac_llvm_build.h | 194 LLVMValueRef post_shift, 200 LLVMValueRef post_shift, 205 LLVMValueRef post_shift);
|
| H A D | ac_llvm_build.c | 663 LLVMValueRef post_shift, 676 return LLVMBuildLShr(builder, num, post_shift, ""); 686 LLVMValueRef post_shift, 698 return LLVMBuildLShr(builder, num, post_shift, ""); 706 LLVMValueRef post_shift) 715 return LLVMBuildLShr(builder, num, post_shift, ""); 659 ac_build_fast_udiv(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument 682 ac_build_fast_udiv_nuw(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument 703 ac_build_fast_udiv_u31_d_not_one(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef post_shift) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/tests/fast_idiv_by_const/ |
| H A D | fast_idiv_by_const_test.cpp | 153 n = n >> m.post_shift; 168 n = n >> m.post_shift;
|
| /xsrc/external/mit/MesaLib/dist/src/util/tests/fast_idiv_by_const/ |
| H A D | fast_idiv_by_const_test.cpp | 150 n = n >> m.post_shift; 165 n = n >> m.post_shift;
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/common/ |
| H A D | gen_mi_builder.h | 739 if (m.post_shift) 740 N = gen_mi_ushr32_imm(b, N, m.post_shift);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| H A D | ac_llvm_build.h | 216 LLVMValueRef post_shift, LLVMValueRef increment); 219 LLVMValueRef post_shift, LLVMValueRef increment); 221 LLVMValueRef multiplier, LLVMValueRef post_shift);
|
| H A D | ac_llvm_build.c | 716 LLVMValueRef post_shift, LLVMValueRef increment) 726 return LLVMBuildLShr(builder, num, post_shift, ""); 734 LLVMValueRef post_shift, LLVMValueRef increment) 744 return LLVMBuildLShr(builder, num, post_shift, ""); 750 LLVMValueRef multiplier, LLVMValueRef post_shift) 758 return LLVMBuildLShr(builder, num, post_shift, ""); 714 ac_build_fast_udiv(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument 732 ac_build_fast_udiv_nuw(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument 749 ac_build_fast_udiv_u31_d_not_one(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef post_shift) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| H A D | iris_query.c | 494 if (m.post_shift) { 498 if (m.post_shift < 32) 499 emit_alu_shl(batch, MI_ALU_R0, MI_ALU_R0, 32 - m.post_shift);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.h | 546 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:si_fast_udiv_info32
|
| H A D | si_state.c | 4675 info.post_shift, 4691 STATIC_ASSERT(sizeof(divisor_factors[0].post_shift) == 4);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/common/ |
| H A D | mi_builder.h | 1126 if (m.post_shift) 1127 N = mi_ushr32_imm(b, N, m.post_shift);
|
| /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/ |
| H A D | agx_compile.c | 117 agx_index postshift = agx_mov_imm(b, 32, info.post_shift); 130 if (info.post_shift != 0) n = agx_ushr(b, n, postshift);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.c | 4417 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:util_fast_udiv_info32 4431 info.post_shift, 4448 STATIC_ASSERT(sizeof(divisor_factors[0].post_shift) == 4);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| H A D | aco_instruction_selection.cpp | 297 bool post_shift = info.post_shift != 0; local in function:aco::__anon562fcc110110::emit_v_div_u32 299 if (!pre_shift && !increment && !multiply && !post_shift) { 306 pre_shift_dst = (increment || multiply || post_shift) ? bld.tmp(v1) : dst; 313 increment_dst = (post_shift || multiply) ? bld.tmp(v1) : dst; 319 multiply_dst = post_shift ? bld.tmp(v1) : dst; 324 if (post_shift) { 325 bld.vop2(aco_opcode::v_lshrrev_b32, Definition(dst), Operand::c32(info.post_shift),
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_cmd_buffer.c | 2953 *(inputs++) = info.pre_shift | (info.increment << 8) | (info.post_shift << 16);
|