LLVM API Documentation
00001 //=-- SystemZ.h - Top-level interface for SystemZ representation -*- C++ -*-==// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file contains the entry points for global functions defined in 00011 // the LLVM SystemZ backend. 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #ifndef LLVM_TARGET_SystemZ_H 00016 #define LLVM_TARGET_SystemZ_H 00017 00018 #include "llvm/Target/TargetMachine.h" 00019 00020 namespace llvm { 00021 class SystemZTargetMachine; 00022 class FunctionPass; 00023 class formatted_raw_ostream; 00024 00025 namespace SystemZCC { 00026 // SystemZ specific condition code. These correspond to SYSTEMZ_*_COND in 00027 // SystemZInstrInfo.td. They must be kept in synch. 00028 enum CondCodes { 00029 O = 0, 00030 H = 1, 00031 NLE = 2, 00032 L = 3, 00033 NHE = 4, 00034 LH = 5, 00035 NE = 6, 00036 E = 7, 00037 NLH = 8, 00038 HE = 9, 00039 NL = 10, 00040 LE = 11, 00041 NH = 12, 00042 NO = 13, 00043 INVALID = -1 00044 }; 00045 } 00046 00047 FunctionPass *createSystemZISelDag(SystemZTargetMachine &TM, 00048 CodeGenOpt::Level OptLevel); 00049 00050 extern Target TheSystemZTarget; 00051 00052 } // end namespace llvm; 00053 00054 // Defines symbolic names for SystemZ registers. 00055 // This defines a mapping from register name to register number. 00056 #include "SystemZGenRegisterNames.inc" 00057 00058 // Defines symbolic names for the SystemZ instructions. 00059 #include "SystemZGenInstrNames.inc" 00060 00061 #endif