Home
last modified time | relevance | path

Searched refs:LLVMGetUndef (Results 1 – 25 of 48) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c60 LLVMValueRef undef = LLVMGetUndef(vec_type); in lp_build_broadcast()
136 LLVMGetUndef(lp_build_vec_type(gallivm, src_type)), in lp_build_extract_broadcast()
344 shuffles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_swizzle_aos_n()
350 …return LLVMBuildShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffle… in lp_build_swizzle_aos_n()
397 LLVMValueRef undef = LLVMGetUndef(lp_build_elem_type(bld->gallivm, type)); in lp_build_swizzle_aos()
433 shuffles[j + i] = LLVMGetUndef(i32t); in lp_build_swizzle_aos()
768 LLVMValueRef undef = LLVMGetUndef(i32t); in lp_build_pack_aos_scalars()
Dlp_bld_format_aos.c252 packed = LLVMBuildInsertElement(builder, LLVMGetUndef(vec32_type), packed, in lp_build_unpack_arith_rgba_aos()
255 packed = LLVMBuildShuffleVector(builder, packed, LLVMGetUndef(vec32_type), in lp_build_unpack_arith_rgba_aos()
269 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos()
393 swizzles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_pack_rgba_aos()
397LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), 4)), in lp_build_pack_rgba_aos()
406 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_pack_rgba_aos()
407 scales[i] = LLVMGetUndef(LLVMFloatTypeInContext(gallivm->context)); in lp_build_pack_rgba_aos()
448 packed = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_pack_rgba_aos()
854 res = LLVMGetUndef(LLVMVectorType(i32t, num_pixels)); in lp_build_fetch_rgba_aos()
Dlp_bld_gather.c334 LLVMValueRef passthru = LLVMGetUndef(src_vec_type); in lp_build_gather_avx2()
370 LLVMValueRef passthru = LLVMGetUndef(src_vec_type); in lp_build_gather_avx2()
542 res = LLVMGetUndef(gather_res_t); in lp_build_gather()
593 LLVMValueRef vec = LLVMGetUndef(vec_type); in lp_build_gather_values()
Dlp_bld_intr.c316 LLVMValueRef i32undef = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_intrinsic_binary_anylength()
401 res = LLVMGetUndef(ret_type); in lp_build_intrinsic_map()
Dlp_bld_format_s3tc.c126 elems[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_const_extend_shuffle()
188 elems[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_shuffle1undef()
265 *alpha_lo = LLVMGetUndef(type32); in lp_build_gather_s3tc()
266 *alpha_hi = LLVMGetUndef(type32); in lp_build_gather_s3tc()
303 LLVMGetUndef(type32dxt), in lp_build_gather_s3tc()
1117 LLVMGetUndef(type32_2), shuf, ""); in lp_build_gather_s3tc_simple_scalar()
2233 rgba = LLVMGetUndef(i128_vectype); in lp_build_fetch_s3tc_rgba_aos()
2265 rgba4[count] = LLVMGetUndef(LLVMVectorType(i8t, 4)); in lp_build_fetch_s3tc_rgba_aos()
2300 rgba = LLVMGetUndef(LLVMVectorType(i8t, 4*n)); in lp_build_fetch_s3tc_rgba_aos()
2400 LLVMGetUndef(type32dxt), in lp_build_gather_rgtc()
[all …]
Dlp_bld_nir.h264 LLVMValueRef arr = LLVMGetUndef(arr_type); in lp_nir_array_build_gather_values()
Dlp_bld_type.c388 bld->undef = LLVMGetUndef(bld->vec_type); in lp_build_context_init()
Dlp_bld_const.c228 return LLVMGetUndef(vec_type); in lp_build_undef()
Dlp_bld_nir_soa.c125 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_split()
130 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_split()
201 …res = LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), bld_base->base.type.le… in build_gather()
1390 LLVMValueRef result[4] = { LLVMGetUndef(bld_base->base.vec_type), in emit_tex()
1391 LLVMGetUndef(bld_base->base.vec_type), in emit_tex()
1392 LLVMGetUndef(bld_base->base.vec_type), in emit_tex()
1393 LLVMGetUndef(bld_base->base.vec_type) }; in emit_tex()
Dlp_bld_pack.c1040 undef = LLVMGetUndef(LLVMVectorType(type, dst_length)); in lp_build_pad_vector()
1044 undef = LLVMGetUndef(type); in lp_build_pad_vector()
Dlp_bld_tgsi_soa.c552 …res = LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), bld_base->base.type.le… in build_gather()
889 …res = LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), bld_base->base.type.le… in emit_fetch_constant()
1656 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_chan()
1661 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_chan()
2462 LLVMValueRef coord_undef = LLVMGetUndef(bld->bld_base.base.int_vec_type); in emit_fetch_texels()
3412 LLVMValueRef coord_undef = LLVMGetUndef(bld->bld_base.base.int_vec_type); in img_load_emit()
3561 LLVMValueRef coord_undef = LLVMGetUndef(bld->bld_base.base.int_vec_type); in img_store_emit()
3710 LLVMValueRef coord_undef = LLVMGetUndef(bld->bld_base.base.int_vec_type); in img_atomic_emit()
Dlp_bld_nir.c291 …LLVMValueRef arr = LLVMGetUndef(LLVMArrayType(LLVMTypeOf(LLVMBuildExtractValue(builder, value, 0, … in get_alu_src()
375 LLVMGetUndef(LLVMTypeOf(src)), in split_64bit()
425 LLVMGetUndef(LLVMTypeOf(src)), in split_16bit()
1842 LLVMValueRef coord_undef = LLVMGetUndef(bld_base->base.int_vec_type); in visit_tex()
2037 undef[i] = LLVMGetUndef(undef_bld->vec_type); in visit_ssa_undef()
Dlp_bld_format_yuv.c527 rgba = LLVMGetUndef(LLVMVectorType(LLVMInt8TypeInContext(gallivm->context), 4*n)); in lp_build_fetch_subsampled_rgba_aos()
Dlp_bld_conv.c203 LLVMValueRef ref_result = LLVMGetUndef(LLVMVectorType(i16t, length)); in lp_build_float_to_half()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c245 shuffles[2] = LLVMGetUndef(shuf_type); in lp_do_offset_tri()
246 shuffles[3] = LLVMGetUndef(shuf_type); in lp_do_offset_tri()
328 shuffles[2] = LLVMGetUndef(shuf_type); in lp_do_offset_tri()
329 shuffles[3] = LLVMGetUndef(shuf_type); in lp_do_offset_tri()
334 shuffles[3] = LLVMGetUndef(shuf_type); in lp_do_offset_tri()
668 shuffles[2] = LLVMGetUndef(shuf_type); in init_args()
669 shuffles[3] = LLVMGetUndef(shuf_type); in init_args()
Dlp_state_cs.c334 …system_values.thread_id = LLVMGetUndef(LLVMArrayType(LLVMVectorType(int32_type, cs_type.length), 3… in generate_compute()
339 system_values.block_id = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute()
344 system_values.grid_size = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute()
351 system_values.block_size = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c528 vec = LLVMGetUndef(LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_varying_gather_values()
556 vec = LLVMGetUndef(LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_gather_values_extended()
599 chan[i] = LLVMGetUndef(elemtype); in ac_build_expand()
1223 result[num_channels++] = LLVMGetUndef(ctx->f32); in ac_build_buffer_load()
1999 args.out[0] = LLVMGetUndef(ctx->f32); /* R */ in ac_build_export_null()
2000 args.out[1] = LLVMGetUndef(ctx->f32); /* G */ in ac_build_export_null()
2001 args.out[2] = LLVMGetUndef(ctx->f32); /* B */ in ac_build_export_null()
2002 args.out[3] = LLVMGetUndef(ctx->f32); /* A */ in ac_build_export_null()
3333 ret = LLVMGetUndef(vec_type); in ac_build_readlane_common()
3469 ret = LLVMGetUndef(vec_type); in ac_build_dpp()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c138 out[i] = LLVMGetUndef(ctx->ac.f32); in load_input_vs()
175 fetches[i] = LLVMGetUndef(ctx->ac.f32); in load_input_vs()
279 out[3] = LLVMGetUndef(ctx->ac.i32); in si_llvm_streamout_store_output()
384 args->out[0] = args->out[1] = args->out[2] = args->out[3] = LLVMGetUndef(ctx->ac.f32); in si_llvm_emit_clipvertex()
Dsi_shader_llvm_tess.c724 inner[i] = LLVMGetUndef(ctx->ac.i32); in si_write_tess_factors()
725 outer[i] = LLVMGetUndef(ctx->ac.i32); in si_write_tess_factors()
856 values[1] = LLVMGetUndef(ctx->ac.i32); in si_llvm_emit_tcs_epilogue()
860 values[1] = LLVMGetUndef(ctx->ac.i32); in si_llvm_emit_tcs_epilogue()
Dsi_shader_llvm.c185 ctx->return_value = LLVMGetUndef(ctx->return_type); in si_llvm_create_func()
388 LLVMValueRef undef = LLVMGetUndef(ctx->ac.f32); in si_nir_build_llvm()
Dsi_compute_prim_discard.c365 vs_params[num_vs_params++] = LLVMGetUndef(LLVMTypeOf(LLVMGetParam(vs, 0))); /* RW_BUFFERS */ in si_build_prim_discard_compute_shader()
366 vs_params[num_vs_params++] = LLVMGetUndef(LLVMTypeOf(LLVMGetParam(vs, 1))); /* BINDLESS */ in si_build_prim_discard_compute_shader()
424 LLVMValueRef index[4] = {NULL, NULL, NULL, LLVMGetUndef(ctx->ac.i32)}; in si_build_prim_discard_compute_shader()
Dsi_shader_llvm_gs.c506 outputs[i].values[chan] = LLVMGetUndef(ctx.ac.f32); in si_generate_gs_copy_shader()
/external/skqp/src/sksl/
DSkSLJIT.cpp405 LLVMValueRef result = LLVMGetUndef(fType); in getLValue()
485 LLVMValueRef result = LLVMGetUndef(LLVMVectorType(LLVMTypeOf(*value), columns)); in vectorize()
933 LLVMValueRef vec = LLVMGetUndef(this->getType(c.fType)); in compileConstructor()
975 LLVMValueRef result = LLVMGetUndef(this->getType(s.fType)); in compileSwizzle()
1298 LLVMValueRef vec = LLVMGetUndef(fFloat32Vector4Type); in compileStageFunctionLoop()
1516 out[0] = LLVMGetUndef(LLVMVectorType(this->getType(c.fType), fVectorCount)); \ in compileVectorConstructor()
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp344 return LLVMGetUndef(TypeCloner(M).Clone(Cst)); in clone_constant_impl()
819 MaskElts.push_back(LLVMGetUndef(LLVMInt64Type())); in CloneInstruction()
1055 LLVMAddAlias(M, CurType, LLVMGetUndef(CurType), Name); in declare_symbols()
1090 CurType, /*addressSpace*/ 0, LLVMGetUndef(CurType)); in declare_symbols()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1377 args->out[0] = LLVMGetUndef(ctx->ac.f32); in si_llvm_init_export_args()
1378 args->out[1] = LLVMGetUndef(ctx->ac.f32); in si_llvm_init_export_args()
1379 args->out[2] = LLVMGetUndef(ctx->ac.f32); in si_llvm_init_export_args()
1380 args->out[3] = LLVMGetUndef(ctx->ac.f32); in si_llvm_init_export_args()
1597 out[3] = LLVMGetUndef(ctx->ac.i32); in radv_emit_stream_output()
2260 outputs[noutput].values[j] = LLVMGetUndef(ctx->ac.f32); in build_streamout_vertex()
2340 LLVMValueRef prim_stride_dw_vgpr = LLVMGetUndef(ctx->ac.i32); in build_streamout()
3202 outputs[noutput].values[j] = LLVMGetUndef(ctx->ac.f32); in gfx10_ngg_gs_emit_epilogue_2()
3356 inner[i] = LLVMGetUndef(ctx->ac.i32); in write_tess_factors()
3357 outer[i] = LLVMGetUndef(ctx->ac.i32); in write_tess_factors()
[all …]

12