Home
last modified time | relevance | path

Searched refs:i32t (Results 1 - 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.c99 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_extract_broadcast() local
106 assert(LLVMTypeOf(index) == i32t); in lp_build_extract_broadcast()
129 LLVMVectorType(i32t, dst_type.length), in lp_build_extract_broadcast()
387 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_aos() local
404 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
408 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
415 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
421 shuffles[j + i] = LLVMGetUndef(i32t); in lp_build_swizzle_aos()
745 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_pack_aos_scalars() local
746 LLVMValueRef undef = LLVMGetUndef(i32t); in lp_build_pack_aos_scalars()
780 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); lp_build_unpack_broadcast_aos_scalars() local
[all...]
H A Dlp_bld_format_aos.c807 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos() local
835 arg_types[2] = i32t; in lp_build_fetch_rgba_aos()
836 arg_types[3] = i32t; in lp_build_fetch_rgba_aos()
849 tmp_ptr = lp_build_alloca(gallivm, i32t, ""); in lp_build_fetch_rgba_aos()
851 res = LLVMGetUndef(LLVMVectorType(i32t, num_pixels)); in lp_build_fetch_rgba_aos()
877 tmp = LLVMBuildLoad2(builder, i32t, tmp_ptr, ""); in lp_build_fetch_rgba_aos()
913 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos() local
941 arg_types[2] = i32t; in lp_build_fetch_rgba_aos()
942 arg_types[3] = i32t; in lp_build_fetch_rgba_aos()
H A Dlp_bld_nir_aos.c199 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in emit_store_reg() local
204 shuffles[j] = LLVMConstInt(i32t, 16 + j, 0); // new val in emit_store_reg()
206 shuffles[j] = LLVMConstInt(i32t, j, 0); // cur val in emit_store_reg()
H A Dlp_bld_sample.c256 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_pmin() local
257 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_pmin()
258 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_pmin()
355 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_rho() local
356 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_rho()
357 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_rho()
358 LLVMValueRef index2 = LLVMConstInt(i32t, 2, 0); in lp_build_rho()
1491 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_extract_image_sizes() local
1499 LLVMConstInt(i32t, 0, 0)); in lp_build_extract_image_sizes()
1505 LLVMConstInt(i32t, in lp_build_extract_image_sizes()
[all...]
H A Dlp_bld_conv.c184 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_float_to_half() local
194 src, LLVMConstInt(i32t, mode, 0)); in lp_build_float_to_half()
211 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_float_to_half() local
222 LLVMValueRef index = LLVMConstInt(i32t, i, 0); in lp_build_float_to_half()
H A Dlp_bld_format_s3tc.c906 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in s3tc_dxt5_alpha_channel() local
968 alphac0 = LLVMBuildTrunc(builder, alphac0, i32t, ""); in s3tc_dxt5_alpha_channel()
1619 LLVMTypeRef i64t, i32t; in s3tc_decode_block_dxt5() local
1644 i32t = lp_build_vec_type(gallivm, type32); in s3tc_decode_block_dxt5()
1707 tmp0 = LLVMBuildBitCast(builder, tmp0, i32t, ""); in s3tc_decode_block_dxt5()
1708 tmp1 = LLVMBuildBitCast(builder, tmp1, i32t, ""); in s3tc_decode_block_dxt5()
1895 ares = LLVMBuildBitCast(builder, ares, i32t, ""); in s3tc_decode_block_dxt5()
1909 a[i] = LLVMBuildBitCast(builder, a[i], i32t, ""); in s3tc_decode_block_dxt5()
2051 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in compressed_fetch_cached() local
2074 ptr_addrtrunc = LLVMBuildPtrToInt(builder, base_ptr, i32t, ""); in compressed_fetch_cached()
[all...]
H A Dlp_bld_sample_soa.c2091 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_sample_aniso() local
2092 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_sample_aniso()
2093 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_sample_aniso()
3318 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_sample_soa_code() local
3597 LLVMConstInt(i32t, 0, 0), ""); in lp_build_sample_soa_code()
3604 LLVMConstInt(i32t, 1, 0), ""); in lp_build_sample_soa_code()
3611 LLVMConstInt(i32t, 2, 0), ""); in lp_build_sample_soa_code()
H A Dlp_bld_arit.c1891 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_iround_nearest_sse2() local
1908 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_iround_nearest_sse2()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c229 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in generate_quad_mask() local
266 mask_input = LLVMBuildTrunc(builder, mask_input, i32t, ""); in generate_quad_mask()
270 LLVMConstInt(i32t, shift, 0), ""); in generate_quad_mask()
281 bits[4*i + 0] = LLVMConstInt(i32t, 1ULL << (j + 0), 0); in generate_quad_mask()
282 bits[4*i + 1] = LLVMConstInt(i32t, 1ULL << (j + 1), 0); in generate_quad_mask()
283 bits[4*i + 2] = LLVMConstInt(i32t, 1ULL << (j + 4), 0); in generate_quad_mask()
284 bits[4*i + 3] = LLVMConstInt(i32t, 1ULL << (j + 5), 0); in generate_quad_mask()

Completed in 31 milliseconds