| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | fast_idiv_by_const.h | 87 * if m.pre_shift > 0: emit("n >>>= m.pre_shift") 95 * if m.pre_shift > 0: emit("n >>>= m.pre_shift") 112 * 1: At least one of pre_shift and increment is zero 120 unsigned pre_shift; /* shift for the dividend before multiplying */ member in struct:util_fast_udiv_info 137 n = n >> info.pre_shift; 157 n = n >> info.pre_shift; 172 assert(info.pre_shift == 0);
|
| H A D | fast_idiv_by_const.c | 61 result.pre_shift = 0; 70 result.pre_shift = 0; 145 result.pre_shift = 0; 152 result.pre_shift = 0; 157 unsigned pre_shift = 0; local in function:util_compute_fast_udiv_info 161 pre_shift += 1; 163 result = util_compute_fast_udiv_info(shifted_D, num_bits - pre_shift, 165 /* expect no increment or pre_shift in this path */ 166 assert(result.increment == 0 && result.pre_shift == 0); 167 result.pre_shift [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | fast_idiv_by_const.h | 87 * if m.pre_shift > 0: emit("n >>>= m.pre_shift") 95 * if m.pre_shift > 0: emit("n >>>= m.pre_shift") 112 * 1: At least one of pre_shift and increment is zero 120 unsigned pre_shift; /* shift for the dividend before multiplying */ member in struct:util_fast_udiv_info 137 n = n >> info.pre_shift; 157 n = n >> info.pre_shift; 172 assert(info.pre_shift == 0);
|
| H A D | fast_idiv_by_const.c | 62 result.pre_shift = 0; 70 result.pre_shift = 0; 145 result.pre_shift = 0; 152 result.pre_shift = 0; 157 unsigned pre_shift = 0; local in function:util_compute_fast_udiv_info 161 pre_shift += 1; 163 result = util_compute_fast_udiv_info(shifted_D, num_bits - pre_shift, 165 /* expect no increment or pre_shift in this path */ 166 assert(result.increment == 0 && result.pre_shift == 0); 167 result.pre_shift [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_opt_idiv_const.c | 40 if (m.pre_shift) 41 n = nir_ushr(b, n, nir_imm_int(b, m.pre_shift));
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_opt_idiv_const.c | 40 if (m.pre_shift) 41 n = nir_ushr_imm(b, n, m.pre_shift);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/tests/fast_idiv_by_const/ |
| H A D | fast_idiv_by_const_test.cpp | 150 n = n >> m.pre_shift; 164 n = n >> m.pre_shift;
|
| /xsrc/external/mit/MesaLib/dist/src/util/tests/fast_idiv_by_const/ |
| H A D | fast_idiv_by_const_test.cpp | 147 n = n >> m.pre_shift; 161 n = n >> m.pre_shift;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_conv.c | 994 LLVMValueRef pre_shift[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_conv 998 pre_shift[i] = tmp[i]; 1008 pre_shift[i] = tmp[i]; 1016 tmp[i] = LLVMBuildSub(builder, tmp[i], pre_shift[i], "");
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_conv.c | 1024 LLVMValueRef pre_shift[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_conv 1028 pre_shift[i] = tmp[i]; 1038 pre_shift[i] = tmp[i]; 1046 tmp[i] = LLVMBuildSub(builder, tmp[i], pre_shift[i], "");
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/common/ |
| H A D | gen_mi_builder.h | 728 if (m.pre_shift) 729 N = gen_mi_ushr32_imm(b, N, m.pre_shift);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | ac_llvm_build.h | 193 LLVMValueRef pre_shift, 199 LLVMValueRef pre_shift,
|
| H A D | ac_llvm_build.c | 662 LLVMValueRef pre_shift, 668 num = LLVMBuildLShr(builder, num, pre_shift, ""); 685 LLVMValueRef pre_shift, 691 num = LLVMBuildLShr(builder, num, pre_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
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| H A D | iris_query.c | 470 if (m.pre_shift) { 474 if (m.pre_shift < 32) 475 emit_alu_shl(batch, MI_ALU_R0, MI_ALU_R0, 32 - m.pre_shift);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.h | 545 unsigned pre_shift; /* shift for the dividend before multiplying */ member in struct:si_fast_udiv_info32
|
| H A D | si_state.c | 4674 info.pre_shift, 4690 STATIC_ASSERT(sizeof(divisor_factors[0].pre_shift) == 4);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| H A D | ac_llvm_build.h | 215 LLVMValueRef multiplier, LLVMValueRef pre_shift, 218 LLVMValueRef multiplier, LLVMValueRef pre_shift,
|
| H A D | ac_llvm_build.c | 715 LLVMValueRef multiplier, LLVMValueRef pre_shift, 720 num = LLVMBuildLShr(builder, num, pre_shift, ""); 733 LLVMValueRef multiplier, LLVMValueRef pre_shift, 738 num = LLVMBuildLShr(builder, num, pre_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
|
| /xsrc/external/mit/MesaLib/dist/src/intel/common/ |
| H A D | mi_builder.h | 1115 if (m.pre_shift) 1116 N = mi_ushr32_imm(b, N, m.pre_shift);
|
| /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/ |
| H A D | agx_compile.c | 115 agx_index preshift = agx_mov_imm(b, 32, info.pre_shift); 122 if (info.pre_shift != 0) n = agx_ushr(b, n, preshift);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.c | 4416 unsigned pre_shift; /* shift for the dividend before multiplying */ member in struct:util_fast_udiv_info32 4430 info.pre_shift, 4447 STATIC_ASSERT(sizeof(divisor_factors[0].pre_shift) == 4);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| H A D | aco_instruction_selection.cpp | 294 bool pre_shift = info.pre_shift != 0; local in function:aco::__anon562fcc110110::emit_v_div_u32 299 if (!pre_shift && !increment && !multiply && !post_shift) { 305 if (pre_shift) { 307 bld.vop2(aco_opcode::v_lshrrev_b32, Definition(pre_shift_dst), Operand::c32(info.pre_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);
|