radeonsi: remove useless #includes
authorMarek Olšák <marek.olsak@amd.com>
Wed, 15 Jan 2020 01:27:24 +0000 (20:27 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Jan 2020 21:54:55 +0000 (21:54 +0000)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3399>

src/gallium/drivers/radeonsi/si_get.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_internal.h
src/gallium/drivers/radeonsi/si_shader_llvm.c
src/gallium/drivers/radeonsi/si_shader_llvm_build.c

index 1adbafda53a6048d9fcef9ac5abb64f587354504..d6b960379b48efb54819049f44eca15033c5d440 100644 (file)
 #include "radeon/radeon_video.h"
 #include "radeon/radeon_vce.h"
 #include "radeon/radeon_uvd_enc.h"
-#include "ac_llvm_util.h"
 #include "vl/vl_decoder.h"
 #include "vl/vl_video_buffer.h"
 #include "util/u_screen.h"
 #include "util/u_video.h"
 #include "compiler/nir/nir.h"
 
-#include <llvm/Config/llvm-config.h>
 #include <sys/utsname.h>
 
 static const char *si_get_vendor(struct pipe_screen *pscreen)
index daba5bcd79a58a1fd78420fe7f1d84274d1ea2ce..f49961d2b438ffc06f3f50f5c3e533bbf257f845 100644 (file)
@@ -29,7 +29,6 @@
 #include "si_compute.h"
 #include "sid.h"
 
-#include "ac_llvm_util.h"
 #include "radeon/radeon_uvd.h"
 #include "util/disk_cache.h"
 #include "util/u_log.h"
@@ -45,8 +44,6 @@
 #include "gallium/winsys/amdgpu/drm/amdgpu_public.h"
 #include <xf86drm.h>
 
-#include <llvm/Config/llvm-config.h>
-
 static struct pipe_context *si_create_context(struct pipe_screen *screen,
                                               unsigned flags);
 
index add0ff1fcf02ec2cca1b60793dca09b65f56091a..49538e823f4ff84701e42e65c730d183ac358c06 100644 (file)
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <llvm/Config/llvm-config.h>
-
 #include "util/u_memory.h"
 #include "tgsi/tgsi_strings.h"
 #include "tgsi/tgsi_from_mesa.h"
 
 #include "ac_exp_param.h"
-#include "ac_shader_util.h"
 #include "ac_rtld.h"
-#include "ac_llvm_util.h"
 #include "si_shader_internal.h"
 #include "si_pipe.h"
 #include "sid.h"
index cfddda02128d3ac7da92ca5ad90d41dc876bbf9d..3a6ad2b511713ab344640fe80fca72f99bc30a3e 100644 (file)
 #ifndef SI_SHADER_H
 #define SI_SHADER_H
 
-#include <llvm-c/Core.h> /* LLVMModuleRef */
-#include <llvm-c/TargetMachine.h>
 #include "util/u_inlines.h"
 #include "util/u_queue.h"
 #include "util/simple_mtx.h"
index f3b02f26f8570d844aa2968acf42151df8cfad7b..e9b41e0ff16f6d46bf737caa9280eac753b4b98e 100644 (file)
@@ -28,9 +28,6 @@
 #include "si_shader.h"
 #include "ac_shader_abi.h"
 
-#include <llvm-c/Core.h>
-#include <llvm-c/TargetMachine.h>
-
 struct pipe_debug_callback;
 
 #define RADEON_LLVM_MAX_INPUTS 32 * 4
index 11f5a14d121a9bd672b52c5e3fbb854ba4d571c0..841c97b00bf13453ed5ffd88066c550a30e72ba3 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "si_shader_internal.h"
 #include "si_pipe.h"
-#include "ac_llvm_util.h"
 #include "util/u_memory.h"
 
 struct si_llvm_diagnostics {
index 722faf45d15ada2a5e17db56bab25df10e1ab51e..7c159560cb6610f7ac832c0b631420f1a0952f4a 100644 (file)
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <llvm/Config/llvm-config.h>
-
 #include "si_shader_internal.h"
 #include "si_pipe.h"
 #include "sid.h"
-#include "ac_llvm_util.h"
 
 /**
  * Load a dword from a constant buffer.