| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| D | si_shader_llvm_resources.c | 37 LLVMValueRef c_max = LLVMConstInt(ctx->ac.i32, num - 1, 0); in si_llvm_bound_index() 70 desc1 = LLVMConstInt(ctx->ac.i32, S_008F04_BASE_ADDRESS_HI(ctx->screen->info.address32_hi), 0); in load_const_buffer_desc_fast_path() 86 LLVMConstInt(ctx->ac.i32, sel->info.constbuf0_num_slots * 16, 0), in load_const_buffer_desc_fast_path() 87 LLVMConstInt(ctx->ac.i32, rsrc3, false)}; in load_const_buffer_desc_fast_path() 105 LLVMBuildAdd(ctx->ac.builder, index, LLVMConstInt(ctx->ac.i32, SI_NUM_SHADER_BUFFERS, 0), ""); in load_ubo() 122 index = LLVMBuildSub(ctx->ac.builder, LLVMConstInt(ctx->ac.i32, SI_NUM_SHADER_BUFFERS - 1, 0), in load_ssbo() 144 LLVMValueRef i32_6 = LLVMConstInt(ctx->ac.i32, 6, 0); in force_dcc_off() 145 LLVMValueRef i32_C = LLVMConstInt(ctx->ac.i32, C_008F28_COMPRESSION_EN, 0); in force_dcc_off() 156 LLVMValueRef i32_6 = LLVMConstInt(ctx->ac.i32, 6, 0); in force_write_compress_off() 157 LLVMValueRef i32_C = LLVMConstInt(ctx->ac.i32, C_00A018_WRITE_COMPRESS_ENABLE, 0); in force_write_compress_off() [all …]
|
| D | gfx10_shader_ngg.c | 47 LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), ""); in gfx10_get_thread_id_in_tg() 71 LLVMConstInt(ctx->ac.i32, SI_GS_QUERY_BUF, false)); in ngg_get_query_buf() 79 … LLVMConstInt(ctx->ac.i32, SI_GS_QUERY_EMULATED_COUNTERS_BUF, false)); in ngg_get_emulated_counters_buf() 92 return LLVMConstInt(ctx->ac.i32, *num_vertices, false); in ngg_get_vertices_per_prim() 97 return LLVMConstInt(ctx->ac.i32, 3, 0); in ngg_get_vertices_per_prim() 100 return LLVMConstInt(ctx->ac.i32, 2, 0); in ngg_get_vertices_per_prim() 122 return LLVMConstInt(ctx->ac.i32, *num_vertices, false); in ngg_get_vertices_per_prim() 167 LLVMValueRef edgeflags = LLVMConstInt(ctx->ac.i32, all_bits_no_edgeflags, 0); in gfx10_ngg_build_export_prim() 178 edge = LLVMBuildShl(builder, edge, LLVMConstInt(ctx->ac.i32, shift, 0), ""); in gfx10_ngg_build_export_prim() 214 edge = LLVMBuildShl(ctx->ac.builder, edge, LLVMConstInt(ctx->ac.i32, 9 + i*10, 0), ""); in gfx10_ngg_build_export_prim() [all …]
|
| D | si_shader_llvm_gs.c | 104 … LLVMConstInt(ctx->ac.i32, SI_GS_QUERY_EMULATED_COUNTERS_BUF, false)); in ngg_get_emulated_counters_buf() 135 …prim = LLVMBuildSub(ctx->ac.builder, ctx->gs_emitted_vertices, LLVMConstInt(ctx->ac.i32, 2, 0), ""… in si_llvm_gs_build_end() 143 LLVMConstInt(ctx->ac.i32, in si_llvm_gs_build_end() 152 args[2] = LLVMConstInt(ctx->ac.i32, in si_llvm_gs_build_end() 197 LLVMConstInt(ctx->ac.i32, shader->selector->info.base.gs.vertices_out, 0), ""); in si_llvm_emit_vertex() 215 LLVMConstInt(ctx->ac.i32, offset * shader->selector->info.base.gs.vertices_out, 0); in si_llvm_emit_vertex() 219 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_emit_vertex() 264 LLVMValueRef offset = LLVMConstInt(ctx->ac.i32, SI_RING_ESGS, 0); in si_preload_esgs_ring() 272 LLVMConstInt(ctx->ac.i32, 3, 0), ""); in si_preload_esgs_ring() 273 desc1 = LLVMBuildOr(builder, desc1, LLVMConstInt(ctx->ac.i32, in si_preload_esgs_ring() [all …]
|
| D | si_shader_llvm_vs.c | 36 return LLVMBuildAShr(ctx->ac.builder, i32, LLVMConstInt(ctx->ac.i32, 16, 0), ""); in unpack_sint16() 125 LLVMConstInt(ctx->ac.i32, index, 0)); in load_input_vs() 144 LLVMBuildExtractElement(ctx->ac.builder, tmp, LLVMConstInt(ctx->ac.i32, i, false), ""); in load_input_vs() 185 LLVMValueRef voffset = LLVMConstInt(ctx->ac.i32, fetch_stride * i, 0); in load_input_vs() 194 tmp = LLVMConstInt(ctx->ac.i32, i, false); in load_input_vs() 206 fetches[3] = LLVMConstInt(int_type, 1, 0); in load_input_vs() 219 LLVMValueRef c30 = LLVMConstInt(int_type, 30, 0); in load_input_vs() 235 fix_fetch.u.format == AC_FETCH_FORMAT_SNORM ? LLVMConstInt(int_type, 7, 0) : c30, ""); in load_input_vs() 308 … LLVMConstInt(ctx->ac.i32, stream_out->dst_offset * 4, 0), ""), in si_llvm_streamout_store_output() 357 LLVMValueRef offset = LLVMConstInt(ctx->ac.i32, SI_VS_STREAMOUT_BUF0 + i, 0); in si_llvm_emit_streamout() [all …]
|
| D | si_shader_llvm_tess.c | 79 return LLVMConstInt(ctx->ac.i32, patch_dw_stride, 0); in get_tcs_out_patch_stride() 104 return LLVMConstInt(ctx->ac.i32, tcs_out_vertices, 0); in si_get_num_tcs_out_vertices() 117 return LLVMConstInt(ctx->ac.i32, stride, 0); in si_get_tcs_in_vertex_dw_stride() 122 return LLVMConstInt(ctx->ac.i32, stride, 0); in si_get_tcs_in_vertex_dw_stride() 162 constant16 = LLVMConstInt(ctx->ac.i32, 16, 0); in get_tcs_tes_buffer_address() 203 dw_addr = LLVMBuildAdd(ctx->ac.builder, dw_addr, LLVMConstInt(ctx->ac.i32, swizzle, 0), ""); in lshs_lds_load() 223 addr = LLVMBuildAnd(builder, addr, LLVMConstInt(ctx->ac.i32, 0xfff80000, 0), ""); in get_tess_ring_descriptor() 228 addr = LLVMBuildAdd(builder, addr, LLVMConstInt(ctx->ac.i32, tf_offset, 0), ""); in get_tess_ring_descriptor() 246 desc[1] = LLVMConstInt(ctx->ac.i32, S_008F04_BASE_ADDRESS_HI(ctx->screen->info.address32_hi), 0); in get_tess_ring_descriptor() 247 desc[2] = LLVMConstInt(ctx->ac.i32, 0xffffffff, 0); in get_tess_ring_descriptor() [all …]
|
| D | si_shader_llvm_ps.c | 38 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_PS_CONST_SAMPLE_POSITIONS, 0); in load_sample_position() 43 LLVMBuildMul(ctx->ac.builder, sample_id, LLVMConstInt(ctx->ac.i32, 8, 0), ""); in load_sample_position() 45 LLVMBuildAdd(ctx->ac.builder, offset0, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in load_sample_position() 72 ac_build_load_to_sgpr(&ctx->ac, ptr, LLVMConstInt(ctx->ac.i32, SI_PS_IMAGE_COLORBUF0 / 2, 0)); in si_nir_emit_fbfetch() 92 LLVMConstInt(ctx->ac.i32, SI_PS_IMAGE_COLORBUF0_FMASK / 2, 0)); in si_nir_emit_fbfetch() 119 return ac_build_fs_interp(&ctx->ac, LLVMConstInt(ctx->ac.i32, chan, 0), in si_build_fs_interp() 120 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask, i, j); in si_build_fs_interp() 122 return ac_build_fs_interp_mov(&ctx->ac, LLVMConstInt(ctx->ac.i32, 2, 0), /* P0 */ in si_build_fs_interp() 123 LLVMConstInt(ctx->ac.i32, chan, 0), in si_build_fs_interp() 124 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask); in si_build_fs_interp() [all …]
|
| D | si_shader_llvm.c | 349 LLVMConstInt(ctx->ac.i32, bitoffset, 0), in si_init_exec_from_input() 365 value = LLVMBuildLShr(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, rshift, 0), ""); in unpack_llvm_param() 369 value = LLVMBuildAnd(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, mask, 0), ""); in unpack_llvm_param() 566 LLVMBuildExtractElement(builder, param, LLVMConstInt(ctx->ac.i32, j, 0), ""); in si_build_wrapper_function() 597 count = LLVMBuildAnd(builder, count, LLVMConstInt(ctx->ac.i32, 0x7f, 0), ""); in si_build_wrapper_function() 675 count = LLVMBuildLShr(builder, count, LLVMConstInt(ctx->ac.i32, 8, 0), ""); in si_build_wrapper_function() 676 count = LLVMBuildAnd(builder, count, LLVMConstInt(ctx->ac.i32, 0x7f, 0), ""); in si_build_wrapper_function() 750 LLVMValueRef slot = LLVMConstInt(ctx->ac.i32, SI_HS_CONST_DEFAULT_TESS_LEVELS, 0); in si_llvm_load_intrinsic() 757 val[i] = si_buffer_load_const(ctx, buf, LLVMConstInt(ctx->ac.i32, (offset + i) * 4, 0)); in si_llvm_load_intrinsic() 774 LLVMConstInt(ctx->ac.i32, 2, 0), ""); in si_llvm_load_intrinsic() [all …]
|
| /third_party/mesa3d/src/amd/llvm/ |
| D | ac_llvm_build.c | 103 ctx->i8_0 = LLVMConstInt(ctx->i8, 0, false); in ac_llvm_context_init() 104 ctx->i8_1 = LLVMConstInt(ctx->i8, 1, false); in ac_llvm_context_init() 105 ctx->i16_0 = LLVMConstInt(ctx->i16, 0, false); in ac_llvm_context_init() 106 ctx->i16_1 = LLVMConstInt(ctx->i16, 1, false); in ac_llvm_context_init() 107 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); in ac_llvm_context_init() 108 ctx->i32_1 = LLVMConstInt(ctx->i32, 1, false); in ac_llvm_context_init() 109 ctx->i64_0 = LLVMConstInt(ctx->i64, 0, false); in ac_llvm_context_init() 110 ctx->i64_1 = LLVMConstInt(ctx->i64, 1, false); in ac_llvm_context_init() 111 ctx->i128_0 = LLVMConstInt(ctx->i128, 0, false); in ac_llvm_context_init() 112 ctx->i128_1 = LLVMConstInt(ctx->i128, 1, false); in ac_llvm_context_init() [all …]
|
| D | ac_nir_to_llvm.c | 97 ptr = LLVMBuildAdd(ctx->ac.builder, ptr, LLVMConstInt(ctx->ac.i32, c_off, 0), ""); in get_memory_ptr_t() 130 LLVMValueRef masks[] = {LLVMConstInt(ctx->ac.i32, src.swizzle[0], false), in get_alu_src() 131 LLVMConstInt(ctx->ac.i32, src.swizzle[1], false), in get_alu_src() 132 LLVMConstInt(ctx->ac.i32, src.swizzle[2], false), in get_alu_src() 133 LLVMConstInt(ctx->ac.i32, src.swizzle[3], false)}; in get_alu_src() 202 LLVMConstInt(ctx->i32, i, 0), ""); in emit_intrin_1f_param_scalar() 346 args[1] = LLVMConstInt(ctx->i32, N_SUBNORMAL | P_SUBNORMAL, false); in emit_f2f16() 365 LLVMBuildBitCast(ctx->builder, LLVMConstInt(ctx->i32, 0x38800000, false), ctx->f32, ""), in emit_f2f16() 382 dst64 = LLVMBuildLShr(ctx->builder, dst64, LLVMConstInt(ctx->i64, 32, false), ""); in emit_umul_high() 395 dst64 = LLVMBuildAShr(ctx->builder, dst64, LLVMConstInt(ctx->i64, 32, false), ""); in emit_imul_high() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
| D | lp_state_fs_linear_llvm.c | 374 LLVMValueRef index = LLVMConstInt(int32t, attrib, 0); in llvmpipe_fs_variant_linear_llvm() 381 LLVMConstInt(int32t, 0, 0)); in llvmpipe_fs_variant_linear_llvm() 412 LLVMValueRef index = LLVMConstInt(int32t, attrib, 0); in llvmpipe_fs_variant_linear_llvm() 418 lp_build_pointer_get(builder, elem, LLVMConstInt(int32t, 0, 0)); in llvmpipe_fs_variant_linear_llvm() 437 LLVMBuildAnd(builder, width, LLVMConstInt(int32t, 3, 0), ""); in llvmpipe_fs_variant_linear_llvm() 439 width = LLVMBuildLShr(builder, width, LLVMConstInt(int32t, 2, 0), ""); in llvmpipe_fs_variant_linear_llvm() 444 lp_build_for_loop_begin(&loop, gallivm, LLVMConstInt(int32t, 0, 0), in llvmpipe_fs_variant_linear_llvm() 445 LLVMIntULT, width, LLVMConstInt(int32t, 1, 0)); in llvmpipe_fs_variant_linear_llvm() 468 LLVMConstInt(int32t, 0, 0), "")); in llvmpipe_fs_variant_linear_llvm() 482 lp_build_loop_begin(&loop_read, gallivm, LLVMConstInt(int32t, 0, 0)); in llvmpipe_fs_variant_linear_llvm() [all …]
|
| D | lp_test_printf.c | 73 …lp_build_printf(gallivm, "print 5 6: %d %d\n", LLVMConstInt(LLVMInt32TypeInContext(gallivm->contex… in add_printf_test() 74 LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), 6, 0)); in add_printf_test() 77 …lp_build_assert(gallivm, LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), 1, 0), "assert(1)"… in add_printf_test()
|
| D | lp_test_conv.c | 130 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test() 138 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test()
|
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| D | lp_bld_const.c | 236 return LLVMConstInt(LLVMIntTypeInContext(gallivm->context, type.width), 0, 0); in lp_build_zero() 255 elems[0] = LLVMConstInt(elem_type, _mesa_float_to_half(1.0f), 0); in lp_build_one() 259 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one() 261 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one() 263 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one() 302 elem = LLVMConstInt(elem_type, _mesa_float_to_half((float)val), 0); in lp_build_const_elem() 308 elem = LLVMConstInt(elem_type, (long long) round(val*dscale), 0); in lp_build_const_elem() 344 elems[i] = LLVMConstInt(elem_type, val, type.sign ? 1 : 0); in lp_build_const_int_vec() 398 masks[j + i] = LLVMConstInt(elem_type, in lp_build_const_mask_aos()
|
| D | lp_bld_swizzle.c | 176 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos() 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() 754 shuffles[i] = LLVMConstInt(i32t, i * 4 + channel, 0); in lp_build_pack_aos_scalars() 788 shuffles[i*4] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars() 789 shuffles[i*4+1] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars() 790 shuffles[i*4+2] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars() 791 shuffles[i*4+3] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
|
| D | lp_bld_const.h | 126 return LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), i, 0); in lp_build_const_int32() 132 return LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), i, 0); in lp_build_const_int64() 157 v = LLVMConstInt(int_type, (uintptr_t) ptr, 0); in lp_build_const_int_pointer()
|
| D | lp_bld_coro.c | 94 coro_end_args[1] = LLVMConstInt(LLVMInt1TypeInContext(gallivm->context), 0, 0); in lp_build_coro_end() 129 coro_susp_args[1] = LLVMConstInt(LLVMInt1TypeInContext(gallivm->context), last, 0); in lp_build_coro_suspend() 243 …LLVMAddCase(myswitch, LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 1, 0), sus_info->clean… in lp_build_coro_suspend_switch() 245 … LLVMAddCase(myswitch, LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 0, 0), resume_block); in lp_build_coro_suspend_switch()
|
| D | lp_bld_nir_aos.c | 78 LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), val, 0); in lp_nir_aos_conv_const() 84 LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), val, 0); in lp_nir_aos_conv_const() 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() 312 elems[idx] = LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), in emit_load_const()
|
| D | lp_bld_format_s3tc.c | 1204 LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), in s3tc_update_cache_access() 1801 elems[i+0] = LLVMConstInt(type16s, 1 << (13-0), 0); in s3tc_decode_block_dxt5() 1802 elems[i+1] = LLVMConstInt(type16s, 1 << (13-6), 0); in s3tc_decode_block_dxt5() 1803 elems[i+2] = LLVMConstInt(type16s, 1 << (13-4), 0); in s3tc_decode_block_dxt5() 1804 elems[i+3] = LLVMConstInt(type16s, 1 << (13-2), 0); in s3tc_decode_block_dxt5() 1808 elems[i+0] = LLVMConstInt(type16s, 1 << (13-3), 0); in s3tc_decode_block_dxt5() 1809 elems[i+1] = LLVMConstInt(type16s, 1 << (13-9), 0); in s3tc_decode_block_dxt5() 1810 elems[i+2] = LLVMConstInt(type16s, 1 << (13-7), 0); in s3tc_decode_block_dxt5() 1811 elems[i+3] = LLVMConstInt(type16s, 1 << (13-5), 0); in s3tc_decode_block_dxt5() 1834 elems[0] = LLVMConstInt(type16s, 256, 0); in s3tc_decode_block_dxt5() [all …]
|
| D | lp_bld_gather.c | 146 LLVMConstInt(dst_elem_type, dst_width - src_width, 0), ""); in lp_build_gather_elem() 239 LLVMConstInt(dst_elem_type, in lp_build_gather_elem_vec() 321 LLVMValueRef scale = LLVMConstInt(i32_type, src_width/8, 0); in lp_build_gather_avx2() 331 LLVMValueRef alignment = LLVMConstInt(i32_type, src_width/8, 0); in lp_build_gather_avx2() 372 LLVMValueRef scale = LLVMConstInt(i8_type, 1, 0); in lp_build_gather_avx2()
|
| D | lp_bld_nir_soa.c | 100 return LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), 0, 0); in lp_build_zero_bits() 102 return LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), 0, 0); in lp_build_zero_bits() 104 return LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 0, 0); in lp_build_zero_bits() 2305 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), UINT8_MAX, 0); in emit_reduce() 2308 store_val = LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), UINT16_MAX, 0); in emit_reduce() 2322 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), INT8_MAX, 0); in emit_reduce() 2325 store_val = LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), INT16_MAX, 0); in emit_reduce() 2339 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), INT8_MIN, 0); in emit_reduce() 2342 store_val = LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), INT16_MIN, 0); in emit_reduce() 2356 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 1, 0); in emit_reduce() [all …]
|
| D | lp_bld_logic.c | 343 LLVMConstInt(bld->int_elem_type, bld->type.width - 1, 0); in lp_build_select() 476 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
|
| D | lp_bld_ir_common.c | 169 LLVMConstInt(int_type, LP_MAX_TGSI_LOOP_ITERATIONS, false), in lp_exec_mask_function_init() 311 LLVMConstInt(int_type, 1, false), in lp_exec_endloop()
|
| D | lp_bld_sample.c | 257 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_pmin() 258 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_pmin() 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() 1499 LLVMConstInt(i32t, 0, 0)); in lp_build_extract_image_sizes() 1505 LLVMConstInt(i32t, 1, 0)); in lp_build_extract_image_sizes() 1511 LLVMConstInt(i32t, 2, 0)); in lp_build_extract_image_sizes()
|
| /third_party/mesa3d/src/amd/vulkan/ |
| D | radv_nir_to_llvm.c | 116 ac_build_load_to_sgpr(&ctx->ac, desc_sets, LLVMConstInt(ctx->ac.i32, i, false)); in load_descriptor_sets() 220 LLVMValueRef index = LLVMConstInt(ctx->ac.i32, RING_PS_SAMPLE_POSITIONS, false); in load_sample_position() 228 LLVMConstInt(ctx->ac.i32, sample_pos_offset, false), ""); in load_sample_position() 256 LLVMConstInt(ctx->ac.i32, offset * ctx->shader->info.gs.vertices_out, false); in visit_emit_vertex_with_counter() 261 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, false), ""); in visit_emit_vertex_with_counter() 339 LLVMBuildSub(ctx->ac.builder, index, LLVMConstInt(ctx->ac.i32, 32, false), ""); in radv_get_sampler_desc() 414 LLVMConstInt(ctx->ac.i32, divisor, 0), ""); in load_vs_input() 439 t_offset = LLVMConstInt(ctx->ac.i32, desc_index, false); in load_vs_input() 459 LLVMConstInt(ctx->ac.i32, chan_offset / attrib_stride, false); in load_vs_input() 467 &ctx->ac, t_list, chan_index, LLVMConstInt(ctx->ac.i32, chan_offset, false), in load_vs_input() [all …]
|
| /third_party/ltp/tools/sparse/sparse-src/ |
| D | sparse-llvm.c | 297 …LLVMValueRef indices[] = { LLVMConstInt(LLVMInt64Type(), 0, 0), LLVMConstInt(LLVMInt64Type(), 0, 0… in get_sym_value() 334 result = LLVMConstInt(itype, val, 1); in constant_value() 341 result = LLVMConstInt(dtype, val, 1); in constant_value() 691 off = LLVMConstInt(int_type, insn->offset, 0); in calc_memop_addr() 1200 initial_value = LLVMConstInt(symbol_type(sym), initializer->value, 1); in output_data()
|