Home
last modified time | relevance | path

Searched refs:LLVMConstInt (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c37 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()
83 LLVMConstInt(ctx->ac.i32, sel->info.constbuf0_num_slots * 16, 0), in load_const_buffer_desc_fast_path()
84 LLVMConstInt(ctx->ac.i32, rsrc3, false)}; in load_const_buffer_desc_fast_path()
104 LLVMBuildAdd(ctx->ac.builder, index, LLVMConstInt(ctx->ac.i32, SI_NUM_SHADER_BUFFERS, 0), ""); in load_ubo()
121 index = LLVMBuildSub(ctx->ac.builder, LLVMConstInt(ctx->ac.i32, SI_NUM_SHADER_BUFFERS - 1, 0), in load_ssbo()
143 LLVMValueRef i32_6 = LLVMConstInt(ctx->ac.i32, 6, 0); in force_dcc_off()
144 LLVMValueRef i32_C = LLVMConstInt(ctx->ac.i32, C_008F28_COMPRESSION_EN, 0); in force_dcc_off()
155 LLVMValueRef i32_6 = LLVMConstInt(ctx->ac.i32, 6, 0); in force_write_compress_off()
156 LLVMValueRef i32_C = LLVMConstInt(ctx->ac.i32, C_00A018_WRITE_COMPRESS_ENABLE, 0); in force_write_compress_off()
[all …]
Dgfx10_shader_ngg.c46 LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), ""); in get_thread_id_in_tg()
70 LLVMConstInt(ctx->ac.i32, GFX10_GS_QUERY_BUF, false)); in ngg_get_query_buf()
85 return LLVMConstInt(ctx->ac.i32, 3, 0); in ngg_get_vertices_per_prim()
88 return LLVMConstInt(ctx->ac.i32, 2, 0); in ngg_get_vertices_per_prim()
110 return LLVMConstInt(ctx->ac.i32, *num_vertices, false); in ngg_get_vertices_per_prim()
155 LLVMValueRef edgeflags = LLVMConstInt(ctx->ac.i32, all_bits_no_edgeflags, 0); in gfx10_ngg_build_export_prim()
166 edge = LLVMBuildShl(builder, edge, LLVMConstInt(ctx->ac.i32, shift, 0), ""); in gfx10_ngg_build_export_prim()
202 edge = LLVMBuildShl(ctx->ac.builder, edge, LLVMConstInt(ctx->ac.i32, 9 + i*10, 0), ""); in gfx10_ngg_build_export_prim()
227 tmp = LLVMBuildMul(builder, offset_vtx, LLVMConstInt(ctx->ac.i32, so->stride[buffer], false), in build_streamout_vertex()
230 offset[buffer] = LLVMBuildShl(builder, tmp, LLVMConstInt(ctx->ac.i32, 2, false), ""); in build_streamout_vertex()
[all …]
Dsi_shader_llvm_gs.c65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); in si_llvm_load_input_gs()
76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_load_input_gs()
78 soffset = LLVMConstInt(ctx->ac.i32, (param * 4 + swizzle) * 256, 0); in si_llvm_load_input_gs()
152 LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), ""), in si_llvm_emit_es_epilogue()
155 LLVMBuildMul(ctx->ac.builder, vertex_idx, LLVMConstInt(ctx->ac.i32, itemsize_dw, 0), ""); in si_llvm_emit_es_epilogue()
176 LLVMValueRef idx = LLVMConstInt(ctx->ac.i32, param * 4 + chan, false); in si_llvm_emit_es_epilogue()
257 LLVMConstInt(ctx->ac.i32, shader->selector->info.base.gs.vertices_out, 0), ""); in si_llvm_emit_vertex()
275 LLVMConstInt(ctx->ac.i32, offset * shader->selector->info.base.gs.vertices_out, 0); in si_llvm_emit_vertex()
279 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_emit_vertex()
320 LLVMValueRef offset = LLVMConstInt(ctx->ac.i32, ring, 0); in si_preload_esgs_ring()
[all …]
Dsi_shader_llvm_tess.c84 return LLVMConstInt(ctx->ac.i32, stride, 0); in get_tcs_out_vertex_dw_stride()
97 return LLVMConstInt(ctx->ac.i32, patch_dw_stride, 0); in get_tcs_out_patch_stride()
103 LLVMConstInt(ctx->ac.i32, 4, 0), ""); in get_tcs_out_patch0_offset()
109 LLVMConstInt(ctx->ac.i32, 4, 0), ""); in get_tcs_out_patch0_patch_data_offset()
146 return LLVMConstInt(ctx->ac.i32, tcs_out_vertices, 0); in get_num_tcs_out_vertices()
159 return LLVMConstInt(ctx->ac.i32, stride, 0); in get_tcs_in_vertex_dw_stride()
164 return LLVMConstInt(ctx->ac.i32, stride, 0); in get_tcs_in_vertex_dw_stride()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
194 return LLVMBuildAdd(ctx->ac.builder, base_addr, LLVMConstInt(ctx->ac.i32, param * 4, 0), ""); in get_dw_address_from_generic_indices()
227 constant16 = LLVMConstInt(ctx->ac.i32, 16, 0); in get_tcs_tes_buffer_address()
[all …]
Dsi_shader_llvm_vs.c36 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()
364 LLVMValueRef offset = LLVMConstInt(ctx->ac.i32, SI_VS_STREAMOUT_BUF0 + i, 0); in si_llvm_emit_streamout()
369 so_offset = LLVMBuildMul(builder, so_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_emit_streamout()
[all …]
Dsi_shader_llvm_ps.c44 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_PS_CONST_SAMPLE_POSITIONS, 0); in load_sample_position()
49 LLVMBuildMul(ctx->ac.builder, sample_id, LLVMConstInt(ctx->ac.i32, 8, 0), ""); in load_sample_position()
51 LLVMBuildAdd(ctx->ac.builder, offset0, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in load_sample_position()
76 ac_build_load_to_sgpr(&ctx->ac, ptr, LLVMConstInt(ctx->ac.i32, SI_PS_IMAGE_COLORBUF0 / 2, 0)); in si_nir_emit_fbfetch()
94 LLVMConstInt(ctx->ac.i32, SI_PS_IMAGE_COLORBUF0_FMASK / 2, 0)); in si_nir_emit_fbfetch()
121 return ac_build_fs_interp(&ctx->ac, LLVMConstInt(ctx->ac.i32, chan, 0), in si_build_fs_interp()
122 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask, i, j); in si_build_fs_interp()
124 return ac_build_fs_interp_mov(&ctx->ac, LLVMConstInt(ctx->ac.i32, 2, 0), /* P0 */ in si_build_fs_interp()
125 LLVMConstInt(ctx->ac.i32, chan, 0), in si_build_fs_interp()
126 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask); in si_build_fs_interp()
[all …]
Dsi_shader_llvm.c357 LLVMConstInt(ctx->ac.i32, bitoffset, 0), in si_init_exec_from_input()
373 value = LLVMBuildLShr(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, rshift, 0), ""); in unpack_llvm_param()
377 value = LLVMBuildAnd(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, mask, 0), ""); in unpack_llvm_param()
662 LLVMBuildExtractElement(builder, param, LLVMConstInt(ctx->ac.i32, j, 0), ""); in si_build_wrapper_function()
693 count = LLVMBuildAnd(builder, count, LLVMConstInt(ctx->ac.i32, 0x7f, 0), ""); in si_build_wrapper_function()
771 count = LLVMBuildLShr(builder, count, LLVMConstInt(ctx->ac.i32, 8, 0), ""); in si_build_wrapper_function()
772 count = LLVMBuildAnd(builder, count, LLVMConstInt(ctx->ac.i32, 0x7f, 0), ""); in si_build_wrapper_function()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c100 ctx->i8_0 = LLVMConstInt(ctx->i8, 0, false); in ac_llvm_context_init()
101 ctx->i8_1 = LLVMConstInt(ctx->i8, 1, false); in ac_llvm_context_init()
102 ctx->i16_0 = LLVMConstInt(ctx->i16, 0, false); in ac_llvm_context_init()
103 ctx->i16_1 = LLVMConstInt(ctx->i16, 1, false); in ac_llvm_context_init()
104 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); in ac_llvm_context_init()
105 ctx->i32_1 = LLVMConstInt(ctx->i32, 1, false); in ac_llvm_context_init()
106 ctx->i64_0 = LLVMConstInt(ctx->i64, 0, false); in ac_llvm_context_init()
107 ctx->i64_1 = LLVMConstInt(ctx->i64, 1, false); in ac_llvm_context_init()
108 ctx->i128_0 = LLVMConstInt(ctx->i128, 0, false); in ac_llvm_context_init()
109 ctx->i128_1 = LLVMConstInt(ctx->i128, 1, false); in ac_llvm_context_init()
[all …]
Dac_nir_to_llvm.c97 ptr = LLVMBuildAdd(ctx->ac.builder, ptr, LLVMConstInt(ctx->ac.i32, c_off, 0), ""); in get_memory_ptr()
127 LLVMValueRef masks[] = {LLVMConstInt(ctx->ac.i32, src.swizzle[0], false), in get_alu_src()
128 LLVMConstInt(ctx->ac.i32, src.swizzle[1], false), in get_alu_src()
129 LLVMConstInt(ctx->ac.i32, src.swizzle[2], false), in get_alu_src()
130 LLVMConstInt(ctx->ac.i32, src.swizzle[3], false)}; in get_alu_src()
199 LLVMConstInt(ctx->i32, i, 0), ""); in emit_intrin_1f_param_scalar()
343 args[1] = LLVMConstInt(ctx->i32, N_SUBNORMAL | P_SUBNORMAL, false); in emit_f2f16()
362 LLVMBuildBitCast(ctx->builder, LLVMConstInt(ctx->i32, 0x38800000, false), ctx->f32, ""), in emit_f2f16()
379 dst64 = LLVMBuildLShr(ctx->builder, dst64, LLVMConstInt(ctx->i64, 32, false), ""); in emit_umul_high()
392 dst64 = LLVMBuildAShr(ctx->builder, dst64, LLVMConstInt(ctx->i64, 32, false), ""); in emit_imul_high()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_linear_llvm.c389 index = LLVMConstInt(int32t, attrib, 0); in llvmpipe_fs_variant_linear_llvm()
395 LLVMConstInt(int32t, 0, 0)); in llvmpipe_fs_variant_linear_llvm()
430 index = LLVMConstInt(int32t, attrib, 0); in llvmpipe_fs_variant_linear_llvm()
435 fetch_ptr = lp_build_pointer_get(builder, elem, LLVMConstInt(int32t, 0, 0)); in llvmpipe_fs_variant_linear_llvm()
452 excess = LLVMBuildAnd(builder, width, LLVMConstInt(int32t, 3, 0), ""); in llvmpipe_fs_variant_linear_llvm()
453 width = LLVMBuildLShr(builder, width, LLVMConstInt(int32t, 2, 0), ""); in llvmpipe_fs_variant_linear_llvm()
456 …lp_build_for_loop_begin(&loop, gallivm, LLVMConstInt(int32t, 0, 0), LLVMIntULT, width, LLVMConstIn… in llvmpipe_fs_variant_linear_llvm()
473 …lp_build_if(&ifstate, gallivm, LLVMBuildICmp(builder, LLVMIntNE, excess, LLVMConstInt(int32t, 0, 0… in llvmpipe_fs_variant_linear_llvm()
486 lp_build_loop_begin(&loop_read, gallivm, LLVMConstInt(int32t, 0, 0)); in llvmpipe_fs_variant_linear_llvm()
494 lp_build_loop_end_cond(&loop_read, excess, LLVMConstInt(int32t, 1, 0), LLVMIntUGE); in llvmpipe_fs_variant_linear_llvm()
[all …]
Dlp_test_printf.c73 …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()
Dlp_test_conv.c130 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/
Dlp_bld_const.c239 return LLVMConstInt(LLVMIntTypeInContext(gallivm->context, type.width), 0, 0); in lp_build_zero()
260 elems[0] = LLVMConstInt(elem_type, _mesa_float_to_half(1.0f), 0); in lp_build_one()
264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one()
266 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one()
268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one()
307 elem = LLVMConstInt(elem_type, _mesa_float_to_half((float)val), 0); in lp_build_const_elem()
314 elem = LLVMConstInt(elem_type, (long long) round(val*dscale), 0); in lp_build_const_elem()
352 elems[i] = LLVMConstInt(elem_type, val, type.sign ? 1 : 0); in lp_build_const_int_vec()
408 masks[j + i] = LLVMConstInt(elem_type, in lp_build_const_mask_aos()
Dlp_bld_const.h126 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()
Dlp_bld_swizzle.c184 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
419 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
423 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
430 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
780 shuffles[i] = LLVMConstInt(i32t, i * 4 + channel, 0); in lp_build_pack_aos_scalars()
815 shuffles[i*4] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
816 shuffles[i*4+1] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
817 shuffles[i*4+2] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
818 shuffles[i*4+3] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
Dlp_bld_coro.c94 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()
236 …LLVMAddCase(myswitch, LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 1, 0), sus_info->clean… in lp_build_coro_suspend_switch()
238 … LLVMAddCase(myswitch, LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 0, 0), resume_block); in lp_build_coro_suspend_switch()
Dlp_bld_gather.c146 LLVMConstInt(dst_elem_type, dst_width - src_width, 0), ""); in lp_build_gather_elem()
240 LLVMConstInt(dst_elem_type, in lp_build_gather_elem_vec()
322 LLVMValueRef scale = LLVMConstInt(i32_type, src_width/8, 0); in lp_build_gather_avx2()
332 LLVMValueRef alignment = LLVMConstInt(i32_type, src_width/8, 0); in lp_build_gather_avx2()
373 LLVMValueRef scale = LLVMConstInt(i8_type, 1, 0); in lp_build_gather_avx2()
Dlp_bld_format_s3tc.c1200 LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), in s3tc_update_cache_access()
1797 elems[i+0] = LLVMConstInt(type16s, 1 << (13-0), 0); in s3tc_decode_block_dxt5()
1798 elems[i+1] = LLVMConstInt(type16s, 1 << (13-6), 0); in s3tc_decode_block_dxt5()
1799 elems[i+2] = LLVMConstInt(type16s, 1 << (13-4), 0); in s3tc_decode_block_dxt5()
1800 elems[i+3] = LLVMConstInt(type16s, 1 << (13-2), 0); in s3tc_decode_block_dxt5()
1804 elems[i+0] = LLVMConstInt(type16s, 1 << (13-3), 0); in s3tc_decode_block_dxt5()
1805 elems[i+1] = LLVMConstInt(type16s, 1 << (13-9), 0); in s3tc_decode_block_dxt5()
1806 elems[i+2] = LLVMConstInt(type16s, 1 << (13-7), 0); in s3tc_decode_block_dxt5()
1807 elems[i+3] = LLVMConstInt(type16s, 1 << (13-5), 0); in s3tc_decode_block_dxt5()
1830 elems[0] = LLVMConstInt(type16s, 256, 0); in s3tc_decode_block_dxt5()
[all …]
Dlp_bld_nir_soa.c1106 zero = LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), 0, 0); in emit_load_mem()
1108 zero = LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), 0, 0); in emit_load_mem()
1110 zero = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 0, 0); in emit_load_mem()
2052 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), UINT8_MAX, 0); in emit_reduce()
2055 store_val = LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), UINT16_MAX, 0); in emit_reduce()
2069 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), INT8_MAX, 0); in emit_reduce()
2072 store_val = LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), INT16_MAX, 0); in emit_reduce()
2086 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), INT8_MIN, 0); in emit_reduce()
2089 store_val = LLVMConstInt(LLVMInt16TypeInContext(gallivm->context), INT16_MIN, 0); in emit_reduce()
2103 store_val = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), 1, 0); in emit_reduce()
[all …]
Dlp_bld_logic.c342 LLVMValueRef shift = LLVMConstInt(bld->int_elem_type, bld->type.width - 1, 0); in lp_build_select()
474 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
Dlp_bld_ir_common.c169 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()
Dlp_bld_sample.c253 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_pmin()
254 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_pmin()
352 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_rho()
353 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_rho()
354 LLVMValueRef index2 = LLVMConstInt(i32t, 2, 0); in lp_build_rho()
1500 LLVMConstInt(i32t, 0, 0)); in lp_build_extract_image_sizes()
1506 LLVMConstInt(i32t, 1, 0)); in lp_build_extract_image_sizes()
1512 LLVMConstInt(i32t, 2, 0)); in lp_build_extract_image_sizes()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c123 ac_build_load_to_sgpr(&ctx->ac, desc_sets, LLVMConstInt(ctx->ac.i32, i, false)); in load_descriptor_sets()
216 stride = LLVMConstInt(ctx->ac.i32, 16, false); in radv_load_resource()
218 stride = LLVMConstInt(ctx->ac.i32, layout->binding[binding].size, false); in radv_load_resource()
220 offset = LLVMConstInt(ctx->ac.i32, base_offset, false); in radv_load_resource()
259 LLVMValueRef index = LLVMConstInt(ctx->ac.i32, RING_PS_SAMPLE_POSITIONS, false); in load_sample_position()
267 LLVMConstInt(ctx->ac.i32, sample_pos_offset, false), ""); in load_sample_position()
289 sample_id = LLVMBuildShl(ctx->ac.builder, LLVMConstInt(ctx->ac.i32, 1, false), sample_id, ""); in load_sample_mask_in()
329 LLVMConstInt(ctx->ac.i32, offset * ctx->shader->info.gs.vertices_out, false); in visit_emit_vertex_with_counter()
334 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, false), ""); in visit_emit_vertex_with_counter()
409 LLVMConstInt(ctx->ac.i32, ctx->args->options->address32_hi, false)}; in get_desc_ptr()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp410 LLVMConstInt(fJIT.fInt32Type, in getLValue()
415 LLVMConstInt(fJIT.fInt32Type, i, false), in getLValue()
422 LLVMConstInt(fJIT.fInt32Type, in getLValue()
433 LLVMConstInt( in getLValue()
439 LLVMConstInt(fJIT.fInt32Type, in getLValue()
446 LLVMConstInt(fJIT.fInt32Type, in getLValue()
490 LLVMConstInt(fInt32Type, i, false), in vectorize()
705 LLVMValueRef incomingValues[2] = { right, LLVMConstInt(fInt1Type, 0, false) }; in compileBinary()
723 LLVMValueRef incomingValues[2] = { right, LLVMConstInt(fInt1Type, 1, false) }; in compileBinary()
745 LLVMValueRef one = LLVMConstInt(this->getType(p.fType), 1, false); in compilePostfix()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c297 …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()

12