Home
last modified time | relevance | path

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

12

/external/mesa3d/src/amd/common/
Dac_shader_util.c133 args->out[0] = LLVMGetUndef(ctx->f32); /* R, depth */ in ac_export_mrt_z()
134 args->out[1] = LLVMGetUndef(ctx->f32); /* G, stencil test val[0:7], stencil op val[8:15] */ in ac_export_mrt_z()
135 args->out[2] = LLVMGetUndef(ctx->f32); /* B, sample mask */ in ac_export_mrt_z()
136 args->out[3] = LLVMGetUndef(ctx->f32); /* A, alpha to mask */ in ac_export_mrt_z()
Dac_llvm_build.c435 vec = LLVMGetUndef( LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_varying_gather_values()
467 vec = LLVMGetUndef( LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_gather_values_extended()
918 voffset ? voffset : LLVMGetUndef(ctx->i32), in ac_build_buffer_store_dword()
984 result[num_channels++] = LLVMGetUndef(ctx->f32); in ac_build_buffer_load()
Dac_nir_to_llvm.c1620 result = LLVMBuildInsertElement(ctx->builder, LLVMGetUndef(ctx->v2f32), temps[0], in emit_unpack_half_2x16()
2084 LLVMValueRef tmp = LLVMGetUndef(ctx->ac.v2i32); in visit_alu()
3478 fmask_load_address[3] = LLVMGetUndef(ctx->i32); in adjust_sample_index_using_fmask()
3612 coords[3] = LLVMGetUndef(ctx->ac.i32); in get_image_coords()
4749 param[count++] = LLVMGetUndef(ctx->i32); in set_tex_fetch_args()
5009 coords[3] = LLVMGetUndef(ctx->ac.f32); in visit_tex()
5214 undef = LLVMGetUndef(type); in visit_ssa_undef()
5216 undef = LLVMGetUndef(LLVMVectorType(type, num_components)); in visit_ssa_undef()
5584 LLVMBuildStore(ac->builder, LLVMGetUndef(type), ptr); in si_build_alloca_undef()
5807 args->out[0] = LLVMGetUndef(ctx->ac.f32); in si_llvm_init_export_args()
[all …]
/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()
740 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()
817 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.c306 LLVMValueRef i32undef = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_intrinsic_binary_anylength()
391 res = LLVMGetUndef(ret_type); in lp_build_intrinsic_map()
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_pack.c1040 undef = LLVMGetUndef(LLVMVectorType(type, dst_length)); in lp_build_pad_vector()
1044 undef = LLVMGetUndef(type); in lp_build_pad_vector()
Dlp_bld_format_cached.c312 color = LLVMGetUndef(LLVMVectorType(i32t, n)); in lp_build_fetch_cached_texels()
Dlp_bld_format_yuv.c527 rgba = LLVMGetUndef(LLVMVectorType(LLVMInt8TypeInContext(gallivm->context), 4*n)); in lp_build_fetch_subsampled_rgba_aos()
Dlp_bld_conv.c189 LLVMValueRef ref_result = LLVMGetUndef(LLVMVectorType(i16t, length)); in lp_build_float_to_half()
Dlp_bld_tgsi_soa.c928 …res = LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), bld_base->base.type.le… in build_gather()
1722 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_chan()
1727 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_chan()
2418 LLVMValueRef coord_undef = LLVMGetUndef(bld->bld_base.base.int_vec_type); in emit_fetch_texels()
Dlp_bld_sample_aos.c1575 lod_fpart = LLVMBuildShuffleVector(builder, lod_fpart, LLVMGetUndef(tmp_vec_type), in lp_build_sample_mipmap()
/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_bld_depth.c476 countd = LLVMBuildShuffleVector(builder, countv, LLVMGetUndef(i8vntype), shufflev, ""); in lp_build_occlusion_count()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c236 LLVMGetUndef(LLVMTypeOf(value)), in emit_swizzle()
362 result = LLVMGetUndef(LLVMVectorType(ctx->i32, 2)); in si_llvm_emit_fetch_64bit()
384 LLVMValueRef result = LLVMGetUndef(vec); in emit_array_fetch()
533 result = LLVMGetUndef(LLVMVectorType(ctx->i32, 2)); in si_llvm_emit_fetch()
574 return LLVMGetUndef(tgsi2llvmtype(bld_base, type)); in si_llvm_emit_fetch()
597 return LLVMGetUndef(tgsi2llvmtype(bld_base, type)); in si_llvm_emit_fetch()
Dsi_shader_tgsi_mem.c457 channels[chan] = LLVMGetUndef(ctx->f32); in load_emit_memory()
690 builder, LLVMGetUndef(v2f32), tmp, in store_emit_buffer()
976 param[count++] = LLVMGetUndef(ctx->i32); in set_tex_fetch_args()
Dsi_shader.c1194 LLVMValueRef desc = LLVMGetUndef(LLVMVectorType(ctx->i64, 2)); in desc_from_addr_base64k()
2415 LLVMValueRef f32undef = LLVMGetUndef(ctx->ac.f32); in si_llvm_init_export_args()
2734 vdata = LLVMGetUndef(LLVMVectorType(ctx->i32, util_next_power_of_two(num_comps))); in emit_streamout_output()
3131 inner[i] = LLVMGetUndef(ctx->i32); in si_write_tess_factors()
3132 outer[i] = LLVMGetUndef(ctx->i32); in si_write_tess_factors()
3317 values[1] = LLVMGetUndef(ctx->i32); in si_llvm_emit_tcs_epilogue()
3321 values[1] = LLVMGetUndef(ctx->i32); in si_llvm_emit_tcs_epilogue()
4172 LLVMValueRef gather = LLVMGetUndef(LLVMVectorType(ctx->f32, input_array_size)); in build_interp_intrinsic()
4448 ctx->return_value = LLVMGetUndef(ctx->return_type); in si_create_function()
/external/skia/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/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp322 return LLVMGetUndef(TypeCloner(M).Clone(Cst)); in clone_constant_impl()
931 LLVMAddAlias(M, CurType, LLVMGetUndef(CurType), Name); in declare_symbols()
/external/llvm/tools/llvm-c-test/
Decho.cpp310 return LLVMGetUndef(TypeCloner(M).Clone(Cst)); in clone_constant_impl()
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h551 LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty);

12