summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUInstrInfo.h
diff options
context:
space:
mode:
authorApostolos Bartziokas <[email protected]>2012-07-26 15:00:20 -0400
committerTom Stellard <[email protected]>2012-08-15 18:35:25 +0000
commit040c2e04568e2fe9ec07167f5300a3dcdfebb04e (patch)
tree7391df5f3db29e84a59ffa2309a71532c0149787 /src/gallium/drivers/radeon/AMDGPUInstrInfo.h
parent3aaa209293a281e103ef71e3578fad042972e092 (diff)
radeon/llvm: Cleanup AMDGPUUtil.cpp
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUInstrInfo.h')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUInstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUInstrInfo.h b/src/gallium/drivers/radeon/AMDGPUInstrInfo.h
index 5bf3e454e11..7232c0beeee 100644
--- a/src/gallium/drivers/radeon/AMDGPUInstrInfo.h
+++ b/src/gallium/drivers/radeon/AMDGPUInstrInfo.h
@@ -25,6 +25,11 @@
#define GET_INSTRINFO_ENUM
#include "AMDGPUGenInstrInfo.inc"
+#define MO_FLAG_CLAMP (1 << 0)
+#define MO_FLAG_NEG (1 << 1)
+#define MO_FLAG_ABS (1 << 2)
+#define MO_FLAG_MASK (1 << 3)
+
namespace llvm {
class AMDGPUTargetMachine;