Lines Matching refs:LLVMConstInt

253 				      LLVMConstInt(ctx->i32, rshift, 0), "");  in unpack_llvm_param()
258 LLVMConstInt(ctx->i32, mask, 0), ""); in unpack_llvm_param()
330 return LLVMConstInt(ctx->i32, stride, 0); in get_tcs_out_vertex_dw_stride()
344 return LLVMConstInt(ctx->i32, patch_dw_stride, 0); in get_tcs_out_patch_stride()
411 return LLVMConstInt(ctx->i32, tcs_out_vertices, 0); in get_num_tcs_out_vertices()
423 return LLVMConstInt(ctx->i32, stride * 4, 0); in get_tcs_in_vertex_dw_stride()
429 return LLVMConstInt(ctx->i32, stride * 4, 0); in get_tcs_in_vertex_dw_stride()
463 LLVMValueRef index = LLVMConstInt(ctx->i32, double_index, 0); in extract_double_to_float()
475 LLVMConstInt(ctx->i32, 16, 0), ""); in unpack_sint16()
573 t_offset = LLVMConstInt(ctx->i32, input_index, 0); in si_llvm_load_input_vs()
609 LLVMValueRef voffset = LLVMConstInt(ctx->i32, fetch_stride * i, 0); in si_llvm_load_input_vs()
618 LLVMValueRef llvm_chan = LLVMConstInt(ctx->i32, chan, 0); in si_llvm_load_input_vs()
631 LLVMValueRef c30 = LLVMConstInt(ctx->i32, 30, 0); in si_llvm_load_input_vs()
647 LLVMConstInt(ctx->i32, 7, 0) : c30, ""); in si_llvm_load_input_vs()
815 LLVMConstInt(ctx->i32, addr_mul, 0), ""); in si_get_indirect_index()
817 LLVMConstInt(ctx->i32, rel_index, 0), ""); in si_get_indirect_index()
853 LLVMConstInt(ctx->i32, 4, 0), ""), ""); in get_dw_address_from_generic_indices()
864 LLVMConstInt(ctx->i32, param * 4, 0), ""); in get_dw_address_from_generic_indices()
903 vertex_index = LLVMConstInt(ctx->i32, reg.Dimension.Index, 0); in get_dw_address()
971 constant16 = LLVMConstInt(ctx->i32, 16, 0); in get_tcs_tes_buffer_address()
1019 LLVMConstInt(ctx->i32, param_index_base, 0), in get_tcs_tes_buffer_address_from_generic_indices()
1022 param_index = LLVMConstInt(ctx->i32, param_index_base, 0); in get_tcs_tes_buffer_address_from_generic_indices()
1049 vertex_index = LLVMConstInt(ctx->i32, reg.Dimension.Index, 0); in get_tcs_tes_buffer_address_from_reg()
1106 LLVMConstInt(ctx->i32, swizzle, 0), ""); in buffer_load()
1152 LLVMConstInt(ctx->i32, swizzle, 0)); in lds_load()
1171 LLVMConstInt(ctx->i32, dw_offset_imm, 0)); in lds_store()
1183 addr = LLVMBuildShl(builder, addr, LLVMConstInt(ctx->i64, 16, 0), ""); in desc_from_addr_base64k()
1192 LLVMValueRef hi = LLVMConstInt(ctx->i64, desc2 | (desc3 << 32), 0); in desc_from_addr_base64k()
1250 LLVMConstInt(ctx->i32, const_index, 0), ""); in si_nir_load_tcs_varyings()
1252 param_index = LLVMConstInt(ctx->i32, const_index, 0); in si_nir_load_tcs_varyings()
1332 LLVMConstInt(ctx->i32, const_index, 0), ""); in si_nir_load_input_tes()
1334 param_index = LLVMConstInt(ctx->i32, const_index, 0); in si_nir_load_input_tes()
1477 LLVMConstInt(ctx->i32, const_index, 0), ""); in si_nir_store_output_tcs()
1480 param_index = LLVMConstInt(ctx->i32, const_index, 0); in si_nir_store_output_tcs()
1611 LLVMConstInt(ctx->i32, param * 4, 0), ""); in si_llvm_load_input_gs()
1632 soffset = LLVMConstInt(ctx->i32, (param * 4 + swizzle) * 256, 0); in si_llvm_load_input_gs()
1638 soffset = LLVMConstInt(ctx->i32, (param * 4 + swizzle + 1) * 256, 0); in si_llvm_load_input_gs()
1706 LLVMConstInt(ctx->i32, chan, 0), in si_build_fs_interp()
1707 LLVMConstInt(ctx->i32, attr_index, 0), in si_build_fs_interp()
1711 LLVMConstInt(ctx->i32, 2, 0), /* P0 */ in si_build_fs_interp()
1712 LLVMConstInt(ctx->i32, chan, 0), in si_build_fs_interp()
1713 LLVMConstInt(ctx->i32, attr_index, 0), in si_build_fs_interp()
1890 LLVMValueRef buf_index = LLVMConstInt(ctx->i32, SI_PS_CONST_SAMPLE_POSITIONS, 0); in load_sample_position()
1895 LLVMValueRef offset1 = LLVMBuildAdd(ctx->ac.builder, offset0, LLVMConstInt(ctx->i32, 4, 0), ""); in load_sample_position()
1941 LLVMConstInt(ctx->i32, param, 0)); in load_tess_level()
2102 slot = LLVMConstInt(ctx->i32, SI_HS_CONST_DEFAULT_TESS_LEVELS, 0); in si_load_system_value()
2109 LLVMConstInt(ctx->i32, (offset + i) * 4, 0)); in si_load_system_value()
2136 values[i] = LLVMConstInt(ctx->i32, sizes[i], 0); in si_load_system_value()
2174 value = LLVMConstInt(ctx->i32, 64, 0); in si_load_system_value()
2185 value = LLVMBuildShl(ctx->ac.builder, LLVMConstInt(ctx->i64, 1, 0), id, ""); in si_load_system_value()
2199 value = LLVMConstInt(ctx->i64, -2, 0); in si_load_system_value()
2202 value = LLVMConstInt(ctx->i64, -1, 0); in si_load_system_value()
2248 LLVMConstInt(ctx->i32, si_get_constbuf_slot(i), 0)); in load_const_buffer_desc()
2258 LLVMConstInt(ctx->i32, SI_NUM_SHADER_BUFFERS, 0), ""); in load_ubo()
2272 LLVMConstInt(ctx->i32, SI_NUM_SHADER_BUFFERS - 1, 0), in load_ssbo()
2314 addr = LLVMConstInt(ctx->i32, idx * 4, 0); in fetch_constant()
2339 addr = LLVMBuildLShr(ctx->ac.builder, addr, LLVMConstInt(ctx->i32, 2, 0), ""); in fetch_constant()
2355 LLVMConstInt(ctx->i32, (sel->info.const_file_max[0] + 1) * 16, 0), in fetch_constant()
2356 LLVMConstInt(ctx->i32, in fetch_constant()
2379 LLVMConstInt(ctx->i32, SI_NUM_SHADER_BUFFERS, 0), ""); in fetch_constant()
2393 LLVMConstInt(ctx->i32, 16, 0), in si_llvm_pack_two_int16()
2403 LLVMConstInt(ctx->i32, 0xffff, 0), ""), in si_llvm_pack_two_int32_as_int16()
2533 LLVMValueRef max_rgb = LLVMConstInt(ctx->i32, in si_llvm_init_export_args()
2536 !is_int10 ? max_rgb : LLVMConstInt(ctx->i32, 3, 0); in si_llvm_init_export_args()
2553 LLVMValueRef max_rgb = LLVMConstInt(ctx->i32, in si_llvm_init_export_args()
2555 LLVMValueRef min_rgb = LLVMConstInt(ctx->i32, in si_llvm_init_export_args()
2560 !is_int10 ? min_rgb : LLVMConstInt(ctx->i32, -2, 0); in si_llvm_init_export_args()
2608 ac_build_kill_if_false(&ctx->ac, LLVMConstInt(ctx->i1, 0, 0)); in si_alpha_test()
2646 LLVMValueRef constbuf_index = LLVMConstInt(ctx->i32, in si_llvm_emit_clipvertex()
2662 LLVMConstInt(ctx->i32, ((reg_index * 4 + chan) * 4 + in si_llvm_emit_clipvertex()
2737 LLVMConstInt(ctx->i32, j, 0), ""); in emit_streamout_output()
2802 LLVMValueRef offset = LLVMConstInt(ctx->i32, in si_llvm_emit_streamout()
2809 so_offset = LLVMBuildMul(builder, so_offset, LLVMConstInt(ctx->i32, 4, 0), ""); in si_llvm_emit_streamout()
2812 LLVMConstInt(ctx->i32, so->stride[i]*4, 0), ""); in si_llvm_emit_streamout()
2997 LLVMConstInt(ctx->i32, 16, 0), ""); in si_llvm_export_vs()
3063 LLVMConstInt(ctx->i32, 4 * i, 0), in si_copy_tcs_inputs()
3069 LLVMConstInt(ctx->i32, i, 0)); in si_copy_tcs_inputs()
3150 LLVMConstInt(ctx->i32, in si_write_tess_factors()
3153 LLVMConstInt(ctx->i32, in si_write_tess_factors()
3189 LLVMConstInt(ctx->i32, 4 * stride, 0), ""); in si_write_tess_factors()
3199 LLVMConstInt(ctx->i32, 0x80000000, 0), in si_write_tess_factors()
3229 LLVMConstInt(ctx->i32, param_outer, 0)); in si_write_tess_factors()
3241 LLVMConstInt(ctx->i32, param_inner, 0)); in si_write_tess_factors()
3502 LLVMConstInt(ctx->i32, param * 4, 0), ""); in si_llvm_emit_ls_epilogue()
3536 LLVMConstInt(ctx->i32, 64, false), ""), ""); in si_llvm_emit_es_epilogue()
3538 LLVMConstInt(ctx->i32, itemsize_dw, 0), ""); in si_llvm_emit_es_epilogue()
3999 LLVMConstInt(ctx->i32, i, 0), ""); in si_llvm_emit_ddxy_interp()
4145 LLVMValueRef ix_ll = LLVMConstInt(ctx->i32, i, 0); in build_interp_intrinsic()
4146 LLVMValueRef iy_ll = LLVMConstInt(ctx->i32, i + 2, 0); in build_interp_intrinsic()
4188 gather, v, LLVMConstInt(ctx->i32, idx, false), ""); in build_interp_intrinsic()
4330 LLVMConstInt(ctx->i32, in si_llvm_emit_vertex()
4349 LLVMConstInt(ctx->i32, offset * in si_llvm_emit_vertex()
5027 LLVMValueRef offset = LLVMConstInt(ctx->i32, ring, 0); in preload_ring_buffers()
5034 LLVMValueRef offset = LLVMConstInt(ctx->i32, SI_RING_GSVS, 0); in preload_ring_buffers()
5040 LLVMValueRef offset = LLVMConstInt(ctx->i32, SI_RING_GSVS, 0); in preload_ring_buffers()
5076 LLVMConstInt(ctx->i64, in preload_ring_buffers()
5084 LLVMConstInt(ctx->i32, in preload_ring_buffers()
5089 LLVMConstInt(ctx->i32, num_records, 0), in preload_ring_buffers()
5090 LLVMConstInt(ctx->i32, 2, 0), ""); in preload_ring_buffers()
5092 LLVMConstInt(ctx->i32, in preload_ring_buffers()
5103 LLVMConstInt(ctx->i32, 3, 0), ""); in preload_ring_buffers()
5125 slot = LLVMConstInt(ctx->i32, SI_PS_CONST_POLY_STIPPLE, 0); in si_llvm_emit_polygon_stipple()
5130 LLVMConstInt(ctx->i32, 4, 0), ""); in si_llvm_emit_polygon_stipple()
5717 LLVMAddCase(switch_inst, LLVMConstInt(ctx.i32, stream, 0), bb); in si_generate_gs_copy_shader()
5730 LLVMValueRef soffset = LLVMConstInt(ctx.i32, in si_generate_gs_copy_shader()
5972 LLVMConstInt(ctx->i32, bitoffset, 0), in si_init_exec_from_input()
6113 LLVMBuildStore(ctx->ac.builder, LLVMConstInt(ctx->i1, 1, 0), in si_compile_tgsi_main()
6427 LLVMConstInt(ctx->i32, 16, 0), ""); in si_build_gs_prolog_function()
6551 builder, param, LLVMConstInt(ctx->i32, j, 0), ""); in si_build_wrapper_function()
6576 LLVMConstInt(ctx->i32, 0x7f, 0), ""); in si_build_wrapper_function()
7206 LLVMConstInt(ctx->i32, SI_VS_CONST_INSTANCE_DIVISORS, 0); in si_build_vs_prolog_function()
7223 LLVMConstInt(ctx->i32, i * 4, 0)); in si_build_vs_prolog_function()
7502 LLVMConstInt(ctx->i32, 31, 0), ""); in si_build_ps_prolog_function()
7692 LLVMConstInt(ctx->i32, ps_iter_mask, false), in si_build_ps_prolog_function()