1 //=-- SystemZ.h - Top-level interface for SystemZ representation -*- C++ -*-==//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in
11 // the LLVM SystemZ backend.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_TARGET_SystemZ_H
16 #define LLVM_TARGET_SystemZ_H
18 #include "llvm/Target/TargetMachine.h"
21 class SystemZTargetMachine;
26 // SystemZ specific condition code. These correspond to SYSTEMZ_*_COND in
27 // SystemZInstrInfo.td. They must be kept in synch.
46 FunctionPass *createSystemZISelDag(SystemZTargetMachine &TM,
47 CodeGenOpt::Level OptLevel);
48 FunctionPass *createSystemZCodePrinterPass(raw_ostream &o,
49 SystemZTargetMachine &tm,
50 CodeGenOpt::Level OptLevel,
53 } // end namespace llvm;
55 // Defines symbolic names for SystemZ registers.
56 // This defines a mapping from register name to register number.
57 #include "SystemZGenRegisterNames.inc"
59 // Defines symbolic names for the SystemZ instructions.
60 #include "SystemZGenInstrNames.inc"