diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:27:25 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:27:25 +0000 |
commit | c334c28b3b329c02f38f750bc6bcae47c36b609e (patch) | |
tree | f2e50f5fc4f197da062ff73bfeeeff2c34e61528 /llvm/lib/Target/SystemZ/SystemZ.h | |
parent | 0cceec520c6295c98b87e1b47799107a7e57e50f (diff) | |
download | bcm5719-llvm-c334c28b3b329c02f38f750bc6bcae47c36b609e.tar.gz bcm5719-llvm-c334c28b3b329c02f38f750bc6bcae47c36b609e.zip |
Let's start another backend :)
llvm-svn: 75909
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZ.h')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZ.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZ.h b/llvm/lib/Target/SystemZ/SystemZ.h new file mode 100644 index 00000000000..c58daa374c8 --- /dev/null +++ b/llvm/lib/Target/SystemZ/SystemZ.h @@ -0,0 +1,40 @@ +//=-- SystemZ.h - Top-level interface for SystemZ representation -*- C++ -*-==// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains the entry points for global functions defined in +// the LLVM SystemZ backend. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TARGET_SystemZ_H +#define LLVM_TARGET_SystemZ_H + +#include "llvm/Target/TargetMachine.h" + +namespace llvm { + class SystemZTargetMachine; + class FunctionPass; + class raw_ostream; + + 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. +// This defines a mapping from register name to register number. +#include "SystemZGenRegisterNames.inc" + +// Defines symbolic names for the SystemZ instructions. +#include "SystemZGenInstrNames.inc" + +#endif |