i965: Move the back-end compiler to src/intel/compiler
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 28 Feb 2017 17:10:43 +0000 (09:10 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Mar 2017 11:16:34 +0000 (11:16 +0000)
commit700bebb958e93f4d472c383de62ced9db8e64bec
tree0075c098c56c338f38ba0db80b9dba3e7e268a17
parentd0d4a5f43b4dd79bd7bfff7c7deaade10bfebf7c
i965: Move the back-end compiler to src/intel/compiler

Mostly a dummy git mv with a couple of noticable parts:
 - With the earlier header cleanups, nothing in src/intel depends
files from src/mesa/drivers/dri/i965/
 - Both Autoconf and Android builds are addressed. Thanks to Mauro and
Tapani for the fixups in the latter
 - brw_util.[ch] is not really compiler specific, so it's moved to i965.

v2:
 - move brw_eu_defines.h instead of brw_defines.h
 - remove no-longer applicable includes
 - add missing vulkan/ prefix in the Android build (thanks Tapani)

v3:
 - don't list brw_defines.h in src/intel/Makefile.sources (Jason)
 - rebase on top of the oa patches

[Emil Velikov: commit message, various small fixes througout]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
233 files changed:
src/intel/Android.blorp.mk
src/intel/Android.compiler.mk [new file with mode: 0644]
src/intel/Android.isl.mk
src/intel/Android.mk
src/intel/Makefile.am
src/intel/Makefile.compiler.am [new file with mode: 0644]
src/intel/Makefile.sources
src/intel/blorp/blorp.c
src/intel/blorp/blorp_clear.c
src/intel/blorp/blorp_priv.h
src/intel/compiler/.gitignore [new file with mode: 0644]
src/intel/compiler/brw_cfg.cpp [new file with mode: 0644]
src/intel/compiler/brw_cfg.h [new file with mode: 0644]
src/intel/compiler/brw_compiler.c [new file with mode: 0644]
src/intel/compiler/brw_compiler.h [new file with mode: 0644]
src/intel/compiler/brw_dead_control_flow.cpp [new file with mode: 0644]
src/intel/compiler/brw_dead_control_flow.h [new file with mode: 0644]
src/intel/compiler/brw_disasm.c [new file with mode: 0644]
src/intel/compiler/brw_eu.c [new file with mode: 0644]
src/intel/compiler/brw_eu.h [new file with mode: 0644]
src/intel/compiler/brw_eu_compact.c [new file with mode: 0644]
src/intel/compiler/brw_eu_defines.h [new file with mode: 0644]
src/intel/compiler/brw_eu_emit.c [new file with mode: 0644]
src/intel/compiler/brw_eu_util.c [new file with mode: 0644]
src/intel/compiler/brw_eu_validate.c [new file with mode: 0644]
src/intel/compiler/brw_fs.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs.h [new file with mode: 0644]
src/intel/compiler/brw_fs_builder.h [new file with mode: 0644]
src/intel/compiler/brw_fs_cmod_propagation.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_combine_constants.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_copy_propagation.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_cse.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_dead_code_eliminate.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_generator.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_live_variables.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_live_variables.h [new file with mode: 0644]
src/intel/compiler/brw_fs_lower_d2x.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_lower_pack.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_nir.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_reg_allocate.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_register_coalesce.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_saturate_propagation.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_sel_peephole.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_surface_builder.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_surface_builder.h [new file with mode: 0644]
src/intel/compiler/brw_fs_validate.cpp [new file with mode: 0644]
src/intel/compiler/brw_fs_visitor.cpp [new file with mode: 0644]
src/intel/compiler/brw_inst.h [new file with mode: 0644]
src/intel/compiler/brw_interpolation_map.c [new file with mode: 0644]
src/intel/compiler/brw_ir_allocator.h [new file with mode: 0644]
src/intel/compiler/brw_ir_fs.h [new file with mode: 0644]
src/intel/compiler/brw_ir_vec4.h [new file with mode: 0644]
src/intel/compiler/brw_nir.c [new file with mode: 0644]
src/intel/compiler/brw_nir.h [new file with mode: 0644]
src/intel/compiler/brw_nir_analyze_boolean_resolves.c [new file with mode: 0644]
src/intel/compiler/brw_nir_attribute_workarounds.c [new file with mode: 0644]
src/intel/compiler/brw_nir_intrinsics.c [new file with mode: 0644]
src/intel/compiler/brw_nir_opt_peephole_ffma.c [new file with mode: 0644]
src/intel/compiler/brw_nir_tcs_workarounds.c [new file with mode: 0644]
src/intel/compiler/brw_nir_trig_workarounds.py [new file with mode: 0644]
src/intel/compiler/brw_packed_float.c [new file with mode: 0644]
src/intel/compiler/brw_predicated_break.cpp [new file with mode: 0644]
src/intel/compiler/brw_reg.h [new file with mode: 0644]
src/intel/compiler/brw_schedule_instructions.cpp [new file with mode: 0644]
src/intel/compiler/brw_shader.cpp [new file with mode: 0644]
src/intel/compiler/brw_shader.h [new file with mode: 0644]
src/intel/compiler/brw_vec4.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_builder.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_cmod_propagation.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_copy_propagation.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_cse.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_dead_code_eliminate.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_generator.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_gs_nir.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_gs_visitor.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_gs_visitor.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_live_variables.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_live_variables.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_nir.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_reg_allocate.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_surface_builder.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_surface_builder.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_tcs.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_tcs.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_tes.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_tes.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_visitor.cpp [new file with mode: 0644]
src/intel/compiler/brw_vec4_vs.h [new file with mode: 0644]
src/intel/compiler/brw_vec4_vs_visitor.cpp [new file with mode: 0644]
src/intel/compiler/brw_vue_map.c [new file with mode: 0644]
src/intel/compiler/brw_wm_iz.cpp [new file with mode: 0644]
src/intel/compiler/gen6_gs_visitor.cpp [new file with mode: 0644]
src/intel/compiler/gen6_gs_visitor.h [new file with mode: 0644]
src/intel/compiler/intel_asm_annotation.c [new file with mode: 0644]
src/intel/compiler/intel_asm_annotation.h [new file with mode: 0644]
src/intel/compiler/test_eu_compact.c [new file with mode: 0644]
src/intel/compiler/test_eu_validate.cpp [new file with mode: 0644]
src/intel/compiler/test_fs_cmod_propagation.cpp [new file with mode: 0644]
src/intel/compiler/test_fs_copy_propagation.cpp [new file with mode: 0644]
src/intel/compiler/test_fs_saturate_propagation.cpp [new file with mode: 0644]
src/intel/compiler/test_vec4_cmod_propagation.cpp [new file with mode: 0644]
src/intel/compiler/test_vec4_copy_propagation.cpp [new file with mode: 0644]
src/intel/compiler/test_vec4_register_coalesce.cpp [new file with mode: 0644]
src/intel/compiler/test_vf_float_conversions.cpp [new file with mode: 0644]
src/intel/isl/isl_storage_image.c
src/intel/tools/Makefile.am
src/intel/tools/disasm.c
src/intel/vulkan/Android.mk
src/intel/vulkan/Makefile.am
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_private.h
src/mesa/drivers/dri/i965/.gitignore
src/mesa/drivers/dri/i965/Android.gen.mk [deleted file]
src/mesa/drivers/dri/i965/Android.mk
src/mesa/drivers/dri/i965/Makefile.am
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_cfg.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_cfg.h [deleted file]
src/mesa/drivers/dri/i965/brw_clip.h
src/mesa/drivers/dri/i965/brw_compiler.c [deleted file]
src/mesa/drivers/dri/i965/brw_compiler.h [deleted file]
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_dead_control_flow.h [deleted file]
src/mesa/drivers/dri/i965/brw_disasm.c [deleted file]
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_eu.c [deleted file]
src/mesa/drivers/dri/i965/brw_eu.h [deleted file]
src/mesa/drivers/dri/i965/brw_eu_compact.c [deleted file]
src/mesa/drivers/dri/i965/brw_eu_defines.h [deleted file]
src/mesa/drivers/dri/i965/brw_eu_emit.c [deleted file]
src/mesa/drivers/dri/i965/brw_eu_util.c [deleted file]
src/mesa/drivers/dri/i965/brw_eu_validate.c [deleted file]
src/mesa/drivers/dri/i965/brw_ff_gs.h
src/mesa/drivers/dri/i965/brw_fs.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs.h [deleted file]
src/mesa/drivers/dri/i965/brw_fs_builder.h [deleted file]
src/mesa/drivers/dri/i965/brw_fs_cmod_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_cse.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_generator.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_live_variables.h [deleted file]
src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_lower_pack.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_nir.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_register_coalesce.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_sel_peephole.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_surface_builder.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_surface_builder.h [deleted file]
src/mesa/drivers/dri/i965/brw_fs_validate.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_inst.h [deleted file]
src/mesa/drivers/dri/i965/brw_interpolation_map.c [deleted file]
src/mesa/drivers/dri/i965/brw_ir_allocator.h [deleted file]
src/mesa/drivers/dri/i965/brw_ir_fs.h [deleted file]
src/mesa/drivers/dri/i965/brw_ir_vec4.h [deleted file]
src/mesa/drivers/dri/i965/brw_link.cpp
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_nir.c [deleted file]
src/mesa/drivers/dri/i965/brw_nir.h [deleted file]
src/mesa/drivers/dri/i965/brw_nir_analyze_boolean_resolves.c [deleted file]
src/mesa/drivers/dri/i965/brw_nir_attribute_workarounds.c [deleted file]
src/mesa/drivers/dri/i965/brw_nir_intrinsics.c [deleted file]
src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c [deleted file]
src/mesa/drivers/dri/i965/brw_nir_tcs_workarounds.c [deleted file]
src/mesa/drivers/dri/i965/brw_nir_trig_workarounds.py [deleted file]
src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
src/mesa/drivers/dri/i965/brw_packed_float.c [deleted file]
src/mesa/drivers/dri/i965/brw_predicated_break.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_program.h
src/mesa/drivers/dri/i965/brw_program_cache.c
src/mesa/drivers/dri/i965/brw_reg.h [deleted file]
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_sf.h
src/mesa/drivers/dri/i965/brw_shader.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_shader.h [deleted file]
src/mesa/drivers/dri/i965/brw_tcs.c
src/mesa/drivers/dri/i965/brw_tes.c
src/mesa/drivers/dri/i965/brw_util.c
src/mesa/drivers/dri/i965/brw_vec4.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_builder.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_cmod_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_cse.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_dead_code_eliminate.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_gs_nir.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_live_variables.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_live_variables.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_surface_builder.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_surface_builder.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_tcs.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_tcs.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_tes.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_tes.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_vs.h [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vue_map.c [deleted file]
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_iz.cpp [deleted file]
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp [deleted file]
src/mesa/drivers/dri/i965/gen6_gs_visitor.h [deleted file]
src/mesa/drivers/dri/i965/gen6_wm_state.c
src/mesa/drivers/dri/i965/gen7_wm_state.c
src/mesa/drivers/dri/i965/gen8_depth_state.c
src/mesa/drivers/dri/i965/intel_asm_annotation.c [deleted file]
src/mesa/drivers/dri/i965/intel_asm_annotation.h [deleted file]
src/mesa/drivers/dri/i965/test_eu_compact.c [deleted file]
src/mesa/drivers/dri/i965/test_eu_validate.cpp [deleted file]
src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/test_fs_copy_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/test_fs_saturate_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp [deleted file]
src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp [deleted file]
src/mesa/drivers/dri/i965/test_vf_float_conversions.cpp [deleted file]