aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-04-25 12:20:51 -0400
committerTom Stellard <[email protected]>2012-04-25 12:52:44 -0400
commit21d3dd831e28452bd3229bf93367aa3fa719ad10 (patch)
tree48cac9225667caeec3da1b41c23d5faa07783ffa /src/gallium/drivers
parent30f2a38cef4d4a75776fbd822ff4ad716302b888 (diff)
radeon/llvm: Remove unused header files
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/AMDILCompilerWarnings.h31
-rw-r--r--src/gallium/drivers/radeon/AMDILKernel.h84
2 files changed, 0 insertions, 115 deletions
diff --git a/src/gallium/drivers/radeon/AMDILCompilerWarnings.h b/src/gallium/drivers/radeon/AMDILCompilerWarnings.h
deleted file mode 100644
index c257980a1e4..00000000000
--- a/src/gallium/drivers/radeon/AMDILCompilerWarnings.h
+++ /dev/null
@@ -1,31 +0,0 @@
-//===-- AMDILCompilerWarnings.h - TODO: Add brief description -------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//==-----------------------------------------------------------------------===//
-#ifndef _AMDIL_COMPILER_WARNINGS_H_
-#define _AMDIL_COMPILER_WARNINGS_H_
-/// Compiler backend generated warnings that might cause
-/// issues with compilation. These warnings become errors if
-/// -Werror is specified on the command line.
-namespace amd {
-
-#define LIMIT_BARRIER 0
-#define BAD_BARRIER_OPT 1
-#define RECOVERABLE_ERROR 2
-#define NUM_WARN_MESSAGES 3
- /// All warnings must be prefixed with the W token or they might be
- /// treated as errors.
- static const char *CompilerWarningMessage[NUM_WARN_MESSAGES] =
- {
- "W000:Barrier caused limited groupsize",
- "W001:Dangerous Barrier Opt Detected! ",
- "W002:Recoverable BE Error Detected! "
-
- };
-}
-
-#endif // _AMDIL_COMPILER_WARNINGS_H_
diff --git a/src/gallium/drivers/radeon/AMDILKernel.h b/src/gallium/drivers/radeon/AMDILKernel.h
deleted file mode 100644
index ce7ea04c569..00000000000
--- a/src/gallium/drivers/radeon/AMDILKernel.h
+++ /dev/null
@@ -1,84 +0,0 @@
-//===------------- AMDILKernel.h - AMDIL Kernel Class ----------*- C++ -*--===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//==-----------------------------------------------------------------------===//
-// Definition of a AMDILKernel object and the various subclasses that
-// are used.
-//===----------------------------------------------------------------------===//
-#ifndef _AMDIL_KERNEL_H_
-#define _AMDIL_KERNEL_H_
-#include "AMDIL.h"
-#include "llvm/ADT/SmallSet.h"
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/Constant.h"
-#include "llvm/Value.h"
-
-namespace llvm {
- class AMDILSubtarget;
- class AMDILTargetMachine;
- /// structure that holds information for a single local/region address array
- typedef struct _AMDILArrayMemRec {
- uint32_t vecSize; // size of each vector
- uint32_t offset; // offset into the memory section
- bool isHW; // flag to specify if HW is used or SW is used
- bool isRegion; // flag to specify if GDS is used or not
- } AMDILArrayMem;
-
- /// structure that holds information about a constant address
- /// space pointer that is a kernel argument
- typedef struct _AMDILConstPtrRec {
- const llvm::Value *base;
- uint32_t size;
- uint32_t offset;
- uint32_t cbNum; // value of 0 means that it does not use hw CB
- bool isArray;
- bool isArgument;
- bool usesHardware;
- std::string name;
- } AMDILConstPtr;
-
- /// Structure that holds information for all local/region address
- /// arrays in the kernel
- typedef struct _AMDILLocalArgRec {
- llvm::SmallVector<AMDILArrayMem *, DEFAULT_VEC_SLOTS> local;
- std::string name; // Kernel Name
- } AMDILLocalArg;
-
- /// Structure that holds information for each kernel argument
- typedef struct _AMDILkernelArgRec {
- uint32_t reqGroupSize[3];
- uint32_t reqRegionSize[3];
- llvm::SmallVector<uint32_t, DEFAULT_VEC_SLOTS> argInfo;
- bool mHasRWG;
- bool mHasRWR;
- } AMDILKernelAttr;
-
- /// Structure that holds information for each kernel
- class AMDILKernel {
- public:
- AMDILKernel() {}
- uint32_t curSize;
- uint32_t curRSize;
- uint32_t curHWSize;
- uint32_t curHWRSize;
- uint32_t constSize;
- bool mKernel;
- std::string mName;
- AMDILKernelAttr *sgv;
- AMDILLocalArg *lvgv;
- llvm::SmallVector<struct _AMDILConstPtrRec, DEFAULT_VEC_SLOTS> constPtr;
- uint32_t constSizes[HW_MAX_NUM_CB];
- llvm::SmallSet<uint32_t, OPENCL_MAX_READ_IMAGES> readOnly;
- llvm::SmallSet<uint32_t, OPENCL_MAX_WRITE_IMAGES> writeOnly;
- llvm::SmallVector<std::pair<uint32_t, const llvm::Constant *>,
- DEFAULT_VEC_SLOTS> CPOffsets;
- typedef llvm::SmallVector<struct _AMDILConstPtrRec, DEFAULT_VEC_SLOTS>::iterator constptr_iterator;
- typedef llvm::SmallVector<AMDILArrayMem *, DEFAULT_VEC_SLOTS>::iterator arraymem_iterator;
- }; // AMDILKernel
-} // end llvm namespace
-#endif // _AMDIL_KERNEL_H_