diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:52:31 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:52:31 +0000 |
commit | ac4fb7f9773c8b225baa7284f7cd795983bc3c41 (patch) | |
tree | 06bc99d5159d1ccddcfc498dcf74860014cb6765 /llvm/lib/Target/SystemZ/SystemZ.h | |
parent | 11665a64b055a8962a2dc1d5e787b1fad9d49544 (diff) | |
download | bcm5719-llvm-ac4fb7f9773c8b225baa7284f7cd795983bc3c41.tar.gz bcm5719-llvm-ac4fb7f9773c8b225baa7284f7cd795983bc3c41.zip |
Conditional branches and comparisons
llvm-svn: 75947
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZ.h')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZ.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZ.h b/llvm/lib/Target/SystemZ/SystemZ.h index c58daa374c8..048dcea8d08 100644 --- a/llvm/lib/Target/SystemZ/SystemZ.h +++ b/llvm/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. |