Wesley Peck | a70f28c | 2010-02-23 19:15:24 +0000 | [diff] [blame] | 1 | //===-- MBlaze.h - Top-level interface for MBlaze ---------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file contains the entry points for global functions defined in |
| 11 | // the LLVM MBlaze back-end. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef TARGET_MBLAZE_H |
| 16 | #define TARGET_MBLAZE_H |
| 17 | |
Evan Cheng | c60f9b7 | 2011-07-14 20:59:42 +0000 | [diff] [blame^] | 18 | #include "MCTargetDesc/MBlazeMCTargetDesc.h" |
Wesley Peck | a70f28c | 2010-02-23 19:15:24 +0000 | [diff] [blame] | 19 | #include "llvm/Target/TargetMachine.h" |
| 20 | |
| 21 | namespace llvm { |
| 22 | class MBlazeTargetMachine; |
| 23 | class FunctionPass; |
| 24 | class MachineCodeEmitter; |
Wesley Peck | 4e9141f | 2010-10-21 03:57:26 +0000 | [diff] [blame] | 25 | class MCCodeEmitter; |
Evan Cheng | 59ee62d | 2011-07-11 03:57:24 +0000 | [diff] [blame] | 26 | class MCInstrInfo; |
| 27 | class MCSubtargetInfo; |
Wesley Peck | 4e9141f | 2010-10-21 03:57:26 +0000 | [diff] [blame] | 28 | class TargetAsmBackend; |
Wesley Peck | a70f28c | 2010-02-23 19:15:24 +0000 | [diff] [blame] | 29 | class formatted_raw_ostream; |
| 30 | |
Evan Cheng | 59ee62d | 2011-07-11 03:57:24 +0000 | [diff] [blame] | 31 | MCCodeEmitter *createMBlazeMCCodeEmitter(const MCInstrInfo &MCII, |
| 32 | const MCSubtargetInfo &STI, |
Wesley Peck | 4e9141f | 2010-10-21 03:57:26 +0000 | [diff] [blame] | 33 | MCContext &Ctx); |
Evan Cheng | 59ee62d | 2011-07-11 03:57:24 +0000 | [diff] [blame] | 34 | |
Wesley Peck | 4e9141f | 2010-10-21 03:57:26 +0000 | [diff] [blame] | 35 | TargetAsmBackend *createMBlazeAsmBackend(const Target &, const std::string &); |
| 36 | |
Wesley Peck | a70f28c | 2010-02-23 19:15:24 +0000 | [diff] [blame] | 37 | FunctionPass *createMBlazeISelDag(MBlazeTargetMachine &TM); |
| 38 | FunctionPass *createMBlazeDelaySlotFillerPass(MBlazeTargetMachine &TM); |
| 39 | |
Wesley Peck | a70f28c | 2010-02-23 19:15:24 +0000 | [diff] [blame] | 40 | } // end namespace llvm; |
| 41 | |
Wesley Peck | a70f28c | 2010-02-23 19:15:24 +0000 | [diff] [blame] | 42 | #endif |