summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-07-27 19:31:08 +0000
committerTom Stellard <[email protected]>2012-07-30 20:31:57 +0000
commitcaeaf43dad367a9a39d2f42d91731148f6dfdf32 (patch)
tree57946f3360cf948f069ecea805fd0ce065c5f770 /src/gallium/drivers/radeon
parentc3111eb639f3ff1f4e320325c325cc21efe58ca3 (diff)
radeon/llvm: Remove AMDILVersion.td
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/AMDGPU.td1
-rw-r--r--src/gallium/drivers/radeon/AMDILVersion.td58
2 files changed, 0 insertions, 59 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPU.td b/src/gallium/drivers/radeon/AMDGPU.td
index 1bb5fb97572..b5e22783203 100644
--- a/src/gallium/drivers/radeon/AMDGPU.td
+++ b/src/gallium/drivers/radeon/AMDGPU.td
@@ -9,7 +9,6 @@
// Include AMDIL TD files
include "AMDILBase.td"
-include "AMDILVersion.td"
// Include AMDGPU TD files
include "R600Schedule.td"
diff --git a/src/gallium/drivers/radeon/AMDILVersion.td b/src/gallium/drivers/radeon/AMDILVersion.td
deleted file mode 100644
index 158ae9efdd6..00000000000
--- a/src/gallium/drivers/radeon/AMDILVersion.td
+++ /dev/null
@@ -1,58 +0,0 @@
-//===-- AMDILVersion.td - Barrier Instruction/Intrinsic definitions------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===--------------------------------------------------------------------===//
-// Intrinsic operation support
-//===--------------------------------------------------------------------===//
-let TargetPrefix = "AMDIL", isTarget = 1 in {
-def int_AMDIL_barrier : GCCBuiltin<"barrier">,
- BinaryIntNoRetInt;
-def int_AMDIL_barrier_global : GCCBuiltin<"barrierGlobal">,
- BinaryIntNoRetInt;
-def int_AMDIL_barrier_local : GCCBuiltin<"barrierLocal">,
- BinaryIntNoRetInt;
-def int_AMDIL_barrier_region : GCCBuiltin<"barrierRegion">,
- BinaryIntNoRetInt;
-def int_AMDIL_get_region_id : GCCBuiltin<"__amdil_get_region_id_int">,
- Intrinsic<[llvm_v4i32_ty], [], []>;
-def int_AMDIL_get_region_local_id : GCCBuiltin<"__amdil_get_region_local_id_int">,
- Intrinsic<[llvm_v4i32_ty], [], []>;
-def int_AMDIL_get_num_regions : GCCBuiltin<"__amdil_get_num_regions_int">,
- Intrinsic<[llvm_v4i32_ty], [], []>;
-def int_AMDIL_get_region_size : GCCBuiltin<"__amdil_get_region_size_int">,
- Intrinsic<[llvm_v4i32_ty], [], []>;
-}
-
-let isCall=1, isNotDuplicable=1 in {
- let Predicates=[hasRegionAS] in {
-def BARRIER_EGNI : BinaryOpNoRet<IL_OP_BARRIER, (outs),
- (ins GPRI32:$flag, GPRI32:$id),
- "fence_threads_memory_lds_gds_gws",
- [(int_AMDIL_barrier GPRI32:$flag, GPRI32:$id)]>;
-}
-let Predicates=[noRegionAS] in {
-def BARRIER_7XX : BinaryOpNoRet<IL_OP_BARRIER, (outs),
- (ins GPRI32:$flag, GPRI32:$id),
- "fence_threads_memory_lds",
- [(int_AMDIL_barrier GPRI32:$flag, GPRI32:$id)]>;
-}
-
-def BARRIER_LOCAL : BinaryOpNoRet<IL_OP_BARRIER_LOCAL, (outs),
- (ins GPRI32:$flag, GPRI32:$id),
- "fence_threads_lds",
- [(int_AMDIL_barrier_local GPRI32:$flag, GPRI32:$id)]>;
-
-def BARRIER_GLOBAL : BinaryOpNoRet<IL_OP_BARRIER_GLOBAL, (outs),
- (ins GPRI32:$flag, GPRI32:$id),
- "fence_threads_memory",
- [(int_AMDIL_barrier_global GPRI32:$flag, GPRI32:$id)]>;
-
-def BARRIER_REGION : BinaryOpNoRet<IL_OP_BARRIER_REGION, (outs),
- (ins GPRI32:$flag, GPRI32:$id),
- "fence_threads_gds",
- [(int_AMDIL_barrier_region GPRI32:$flag, GPRI32:$id)]>;
-}