Home
last modified time | relevance | path

Searched refs:LLVMBuildLoad (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c475 out = LLVMBuildLoad(builder, outputs[attrib][chan], ""); in generate_vs()
524 vbuffer_ptr = LLVMBuildLoad(builder, vbuffer_ptr, "vbuffer"); in generate_fetch()
683 LLVMValueRef out = LLVMBuildLoad(builder, outputs[attrib][chan], ""); in convert_to_aos()
755 soa[0] = LLVMBuildLoad(builder, outputs[idx][0], ""); /*x0 x1 .. xn*/ in store_clip()
756 soa[1] = LLVMBuildLoad(builder, outputs[idx][1], ""); /*y0 y1 .. yn*/ in store_clip()
757 soa[2] = LLVMBuildLoad(builder, outputs[idx][2], ""); /*z0 z1 .. zn*/ in store_clip()
758 soa[3] = LLVMBuildLoad(builder, outputs[idx][3], ""); /*w0 w1 .. wn*/ in store_clip()
805 LLVMValueRef out3 = LLVMBuildLoad(builder, outputs[0][3], ""); /*w0 w1 .. wn*/ in generate_viewport()
815 LLVMValueRef out = LLVMBuildLoad(builder, outputs[0][i], ""); /*x0 x1 .. xn*/ in generate_viewport()
829 LLVMBuildLoad(builder, scale_i, "scale")); in generate_viewport()
[all …]
Ddraw_llvm_sample.c115 res = LLVMBuildLoad(builder, ptr, ""); in draw_llvm_texture_member()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c74 res = LLVMBuildLoad(gallivm->builder, member_ptr, ""); in lp_build_struct_get()
110 res = LLVMBuildLoad(gallivm->builder, element_ptr, ""); in lp_build_array_get()
141 res = LLVMBuildLoad(builder, element_ptr, ""); in lp_build_pointer_get()
159 res = LLVMBuildLoad(builder, element_ptr, ""); in lp_build_pointer_get_unaligned()
Dlp_bld_flow.c184 return LLVMBuildLoad(mask->skip.gallivm->builder, mask->var, ""); in lp_build_mask_value()
235 state->counter = LLVMBuildLoad(builder, state->counter_var, ""); in lp_build_loop_begin()
265 state->counter = LLVMBuildLoad(builder, state->counter_var, ""); in lp_build_loop_end_cond()
312 state->counter = LLVMBuildLoad(builder, state->counter_var, ""); in lp_build_for_loop_begin()
Dlp_bld_tgsi_soa.c194 mask->break_mask = LLVMBuildLoad(builder, mask->break_var, ""); in lp_exec_bgnloop()
255 limiter = LLVMBuildLoad(builder, mask->loop_limiter, ""); in lp_exec_endloop()
324 dst_val = LLVMBuildLoad(builder, dst, ""); in lp_exec_mask_store()
448 LLVMValueRef scalar = LLVMBuildLoad(builder, scalar_ptr, ""); in build_gather()
499 dst_val = LLVMBuildLoad(builder, scalar_ptr, ""); in emit_mask_scatter()
535 rel = LLVMBuildLoad(builder, in get_indirect_index()
627 scalar = LLVMBuildLoad(builder, temp_ptr, ""); in emit_fetch_constant()
629 scalar = LLVMBuildLoad(builder, scalar_ptr, ""); in emit_fetch_constant()
702 res = LLVMBuildLoad(builder, input_ptr, ""); in emit_fetch_input()
773 res = LLVMBuildLoad(builder, temp_ptr, ""); in emit_fetch_temporary()
[all …]
Dlp_bld_format_aos_array.c77 res = LLVMBuildLoad(builder, ptr, ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_sample.c741 data_ptr = LLVMBuildLoad(builder, data_ptr, ""); in lp_build_get_mipmap_level()
786 stride = LLVMBuildLoad(builder, stride, ""); in lp_build_get_level_stride_vec()
1229 *face_s = LLVMBuildLoad(builder, face_s_var, "face_s"); in lp_build_cube_lookup()
1230 *face_t = LLVMBuildLoad(builder, face_t_var, "face_t"); in lp_build_cube_lookup()
1231 *face = LLVMBuildLoad(builder, face_var, "face"); in lp_build_cube_lookup()
Dlp_bld_gather.c92 res = LLVMBuildLoad(gallivm->builder, ptr, ""); in lp_build_gather_elem()
Dlp_bld_tgsi_aos.c132 scalar = LLVMBuildLoad(builder, scalar_ptr, ""); in emit_fetch_constant()
209 LLVMValueRef res = LLVMBuildLoad(builder, temp_ptr, ""); in emit_fetch_temporary()
293 pred = LLVMBuildLoad(builder, in lp_emit_store_aos()
344 orig_value = LLVMBuildLoad(builder, ptr, ""); in lp_emit_store_aos()
Dlp_bld_format_aos.c593 tmp = LLVMBuildLoad(builder, tmp_ptr, ""); in lp_build_fetch_rgba_aos()
690 tmps[k] = LLVMBuildLoad(builder, tmp_ptr, ""); in lp_build_fetch_rgba_aos()
Dlp_bld_sample_aos.c1614 LLVMBuildLoad(builder, packed_lo, ""), in lp_build_sample_aos()
1615 LLVMBuildLoad(builder, packed_hi, "")); in lp_build_sample_aos()
Dlp_bld_sample_soa.c1154 colors_out[chan] = LLVMBuildLoad(builder, texels[chan], ""); in lp_build_sample_general()
1548 texel_out[j] = LLVMBuildLoad(builder, texels[j], ""); in lp_build_sample_soa()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c199 dadxaos = LLVMBuildLoad(builder, ptr, ""); in coeffs_init_simple()
204 dadyaos = LLVMBuildLoad(builder, ptr, ""); in coeffs_init_simple()
215 a0aos = LLVMBuildLoad(builder, ptr, ""); in coeffs_init_simple()
259 pixoffx = LLVMBuildLoad(builder, ptr, ""); in attribs_update_simple()
261 pixoffy = LLVMBuildLoad(builder, ptr, ""); in attribs_update_simple()
405 dadxaos = LLVMBuildLoad(builder, ptr, ""); in coeffs_init()
410 dadyaos = LLVMBuildLoad(builder, ptr, ""); in coeffs_init()
421 a0aos = LLVMBuildLoad(builder, ptr, ""); in coeffs_init()
576 a = LLVMBuildLoad(builder, a, ""); in attribs_update()
599 a = LLVMBuildLoad(builder, ptr, ""); in attribs_update()
Dlp_state_fs.c354 LLVMValueRef alpha = LLVMBuildLoad(builder, outputs[color0][3], "alpha"); in generate_fs()
375 z = LLVMBuildLoad(builder, outputs[pos0][2], "output.z"); in generate_fs()
422 LLVMValueRef out = LLVMBuildLoad(builder, outputs[attrib][chan], ""); in generate_fs()
529 mask_val = LLVMBuildLoad(builder, mask_ptr, ""); in generate_fs_loop()
593 LLVMValueRef alpha = LLVMBuildLoad(builder, outputs[color0][3], "alpha"); in generate_fs_loop()
614 z = LLVMBuildLoad(builder, outputs[pos0][2], "output.z"); in generate_fs_loop()
661 LLVMValueRef out = LLVMBuildLoad(builder, outputs[attrib][chan], ""); in generate_fs_loop()
729 con[chan] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in generate_blend()
731 dst[chan] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, dst_ptr, &index, 1, ""), ""); in generate_blend()
1030 fs_mask[i] = LLVMBuildLoad(builder, ptr, "mask"); in generate_fragment()
[all …]
Dlp_test_blend.c194 src = LLVMBuildLoad(builder, src_ptr, "src"); in add_blend_test()
195 dst = LLVMBuildLoad(builder, dst_ptr, "dst"); in add_blend_test()
196 con = LLVMBuildLoad(builder, const_ptr, "const"); in add_blend_test()
214 src[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, src_ptr, &index, 1, ""), ""); in add_blend_test()
215 dst[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, dst_ptr, &index, 1, ""), ""); in add_blend_test()
216 con[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in add_blend_test()
Dlp_state_setup.c203 return LLVMBuildLoad(b, LLVMBuildGEP(b, vert, idx, 2, ""), name); in vert_attrib()
221 a0_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx2, 1, ""), "v0a_back"); in lp_twoside()
222 a1_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx2, 1, ""), "v1a_back"); in lp_twoside()
223 a2_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx2, 1, ""), "v2a_back"); in lp_twoside()
336 attribv[0] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx, 1, ""), "v0a"); in load_attribute()
337 attribv[1] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx, 1, ""), "v1a"); in load_attribute()
338 attribv[2] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx, 1, ""), "v2a"); in load_attribute()
Dlp_bld_depth.c513 newcount = LLVMBuildLoad(builder, counter, "origcount"); in lp_build_occlusion_count()
637 zs_dst = LLVMBuildLoad(builder, zs_dst_ptr, ""); in lp_build_depth_stencil_test()
886 z_dst = LLVMBuildLoad(builder, zs_dst_ptr, "zsbufval"); in lp_build_deferred_depth_write()
Dlp_tex_sample.c120 res = LLVMBuildLoad(builder, ptr, ""); in lp_llvm_texture_member()
Dlp_test_arit.c275 arg1 = LLVMBuildLoad(builder, arg1, ""); in build_unary_test_func()
Dlp_test_conv.c132 src[i] = LLVMBuildLoad(builder, ptr, ""); in add_conv_test()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c130 return LLVMBuildLoad(gallivm->builder, computed_ptr, ""); in build_indexed_load()
195 return LLVMBuildLoad(gallivm->builder, ptr, ""); in use_sgpr()
407 args[0] = LLVMBuildLoad(base->gallivm->builder, in si_llvm_init_export_args()
409 args[1] = LLVMBuildLoad(base->gallivm->builder, in si_llvm_init_export_args()
428 args[chan + 5] = LLVMBuildLoad(base->gallivm->builder, in si_llvm_init_export_args()
/external/llvm/tools/llvm-c-test/
Dcalc.c78 stack[depth - 1] = LLVMBuildLoad(builder, off, ""); in build_from_tokens()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_setup_tgsi_llvm.c91 LLVMValueRef addr = LLVMBuildLoad(gallivm->builder, in emit_array_index()
176 return LLVMBuildLoad(builder, ptr, ""); in emit_fetch_temporary()
180 return bitcast(bld_base,type,LLVMBuildLoad(builder, temp_ptr, "")); in emit_fetch_temporary()
197 return LLVMBuildLoad(builder, ptr, ""); in emit_fetch_output()
201 return LLVMBuildLoad(builder, temp_ptr, ""); in emit_fetch_output()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_llvm.c130 output = LLVMBuildLoad(base->gallivm->builder, in llvm_emit_epilogue()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp233 LLVMValueRef IntVal = LLVMBuildLoad(Builder, GlobalVar, "intVal"); in buildModuleWithCodeAndData()

12