Home
last modified time | relevance | path

Searched refs:LLVMBuildAdd (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_cached.c69 cache_access = LLVMBuildAdd(builder, cache_access, in update_cache_access()
104 hash_index = LLVMBuildAdd(builder, hash_index, in store_cached_block()
291 ptr_addrtrunc = LLVMBuildAdd(builder, offset, ptr_addrtrunc, ""); in lp_build_fetch_cached_texels()
306 ij_index = LLVMBuildAdd(builder, ij_index, j, ""); in lp_build_fetch_cached_texels()
309 block_index = LLVMBuildAdd(builder, ij_index, block_index, ""); in lp_build_fetch_cached_texels()
321 addrx = LLVMBuildAdd(builder, addrx, addr, ""); in lp_build_fetch_cached_texels()
351 addr = LLVMBuildAdd(builder, tmp, addr, ""); in lp_build_fetch_cached_texels()
Dlp_bld_format_yuv.c109 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 8), ""); in uyvy_to_yuv_soa()
112 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa()
194 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 24), ""); in yuyv_to_yuv_soa()
281 y = LLVMBuildAdd(builder, y, c128, ""); in yuv_to_rgb_soa()
284 *g = LLVMBuildAdd(builder, in yuv_to_rgb_soa()
290 *r = LLVMBuildAdd(builder, *r, y, ""); in yuv_to_rgb_soa()
291 *g = LLVMBuildAdd(builder, *g, y, ""); in yuv_to_rgb_soa()
292 *b = LLVMBuildAdd(builder, *b, y, ""); in yuv_to_rgb_soa()
Dlp_bld_flow.c253 next = LLVMBuildAdd(builder, state->counter, step, ""); in lp_build_loop_end_cond()
327 next = LLVMBuildAdd(builder, state->counter, state->step, ""); in lp_build_for_loop_end()
Dlp_bld_arit.c609 res = LLVMBuildAdd(builder, a, b, ""); in lp_build_add()
669 vecres = LLVMBuildAdd(builder, vec1, vec2, ""); in lp_build_horizontal_add()
685 res = LLVMBuildAdd(builder, res, elem2, ""); in lp_build_horizontal_add()
893 …LLVMValueRef a_clamp_max = lp_build_min_simple(bld, a, LLVMBuildAdd(builder, max_val, b, ""), GALL… in lp_build_sub()
894 …LLVMValueRef a_clamp_min = lp_build_max_simple(bld, a, LLVMBuildAdd(builder, min_val, b, ""), GALL… in lp_build_sub()
998 ab = LLVMBuildAdd(builder, ab, lp_build_shr_imm(&bld, ab, n), ""); in lp_build_mul_norm()
1010 ab = LLVMBuildAdd(builder, ab, half, ""); in lp_build_mul_norm()
1325 a = LLVMBuildAdd(builder, a, factor, ""); in lp_build_mul_imm()
2933 LLVMValueRef emm2_add = LLVMBuildAdd(b, emm2_i, all_one, "emm2_add"); in lp_build_sin_or_cos()
3314 expipart = LLVMBuildAdd(builder, ipart, in lp_build_exp2()
Dlp_bld_sample_aos.c233 *coord0_i = LLVMBuildAdd(bld->gallivm->builder, *coord0_i, i32_c128, ""); in lp_build_coord_repeat_npot_linear_int()
1097 s = LLVMBuildAdd(builder, s, i32_c128, ""); in lp_build_sample_image_linear()
1100 t = LLVMBuildAdd(builder, t, i32_c128, ""); in lp_build_sample_image_linear()
1103 r = LLVMBuildAdd(builder, r, i32_c128, ""); in lp_build_sample_image_linear()
Dlp_bld_format_soa.c720 offset = LLVMBuildAdd(builder, offset, s_offset, ""); in lp_build_fetch_rgba_soa()
/external/skqp/src/sksl/
DSkSLJIT.cpp569 BINARY(LLVMBuildAdd, LLVMBuildAdd, LLVMBuildFAdd); in compileBinary()
587 COMPOUND(LLVMBuildAdd, LLVMBuildAdd, LLVMBuildFAdd); in compileBinary()
751 mod = LLVMBuildAdd(builder, result, one, "++"); in compilePostfix()
798 result = LLVMBuildAdd(builder, raw, one, "++"); in compilePrefix()
1285 fVariables[f.fDeclaration.fParameters[0]] = LLVMBuildAdd(builder, in compileStageFunctionLoop()
1346 LLVMValueRef inc = LLVMBuildAdd(builder, iload, LLVMConstInt(fInt32Type, 1, false), "inc i"); in compileStageFunctionLoop()
1355 LLVMBuildAdd(builder, in compileStageFunctionLoop()
1485 VECTOR_BINARY(LLVMBuildAdd, LLVMBuildAdd, LLVMBuildFAdd); in compileVectorBinary()
1684 LLVMBuildAdd(builder, in compileStageFunctionVector()
/external/skia/src/sksl/
DSkSLJIT.cpp569 BINARY(LLVMBuildAdd, LLVMBuildAdd, LLVMBuildFAdd); in compileBinary()
587 COMPOUND(LLVMBuildAdd, LLVMBuildAdd, LLVMBuildFAdd); in compileBinary()
751 mod = LLVMBuildAdd(builder, result, one, "++"); in compilePostfix()
798 result = LLVMBuildAdd(builder, raw, one, "++"); in compilePrefix()
1285 fVariables[f.fDeclaration.fParameters[0]] = LLVMBuildAdd(builder, in compileStageFunctionLoop()
1346 LLVMValueRef inc = LLVMBuildAdd(builder, iload, LLVMConstInt(fInt32Type, 1, false), "inc i"); in compileStageFunctionLoop()
1355 LLVMBuildAdd(builder, in compileStageFunctionLoop()
1485 VECTOR_BINARY(LLVMBuildAdd, LLVMBuildAdd, LLVMBuildFAdd); in compileVectorBinary()
1684 LLVMBuildAdd(builder, in compileStageFunctionVector()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c487 return LLVMBuildAdd(ctx->builder, patch0_offset, in get_tcs_out_current_patch_offset()
501 return LLVMBuildAdd(ctx->builder, patch0_patch_data_offset, in get_tcs_out_current_patch_data_offset()
1718 result = LLVMBuildAdd(ctx->ac.builder, src[0], src[1], ""); in visit_alu()
2405 offset = LLVMBuildAdd(ctx->builder, offset, index, ""); in visit_vulkan_resource_index()
2431 addr = LLVMBuildAdd(ctx->builder, addr, get_src(ctx->nir, instr->src[0]), ""); in visit_load_push_constant()
2546 offset = LLVMBuildAdd(ctx->ac.builder, offset, LLVMConstInt(ctx->ac.i32, start * 4, false), ""); in visit_store_ssbo()
2625 offset = LLVMBuildAdd(ctx->ac.builder, get_src(ctx, instr->src[1]), offset, ""); in visit_load_buffer()
2713 vtx = LLVMBuildAdd(ctx->ac.builder, vtx, get_src(ctx, deref_array->indirect), ""); in get_deref_offset()
2749 offset = LLVMBuildAdd(ctx->ac.builder, offset, local_offset, ""); in get_deref_offset()
2765 offset = LLVMBuildAdd(ctx->ac.builder, offset, in get_deref_offset()
[all …]
Dac_llvm_build.c881 offset = LLVMBuildAdd(ctx->builder, offset, in ac_build_buffer_store_dword()
884 offset = LLVMBuildAdd(ctx->builder, offset, voffset, ""); in ac_build_buffer_store_dword()
959 offset = LLVMBuildAdd(ctx->builder, offset, voffset, ""); in ac_build_buffer_load()
961 offset = LLVMBuildAdd(ctx->builder, offset, soffset, ""); in ac_build_buffer_load()
971 offset = LLVMBuildAdd(ctx->builder, offset, in ac_build_buffer_load()
1130 trbl_tid = LLVMBuildAdd(ctx->builder, tl_tid, in ac_build_ddxy()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c509 newcount = LLVMBuildAdd(builder, newcount, count, "newcount"); in lp_build_occlusion_count()
561 depth_offset1 = LLVMBuildAdd(builder, depth_offset1, offset2, ""); in lp_build_depth_stencil_load_swizzled()
583 depth_offset2 = LLVMBuildAdd(builder, depth_offset1, depth_stride, ""); in lp_build_depth_stencil_load_swizzled()
707 depth_offset1 = LLVMBuildAdd(builder, depth_offset1, offset2, ""); in lp_build_depth_stencil_write_swizzled()
724 depth_offset2 = LLVMBuildAdd(builder, depth_offset1, depth_stride, ""); in lp_build_depth_stencil_write_swizzled()
Dlp_state_fs.c912 gep[1] = LLVMBuildAdd(builder, bx, by, ""); in load_unswizzled_block()
957 gep[1] = LLVMBuildAdd(builder, bx, by, ""); in store_unswizzled_block()
1185 result = LLVMBuildAdd(builder, in scale_bits()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c383 return LLVMBuildAdd(ctx->ac.builder, patch0_offset, in get_tcs_out_current_patch_offset()
397 return LLVMBuildAdd(ctx->ac.builder, patch0_patch_data_offset, in get_tcs_out_current_patch_data_offset()
449 return LLVMBuildAdd(ctx->ac.builder, result, in get_instance_index_for_fetch()
816 result = LLVMBuildAdd(ctx->ac.builder, result, in si_get_indirect_index()
845 base_addr = LLVMBuildAdd(ctx->ac.builder, base_addr, in get_dw_address_from_generic_indices()
851 base_addr = LLVMBuildAdd(ctx->ac.builder, base_addr, in get_dw_address_from_generic_indices()
863 return LLVMBuildAdd(ctx->ac.builder, base_addr, in get_dw_address_from_generic_indices()
976 base_addr = LLVMBuildAdd(ctx->ac.builder, base_addr, in get_tcs_tes_buffer_address()
985 base_addr = LLVMBuildAdd(ctx->ac.builder, base_addr, in get_tcs_tes_buffer_address()
995 base_addr = LLVMBuildAdd(ctx->ac.builder, base_addr, in get_tcs_tes_buffer_address()
[all …]
Dsi_shader_tgsi_mem.c140 index = LLVMBuildAdd(builder, index, in si_load_image_desc()
710 offset = LLVMBuildAdd( in store_emit_buffer()
1103 index = LLVMBuildAdd(builder, index, ctx->i32_1, ""); in si_load_sampler_desc()
1110 index = LLVMBuildAdd(builder, index, ctx->i32_1, ""); in si_load_sampler_desc()
1115 index = LLVMBuildAdd(builder, index, LLVMConstInt(ctx->i32, 3, 0), ""); in si_load_sampler_desc()
1173 index = LLVMBuildAdd(ctx->ac.builder, index, in tex_fetch_ptrs()
Dsi_shader_nir.c614 index = LLVMBuildAdd(builder, index, in si_nir_load_sampler_desc()
638 index = LLVMBuildAdd(ctx->gallivm.builder, index, in si_nir_load_sampler_desc()
Dsi_shader_tgsi_alu.c271 emit_data->output[emit_data->chan] = LLVMBuildAdd(ctx->ac.builder, in emit_uadd()
Dsi_shader_tgsi_setup.c343 index = LLVMBuildAdd( in get_pointer_into_array()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1459 indices[i] = LLVMBuildAdd(builder, indices[i], currently_emitted, ""); in draw_gs_llvm_emit_vertex()
1802 true_index_array = LLVMBuildAdd(builder, true_index_array, ind_vec, ""); in draw_llvm_generate()
1852 tmp = LLVMBuildAdd(builder, true_index_array, start_vec, ""); in draw_llvm_generate()
/external/llvm/tools/llvm-c-test/
Decho.cpp465 Dst = LLVMBuildAdd(Builder, LHS, RHS, Name); in CloneInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp485 Dst = LLVMBuildAdd(Builder, LHS, RHS, Name); in CloneInstruction()
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h883 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
/external/llvm/include/llvm-c/
DCore.h2933 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DCore.h3226 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c1492 return LLVMBuildAdd(Builder_val(B), LHS, RHS, String_val(Name)); in llvm_build_add()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1850 return LLVMBuildAdd(Builder_val(B), LHS, RHS, String_val(Name)); in llvm_build_add()

12