nir: Rename nir_instr_type_ssa_undef to nir_instr_type_undef
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 15 Aug 2023 14:59:06 +0000 (09:59 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 15 Aug 2023 17:44:27 +0000 (17:44 +0000)
commit65b6ac8aa4554987867a4dbd463a5914135efd22
treed935a9cd7eba6d9f483e388660918e649f0ed667
parent252bff0f487763d11f0e4a995be0c42070751d87
nir: Rename nir_instr_type_ssa_undef to nir_instr_type_undef

We already renamed the type, we just need to rename the enum and the
casting helper functions.

Generated with sed:

    sed -i -e 's/nir_instr_type_ssa_undef/nir_instr_type_undef/g' src/**/*.h src/**/*.c src/**/*.cpp
    sed -i -e 's/nir_instr_as_ssa_undef/nir_instr_as_undef/g' src/**/*.h src/**/*.c src/**/*.cpp

and two tiny whitespace fixups in lima.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24703>
60 files changed:
src/amd/common/ac_nir_opt_outputs.c
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp
src/amd/llvm/ac_nir_to_llvm.c
src/asahi/compiler/agx_compile.c
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/vir.c
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_clone.c
src/compiler/nir/nir_divergence_analysis.c
src/compiler/nir/nir_from_ssa.c
src/compiler/nir/nir_group_loads.c
src/compiler/nir/nir_inline_helpers.h
src/compiler/nir/nir_instr_set.c
src/compiler/nir/nir_liveness.c
src/compiler/nir/nir_lower_array_deref_of_vec.c
src/compiler/nir/nir_lower_bool_to_bitsize.c
src/compiler/nir/nir_lower_bool_to_float.c
src/compiler/nir/nir_lower_bool_to_int32.c
src/compiler/nir/nir_lower_int_to_float.c
src/compiler/nir/nir_lower_phis_to_scalar.c
src/compiler/nir/nir_lower_shader_calls.c
src/compiler/nir/nir_lower_undef_to_zero.c
src/compiler/nir/nir_lower_vec_to_regs.c
src/compiler/nir/nir_opt_dce.c
src/compiler/nir/nir_opt_gcm.c
src/compiler/nir/nir_opt_if.c
src/compiler/nir/nir_opt_move_discards_to_top.c
src/compiler/nir/nir_opt_peephole_select.c
src/compiler/nir/nir_opt_preamble.c
src/compiler/nir/nir_opt_shrink_vectors.c
src/compiler/nir/nir_opt_sink.c
src/compiler/nir/nir_opt_undef.c
src/compiler/nir/nir_print.c
src/compiler/nir/nir_propagate_invariant.c
src/compiler/nir/nir_schedule.c
src/compiler/nir/nir_serialize.c
src/compiler/nir/nir_to_lcssa.c
src/compiler/nir/nir_trivialize_registers.c
src/compiler/nir/nir_validate.c
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_nir_lower_64b.c
src/freedreno/ir3/ir3_nir_move_varying_inputs.c
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/nir/nir_to_tgsi.c
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
src/gallium/drivers/etnaviv/etnaviv_compiler_nir_liveness.c
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
src/gallium/drivers/lima/ir/gp/nir.c
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/r600/sfn/sfn_instrfactory.cpp
src/gallium/drivers/r600/sfn/sfn_nir_lower_64bit.cpp
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_vec4_nir.cpp
src/microsoft/compiler/nir_to_dxil.c
src/nouveau/codegen/nv50_ir_from_nir.cpp
src/panfrost/midgard/midgard_compile.c