/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 189 prim.edgeflags = ctx->ac.i32_0; in gfx10_ngg_build_export_prim() 195 LLVMValueRef edgeflags = ctx->ac.i32_0; in gfx10_ngg_build_export_prim() 290 LLVMValueRef scratch_emit_basev = isgs ? i32_4 : ctx->ac.i32_0; in build_streamout() 321 tmp = LLVMBuildICmp(builder, LLVMIntEQ, get_wave_id_in_tg(ctx), ctx->ac.i32_0, ""); in build_streamout() 325 LLVMValueRef gdsbase = LLVMBuildIntToPtr(builder, ctx->ac.i32_0, gdsptr, ""); in build_streamout() 338 tmp = ac_build_writelane(&ctx->ac, ctx->ac.i32_0, ngg_get_prim_cnt(ctx), ctx->ac.i32_0); in build_streamout() 365 ctx->ac.i32_0, // ordering in build_streamout() 366 ctx->ac.i32_0, // scope in build_streamout() 406 max_emit[buffer] = LLVMBuildSelect(builder, tmp2, ctx->ac.i32_0, tmp, ""); in build_streamout() 415 LLVMValueRef emit_vgpr = ctx->ac.i32_0; in build_streamout() [all …]
|
D | si_shader_llvm_gs.c | 80 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() 307 LLVMBuildStore(ctx->ac.builder, ctx->ac.i32_0, ctx->gs_curprim_verts[stream]); in si_llvm_emit_primitive() 372 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_0, ""); in si_preload_gs_rings() 376 ring = LLVMBuildInsertElement(builder, ring, tmp, ctx->ac.i32_0, ""); in si_preload_gs_rings() 455 stream_id = ctx.ac.i32_0; in si_generate_gs_copy_shader() 501 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_vs.c | 141 ctx->ac.i32_0, ctx->ac.i32_0, 0, can_speculate); in load_input_vs() 314 so_write_offsets[buf_idx], ctx->ac.i32_0, stream_out->dst_offset * 4, in si_llvm_streamout_store_output() 684 rates, ctx->ac.i32_0, ""); in si_llvm_build_vs_exports() 871 si_unpack_param(ctx, input_sgpr_param[3], 8, 8), ctx->ac.i32_0, ""); in si_llvm_build_vs_prolog() 986 ctx->ac.i32_0, ""); in get_base_vertex()
|
D | si_shader_llvm_tess.c | 692 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors() 776 … LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, rel_patch_id, ctx->ac.i32_0, ""), 6504); in si_write_tess_factors() 778 ctx->ac.i32_0, tf_base, offset, ac_glc); in si_write_tess_factors()
|
D | si_shader_llvm_resources.c | 281 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()
|
D | si_shader_llvm.c | 394 return ctx->ac.i32_0; in si_get_primitive_id() 407 return ctx->ac.i32_0; in si_get_primitive_id()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 104 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); in ac_llvm_context_init() 457 vgpr0 = LLVMBuildExtractElement(builder, vgpr, ctx->i32_0, ""); in ac_build_optimization_barrier() 459 vgpr = LLVMBuildInsertElement(builder, vgpr, vgpr0, ctx->i32_0, ""); in ac_build_optimization_barrier() 490 LLVMValueRef args[3] = {value, ctx->i32_0, LLVMConstInt(ctx->i32, LLVMIntNE, 0)}; in ac_build_ballot() 1020 ctx->i32_0, in ac_build_gep0() 1128 args[idx++] = vindex ? vindex : ctx->i32_0; in ac_build_buffer_store_common() 1129 args[idx++] = voffset ? voffset : ctx->i32_0; in ac_build_buffer_store_common() 1130 args[idx++] = soffset ? soffset : ctx->i32_0; in ac_build_buffer_store_common() 1186 ac_build_buffer_store_common(ctx, rsrc, ac_to_float(ctx, vdata), ctx->i32_0, voffset, offset, in ac_build_buffer_store_dword() 1213 args[idx++] = vindex ? vindex : ctx->i32_0; in ac_build_buffer_load_common() [all …]
|
D | ac_nir_to_llvm.c | 317 return LLVMBuildSelect(ctx->builder, src0, ctx->i32_1, ctx->i32_0, ""); in emit_b2i() 425 comp[0] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_0, ""); in emit_pack_2x16() 551 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, cc, ctx->ac.i32_0, "uniform_active2"); in exit_waterfall() 1005 result = LLVMBuildExtractElement(ctx->ac.builder, result, ctx->ac.i32_0, ""); in visit_alu() 1117 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1152 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1192 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu() 1431 LLVMBuildExtractElement(ctx->builder, args->sampler, ctx->i32_0, ""); in lower_gather4_integer() 1451 resinfo.lod = ctx->i32_0; in lower_gather4_integer() 1536 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
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 228 LLVMValueRef res[] = {desc_ptr, offset, ctx->ac.i32_0}; in radv_load_resource() 355 LLVMBuildStore(ctx->ac.builder, ctx->ac.i32_0, ctx->gs_curprim_verts[stream]); in visit_end_primitive() 560 adjusted_index = ctx->ac.i32_0; in radv_get_sampler_desc() 650 LLVMValueRef zero = is_float ? ctx->ac.f32_0 : ctx->ac.i32_0; in radv_fixup_vertex_input_fetches() 707 buffer_index = ctx->ac.i32_0; in load_vs_input() 764 ctx->ac.i32_0, ctx->ac.i32_0, 1, chan_format, num_format, 0, true); in load_vs_input() 780 ctx->ac.i32_0, ctx->ac.i32_0, num_channels, data_format, num_format, 0, true); in load_vs_input() 850 ctx->ac.i32_0, ""); in prepare_interp_optimize() 1105 ctx->ac.i32_0, offset, ac_glc | ac_slc); in radv_emit_stream_output() 1321 v = LLVMBuildSelect(ctx->ac.builder, cond, rates, ctx->ac.i32_0, ""); in radv_llvm_export_vs() [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()
|