/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 201 prim.edgeflags = ctx->ac.i32_0; in gfx10_ngg_build_export_prim() 207 LLVMValueRef edgeflags = ctx->ac.i32_0; in gfx10_ngg_build_export_prim() 302 LLVMValueRef scratch_emit_basev = isgs ? i32_4 : ctx->ac.i32_0; in build_streamout() 331 tmp = LLVMBuildICmp(builder, LLVMIntEQ, get_wave_id_in_tg(ctx), ctx->ac.i32_0, ""); in build_streamout() 335 LLVMValueRef gdsbase = LLVMBuildIntToPtr(builder, ctx->ac.i32_0, gdsptr, ""); in build_streamout() 348 tmp = ac_build_writelane(&ctx->ac, ctx->ac.i32_0, ngg_get_prim_cnt(ctx), ctx->ac.i32_0); in build_streamout() 374 ctx->ac.i32_0, /* value to add */ in build_streamout() 375 ctx->ac.i32_0, /* ordering */ in build_streamout() 376 ctx->ac.i32_0, /* scope */ in build_streamout() 434 dwords_written[i] = ac_build_readlane(&ctx->ac, dwords_written[i], ctx->ac.i32_0); in build_streamout() [all …]
|
D | si_shader_llvm_gs.c | 125 LLVMValueRef prim = ctx->ac.i32_0; in si_llvm_gs_build_end() 132 prim = ac_build_imax(&ctx->ac, prim, ctx->ac.i32_0); in si_llvm_gs_build_end() 136 prim = ac_build_imax(&ctx->ac, prim, ctx->ac.i32_0); in si_llvm_gs_build_end() 146 ctx->ac.i32_0, /* soffset */ in si_llvm_gs_build_end() 147 ctx->ac.i32_0, /* cachepolicy */ in si_llvm_gs_build_end() 250 LLVMBuildStore(ctx->ac.builder, ctx->ac.i32_0, ctx->gs_curprim_verts[stream]); in si_llvm_emit_primitive() 342 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_0, ""); in si_preload_gs_rings() 346 ring = LLVMBuildInsertElement(builder, ring, tmp, ctx->ac.i32_0, ""); in si_preload_gs_rings() 450 stream_id = ctx.ac.i32_0; in si_generate_gs_copy_shader() 493 ac_build_buffer_load(&ctx.ac, ctx.gsvs_ring[0], 1, ctx.ac.i32_0, voffset, soffset, in si_generate_gs_copy_shader()
|
D | si_shader_llvm_vs.c | 141 ctx->ac.i32_0, ctx->ac.i32_0, 0, can_speculate); in load_input_vs() 309 ctx->ac.i32_0, ac_glc | ac_slc); in si_llvm_streamout_store_output() 636 rates, ctx->ac.i32_0, ""); in si_llvm_build_vs_exports() 804 ctx->ac.i32_0, soffset[i], ac_swizzled); in si_llvm_build_vs_exports() 922 si_unpack_param(ctx, input_sgpr_param[3], 8, 8), ctx->ac.i32_0, ""); in si_llvm_build_vs_prolog()
|
D | si_shader_llvm_tess.c | 309 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors() 393 … LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, rel_patch_id, ctx->ac.i32_0, ""), 6504); in si_write_tess_factors()
|
D | si_shader_llvm_resources.c | 283 return si_load_sampler_desc(ctx, list, ctx->ac.i32_0, desc_type); in si_nir_load_sampler_desc()
|
D | si_shader_llvm.c | 386 return ctx->ac.i32_0; in si_get_primitive_id() 399 return ctx->ac.i32_0; in si_get_primitive_id() 734 ctx->ac.i32_0, ""); in si_llvm_load_intrinsic()
|
D | si_shader_llvm_ps.c | 167 i = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_0, ""); in interp_fs_color() 181 is_face_positive = LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, face, ctx->ac.i32_0, ""); in interp_fs_color()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 107 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); in ac_llvm_context_init() 465 vgpr0 = LLVMBuildExtractElement(builder, vgpr, ctx->i32_0, ""); in ac_build_optimization_barrier() 467 vgpr = LLVMBuildInsertElement(builder, vgpr, vgpr0, ctx->i32_0, ""); in ac_build_optimization_barrier() 498 LLVMValueRef args[3] = {value, ctx->i32_0, LLVMConstInt(ctx->i32, LLVMIntNE, 0)}; in ac_build_ballot() 1096 ctx->i32_0, in ac_build_gep0() 1212 args[idx++] = vindex ? vindex : ctx->i32_0; in ac_build_buffer_store_common() 1213 args[idx++] = voffset ? voffset : ctx->i32_0; in ac_build_buffer_store_common() 1214 args[idx++] = soffset ? soffset : ctx->i32_0; in ac_build_buffer_store_common() 1253 voffset2 = LLVMBuildAdd(ctx->builder, voffset ? voffset : ctx->i32_0, in ac_build_buffer_store_dword() 1276 args[idx++] = vindex ? vindex : ctx->i32_0; in ac_build_buffer_load_common() [all …]
|
D | ac_nir_to_llvm.c | 320 return LLVMBuildSelect(ctx->builder, src0, ctx->i32_1, ctx->i32_0, ""); in emit_b2i() 428 comp[0] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_0, ""); in emit_pack_2x16() 554 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, cc, ctx->ac.i32_0, "uniform_active2"); in exit_waterfall() 1048 result = LLVMBuildExtractElement(ctx->ac.builder, result, ctx->ac.i32_0, ""); in visit_alu() 1165 comp[0] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_0, ""); in visit_alu() 1174 comp[0] = LLVMBuildExtractElement(ctx->ac.builder, src[0], ctx->ac.i32_0, ""); in visit_alu() 1186 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1221 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1261 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1499 LLVMBuildExtractElement(ctx->builder, args->sampler, ctx->i32_0, ""); in lower_gather4_integer() [all …]
|
D | ac_llvm_build.h | 102 LLVMValueRef i32_0; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 360 LLVMValueRef zero = is_float ? ctx->ac.f32_0 : ctx->ac.i32_0; in radv_fixup_vertex_input_fetches() 417 buffer_index = ctx->ac.i32_0; in load_vs_input() 468 ctx->ac.i32_0, 1, chan_format, num_format, 0, true); in load_vs_input() 484 ctx->ac.i32_0, num_channels, data_format, num_format, 0, true); in load_vs_input() 542 ctx->ac.i32_0, ""); in prepare_interp_optimize() 789 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf], vdata, NULL, voffset, ctx->ac.i32_0, in radv_emit_stream_output() 1262 tmp = LLVMBuildExtractElement(ctx->ac.builder, ring, ctx->ac.i32_0, ""); in ac_setup_rings() 1264 ring = LLVMBuildInsertElement(ctx->ac.builder, ring, tmp, ctx->ac.i32_0, ""); in ac_setup_rings() 1297 LLVMValueRef hs_empty = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, count, ctx->ac.i32_0, ""); in ac_nir_fixup_ls_hs_input_vgprs() 1637 stream_id = ctx->ac.i32_0; in ac_gs_copy_shader_emit() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder.cc | 2909 ast::SintLiteralExpression i32_0(ProgramID(), Source{}, 0); in GenerateTextureIntrinsic() local 2912 Operand::Int(GenerateLiteralIfNeeded(nullptr, &i32_0))); in GenerateTextureIntrinsic() 2941 ast::SintLiteralExpression i32_0(ProgramID(), Source{}, 0); in GenerateTextureIntrinsic() local 2944 Operand::Int(GenerateLiteralIfNeeded(nullptr, &i32_0))); in GenerateTextureIntrinsic()
|