amd: Move all amd/common code that depends on LLVM to amd/llvm.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 27 Sep 2019 08:29:51 +0000 (10:29 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 8 Oct 2019 00:44:08 +0000 (00:44 +0000)
commit3a08110d43ce268747d034cae03787080967bf71
treeee02037354a4a3846f9cb75df486b036345a5acc
parent738bbee603fd3fd8ea29edab7b681e48bc981467
amd: Move all amd/common code that depends on LLVM to amd/llvm.

This commit is a step towards the goal of being able to build RADV
without LLVM. In the future we would like to offer the option to
use RADV solely with ACO. There is still a need for the common AMD
code located in amd/common but the LLVM specific parts need to be
separated.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
33 files changed:
src/amd/Android.common.mk
src/amd/Makefile.sources
src/amd/common/ac_llvm_build.c [deleted file]
src/amd/common/ac_llvm_build.h [deleted file]
src/amd/common/ac_llvm_cull.c [deleted file]
src/amd/common/ac_llvm_cull.h [deleted file]
src/amd/common/ac_llvm_helper.cpp [deleted file]
src/amd/common/ac_llvm_util.c [deleted file]
src/amd/common/ac_llvm_util.h [deleted file]
src/amd/common/ac_nir_to_llvm.c [deleted file]
src/amd/common/ac_nir_to_llvm.h [deleted file]
src/amd/common/ac_shader_abi.h [deleted file]
src/amd/common/meson.build
src/amd/compiler/meson.build
src/amd/llvm/ac_llvm_build.c [new file with mode: 0644]
src/amd/llvm/ac_llvm_build.h [new file with mode: 0644]
src/amd/llvm/ac_llvm_cull.c [new file with mode: 0644]
src/amd/llvm/ac_llvm_cull.h [new file with mode: 0644]
src/amd/llvm/ac_llvm_helper.cpp [new file with mode: 0644]
src/amd/llvm/ac_llvm_util.c [new file with mode: 0644]
src/amd/llvm/ac_llvm_util.h [new file with mode: 0644]
src/amd/llvm/ac_nir_to_llvm.c [new file with mode: 0644]
src/amd/llvm/ac_nir_to_llvm.h [new file with mode: 0644]
src/amd/llvm/ac_shader_abi.h [new file with mode: 0644]
src/amd/llvm/meson.build [new file with mode: 0644]
src/amd/meson.build
src/amd/vulkan/meson.build
src/gallium/drivers/r600/Android.mk
src/gallium/drivers/radeonsi/Android.mk
src/gallium/drivers/radeonsi/meson.build
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/meson.build
src/meson.build