/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_gs.c | 131 prim = LLVMBuildSub(ctx->ac.builder, ctx->gs_emitted_vertices, ctx->ac.i32_1, ""); in si_llvm_gs_build_end() 151 args[0] = ctx->ac.i32_1; in si_llvm_gs_build_end() 228 gs_next_vertex = LLVMBuildAdd(ctx->ac.builder, gs_next_vertex, ctx->ac.i32_1, ""); in si_llvm_emit_vertex() 237 ctx->ac.i32_1, "vert"); in si_llvm_emit_vertex() 270 LLVMValueRef desc1 = LLVMBuildExtractElement(builder, ctx->esgs_ring, ctx->ac.i32_1, ""); in si_preload_esgs_ring() 286 ctx->esgs_ring = LLVMBuildInsertElement(builder, ctx->esgs_ring, desc1, ctx->ac.i32_1, ""); in si_preload_esgs_ring() 348 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_1, ""); in si_preload_gs_rings() 352 ring = LLVMBuildInsertElement(builder, ring, tmp, ctx->ac.i32_1, ""); in si_preload_gs_rings()
|
D | si_shader_llvm_resources.c | 188 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc() 220 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc() 226 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc() 269 dynamic_index = LLVMBuildAdd(ctx->ac.builder, dynamic_index, ctx->ac.i32_1, ""); in si_nir_load_sampler_desc()
|
D | gfx10_shader_ngg.c | 110 return LLVMBuildAdd(ctx->ac.builder, num, ctx->ac.i32_1, ""); in ngg_get_vertices_per_prim() 636 offset_vtx = LLVMBuildAdd(builder, offset_vtx, ctx->ac.i32_1, ""); in build_streamout() 893 LLVMBuildStore(ctx->ac.builder, ctx->ac.i32_1, gs_accepted); in gfx10_build_primitive_accepted() 950 prim_is_lines ? ctx->ac.i32_1 : ctx->ac.i32_0); in cull_primitive() 1552 edgeflag = ac_build_umin(&ctx->ac, edgeflag, ctx->ac.i32_1); in gfx10_ngg_build_end() 1663 ctx->so.num_outputs ? ctx->ac.i32_1 : ctx->ac.i32_0, ""); in gfx10_ngg_build_end() 1675 args[0] = ac_build_writelane(&ctx->ac, args[0], emitted_prims, ctx->ac.i32_1); in gfx10_ngg_build_end() 1677 ctx->ac.i32_1); in gfx10_ngg_build_end() 1844 ctx->ac.i32_1, /* second struct entry */ in ngg_gs_get_emit_primflag_ptr() 1866 tmp = LLVMBuildAdd(builder, vertexidx, ctx->ac.i32_1, ""); in gfx10_ngg_gs_emit_vertex() [all …]
|
D | si_shader_llvm_tess.c | 107 si_unpack_param(ctx, ctx->tcs_offchip_layout, 6, 5), ctx->ac.i32_1, ""); in si_get_num_tcs_out_vertices() 159 num_patches = LLVMBuildAdd(ctx->ac.builder, num_patches, ctx->ac.i32_1, ""); in get_tcs_tes_buffer_address() 468 values[1] = ctx->ac.i32_1; /* cause the epilog to skip threads */ in si_llvm_tcs_build_end()
|
D | si_shader_llvm_vs.c | 50 LLVMBuildICmp(ctx->ac.builder, LLVMIntULE, vertex_id, ctx->ac.i32_1, ""); in load_input_vs() 54 LLVMValueRef sel_y1 = LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, vertex_id, ctx->ac.i32_1, ""); in load_input_vs() 600 edgeflag_value = ac_build_umin(&ctx->ac, edgeflag_value, ctx->ac.i32_1); in si_llvm_build_vs_exports()
|
D | si_shader_llvm_ps.c | 168 j = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_1, ""); in interp_fs_color()
|
D | si_shader_llvm.c | 779 ctx->ac.i32_1, ""); in si_llvm_load_intrinsic()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 320 return LLVMBuildSelect(ctx->builder, src0, ctx->i32_1, ctx->i32_0, ""); in emit_b2i() 405 LLVMBuildSub(ctx->builder, LLVMBuildShl(ctx->builder, ctx->i32_1, bits, ""), ctx->i32_1, ""), in emit_bfm() 429 comp[1] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_1, ""); in emit_pack_2x16() 1166 comp[1] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_1, ""); in visit_alu() 1175 comp[1] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_1, ""); in visit_alu() 1192 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu() 1227 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu() 1266 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu() 1421 LLVMValueRef stride = LLVMBuildExtractElement(ctx->ac.builder, descriptor, ctx->ac.i32_1, ""); in get_buffer_size() 1460 formats = LLVMBuildExtractElement(ctx->builder, args->resource, ctx->i32_1, ""); in lower_gather4_integer() [all …]
|
D | ac_llvm_build.c | 108 ctx->i32_1 = LLVMConstInt(ctx->i32, 1, false); in ac_llvm_context_init() 534 LLVMValueRef active_set = ac_build_ballot(ctx, ctx->i32_1); in ac_build_vote_all() 548 LLVMValueRef active_set = ac_build_ballot(ctx, ctx->i32_1); in ac_build_vote_eq() 1716 loads[num_channels] = num_channels == 3 ? ctx->i32_1 : ctx->i32_0; in ac_build_opencoded_load_format() 2225 args[num_args++] = a->tfe ? ctx->i32_1 : ctx->i32_0; /* texfailctrl */ in ac_build_image_opcode() 2340 samples = LLVMBuildShl(ctx->builder, ctx->i32_1, samples, ""); in ac_build_image_get_sample_count() 2398 LLVMValueRef max_alpha = bits != 10 ? max_rgb : ctx->i32_1; in ac_build_cvt_pk_i16() 3052 masks[1] = ctx->i32_1; in ac_trim_vector() 3119 tmp = LLVMBuildExtractElement(ac->builder, tmp, ac->i32_1, ""); in ac_apply_fmask_to_sample() 3231 LLVMValueRef mask_hi = LLVMBuildExtractElement(ctx->builder, mask_vec, ctx->i32_1, ""); in ac_build_mbcnt_add() [all …]
|
D | ac_llvm_build.h | 103 LLVMValueRef i32_1; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 361 LLVMValueRef one = is_float ? ctx->ac.f32_1 : ctx->ac.i32_1; in radv_fixup_vertex_input_fetches() 1270 tmp = LLVMBuildExtractElement(ctx->ac.builder, ring, ctx->ac.i32_1, ""); in ac_setup_rings() 1273 ring = LLVMBuildInsertElement(ctx->ac.builder, ring, tmp, ctx->ac.i32_1, ""); in ac_setup_rings()
|