/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 286 LLVMValueRef scratch_emit_basev = isgs ? i32_4 : ctx->ac.i32_0; in build_streamout() 317 tmp = LLVMBuildICmp(builder, LLVMIntEQ, get_wave_id_in_tg(ctx), ctx->ac.i32_0, ""); in build_streamout() 321 LLVMValueRef gdsbase = LLVMBuildIntToPtr(builder, ctx->ac.i32_0, gdsptr, ""); in build_streamout() 334 tmp = ac_build_writelane(&ctx->ac, ctx->ac.i32_0, ngg_get_prim_cnt(ctx), ctx->ac.i32_0); in build_streamout() 361 ctx->ac.i32_0, // ordering in build_streamout() 362 ctx->ac.i32_0, // scope in build_streamout() 402 max_emit[buffer] = LLVMBuildSelect(builder, tmp2, ctx->ac.i32_0, tmp, ""); in build_streamout() 411 LLVMValueRef emit_vgpr = ctx->ac.i32_0; in build_streamout() 670 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntEQ, tid, ctx->ac.i32_0, ""), 17771); in load_bitmasks_2x64() 678 *total_bitcount = ctx->ac.i32_0; in load_bitmasks_2x64() [all …]
|
D | si_compute_prim_discard.c | 239 ctx->ac.i32_0, /* scope */ in si_build_ds_ordered_op() 281 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, thread_id, ctx->ac.i32_0, ""), in si_enter_thread0_section() 373 vs_params[num_vs_params++] = ctx->ac.i32_0; /* DrawID */ in si_build_prim_discard_compute_shader() 378 vs_params[num_vs_params++] = ctx->ac.i32_0; /* unused (PrimID) */ in si_build_prim_discard_compute_shader() 379 vs_params[num_vs_params++] = ctx->ac.i32_0; /* unused */ in si_build_prim_discard_compute_shader() 391 tmp = ac_build_load_to_sgpr(&ctx->ac, tmp, ctx->ac.i32_0); in si_build_prim_discard_compute_shader() 404 LLVMValueRef instance_id = ctx->ac.i32_0; in si_build_prim_discard_compute_shader() 448 index[2] = ctx->ac.i32_0; in si_build_prim_discard_compute_shader() 450 index[0] = ctx->ac.i32_0; in si_build_prim_discard_compute_shader() 462 index[i] = ac_build_buffer_load_format(&ctx->ac, input_indexbuf, index[i], ctx->ac.i32_0, in si_build_prim_discard_compute_shader() [all …]
|
D | si_shader_llvm_gs.c | 93 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs() 321 LLVMBuildStore(ctx->ac.builder, ctx->ac.i32_0, ctx->gs_curprim_verts[stream]); in si_llvm_emit_primitive() 386 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_0, ""); in si_preload_gs_rings() 390 ring = LLVMBuildInsertElement(builder, ring, tmp, ctx->ac.i32_0, ""); in si_preload_gs_rings() 469 stream_id = ctx.ac.i32_0; in si_generate_gs_copy_shader() 515 ac_build_buffer_load(&ctx.ac, ctx.gsvs_ring[0], 1, ctx.ac.i32_0, voffset, soffset, 0, in si_generate_gs_copy_shader()
|
D | si_shader_llvm_tess.c | 414 param_index = ctx->ac.i32_0; in si_nir_load_tcs_varyings() 446 param_index = ctx->ac.i32_0; in si_nir_load_input_tes() 479 param_index = ctx->ac.i32_0; in si_nir_store_output_tcs() 699 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors() 780 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, rel_patch_id, ctx->ac.i32_0, ""), 6504); in si_write_tess_factors() 786 ctx->ac.i32_0, tf_base, offset, ac_glc); in si_write_tess_factors()
|
D | si_shader_llvm_vs.c | 128 ctx->ac.i32_0, ctx->ac.i32_0, 0, true); in load_input_vs() 287 so_write_offsets[buf_idx], ctx->ac.i32_0, stream_out->dst_offset * 4, in si_llvm_streamout_store_output() 832 si_unpack_param(ctx, input_sgpr_param[3], 8, 8), ctx->ac.i32_0, ""); in si_llvm_build_vs_prolog() 882 builder, LLVMIntEQ, si_unpack_param(ctx, ctx->vs_state_bits, 4, 2), ctx->ac.i32_0, ""); in si_llvm_build_vs_prolog() 1002 ctx->ac.i32_0, ""); in get_base_vertex()
|
D | si_shader_llvm.c | 338 return ctx->ac.i32_0; in si_get_primitive_id() 351 return ctx->ac.i32_0; in si_get_primitive_id()
|
D | si_shader_llvm_resources.c | 256 return si_load_sampler_desc(ctx, list, ctx->ac.i32_0, desc_type); in si_nir_load_sampler_desc()
|
D | si_shader_llvm_ps.c | 169 i = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_0, ""); in interp_fs_color() 183 is_face_positive = LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, face, ctx->ac.i32_0, ""); in interp_fs_color()
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 103 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); in ac_llvm_context_init() 416 vgpr0 = LLVMBuildExtractElement(builder, vgpr, ctx->i32_0, ""); in ac_build_optimization_barrier() 418 vgpr = LLVMBuildInsertElement(builder, vgpr, vgpr0, ctx->i32_0, ""); in ac_build_optimization_barrier() 452 LLVMValueRef args[3] = {value, ctx->i32_0, LLVMConstInt(ctx->i32, LLVMIntNE, 0)}; in ac_build_ballot() 971 ctx->i32_0, in ac_build_gep0() 1078 args[idx++] = vindex ? vindex : ctx->i32_0; in ac_build_buffer_store_common() 1079 args[idx++] = voffset ? voffset : ctx->i32_0; in ac_build_buffer_store_common() 1080 args[idx++] = soffset ? soffset : ctx->i32_0; in ac_build_buffer_store_common() 1137 ac_build_buffer_store_common(ctx, rsrc, ac_to_float(ctx, vdata), ctx->i32_0, voffset, offset, in ac_build_buffer_store_dword() 1164 args[idx++] = vindex ? vindex : ctx->i32_0; in ac_build_buffer_load_common() [all …]
|
D | ac_nir_to_llvm.c | 314 return LLVMBuildSelect(ctx->builder, src0, ctx->i32_1, ctx->i32_0, ""); in emit_b2i() 422 comp[0] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_0, ""); in emit_pack_2x16() 543 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, cc, ctx->ac.i32_0, "uniform_active2"); in exit_waterfall() 945 result = LLVMBuildExtractElement(ctx->ac.builder, result, ctx->ac.i32_0, ""); in visit_alu() 1057 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1092 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1131 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1311 LLVMBuildExtractElement(ctx->builder, args->sampler, ctx->i32_0, ""); in lower_gather4_integer() 1331 resinfo.lod = ctx->i32_0; in lower_gather4_integer() 1409 return ac_build_buffer_load_format(&ctx->ac, args->resource, args->coords[0], ctx->ac.i32_0, in build_tex_intrinsic() [all …]
|
D | ac_llvm_build.h | 101 LLVMValueRef i32_0; member
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 674 ctx->ac.i32_0, in load_gs_input() 830 LLVMBuildStore(ctx->ac.builder, ctx->ac.i32_0, ctx->gs_curprim_verts[stream]); in visit_end_primitive() 1005 adjusted_index = ctx->ac.i32_0; in radv_get_sampler_desc() 1084 LLVMValueRef zero = is_float ? ctx->ac.f32_0 : ctx->ac.i32_0; in radv_fixup_vertex_input_fetches() 1150 buffer_index = ctx->ac.i32_0; in handle_vs_input_decl() 1219 ctx->ac.i32_0, ctx->ac.i32_0, 1, in handle_vs_input_decl() 1240 ctx->ac.i32_0, ctx->ac.i32_0, in handle_vs_input_decl() 1309 ctx->ac.i32_0, ""); in prepare_interp_optimize() 1609 ctx->ac.i32_0, offset, in radv_emit_stream_output() 2088 ctx->ac.i32_0, in ngg_get_ordered_id() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/ |
D | disc_ral_legalize_to_llvm.mlir | 10 // CHECK-DAG: %[[i32_0:.*]] = llvm.mlir.constant(0 : i32) : i32 18 // CHECK: %[[T4:.*]] = llvm.getelementptr %[[T0]][%[[i32_0]], %[[T3]]] 25 // CHECK: %[[T8:.*]] = llvm.getelementptr %[[T0]][%[[i32_0]], %[[T7]]] 32 // CHECK: %[[T12:.*]] = llvm.getelementptr %[[T0]][%[[i32_0]], %[[T11]]] 57 // CHECK-DAG: %[[i32_0:.*]] = llvm.mlir.constant(0 : i32) : i32
|