summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZ.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 13:52:31 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 13:52:31 +0000
commit4ec3e5ffd10b23c3614cd9a766c2a3ec1fe62ba4 (patch)
tree6e44f751d4627f9f08b9afa8dc12de0d2a650d6b /lib/Target/SystemZ/SystemZ.h
parentc7b71bede49dc1eae107c79a74b5c618c39506ac (diff)
downloadllvm-4ec3e5ffd10b23c3614cd9a766c2a3ec1fe62ba4.tar.gz
llvm-4ec3e5ffd10b23c3614cd9a766c2a3ec1fe62ba4.tar.bz2
llvm-4ec3e5ffd10b23c3614cd9a766c2a3ec1fe62ba4.tar.xz
Conditional branches and comparisons
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZ.h')
-rw-r--r--lib/Target/SystemZ/SystemZ.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZ.h b/lib/Target/SystemZ/SystemZ.h
index c58daa374c..048dcea8d0 100644
--- a/lib/Target/SystemZ/SystemZ.h
+++ b/lib/Target/SystemZ/SystemZ.h
@@ -22,12 +22,26 @@ namespace llvm {
class FunctionPass;
class raw_ostream;
+ namespace SystemZCC {
+ // SystemZ specific condition code. These correspond to SYSTEMZ_*_COND in
+ // SystemZInstrInfo.td. They must be kept in synch.
+ enum CondCodes {
+ E = 0,
+ NE = 1,
+ H = 2,
+ L = 3,
+ HE = 4,
+ LE = 5
+ };
+ }
+
FunctionPass *createSystemZISelDag(SystemZTargetMachine &TM,
CodeGenOpt::Level OptLevel);
FunctionPass *createSystemZCodePrinterPass(raw_ostream &o,
SystemZTargetMachine &tm,
CodeGenOpt::Level OptLevel,
bool verbose);
+
} // end namespace llvm;
// Defines symbolic names for SystemZ registers.