1 //===-- MBlaze.h - Top-level interface for MBlaze ---------------*- 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 MBlaze back-end.
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_MBLAZE_H
16 #define TARGET_MBLAZE_H
18 #include "llvm/Target/TargetMachine.h"
21 class MBlazeTargetMachine
;
23 class MachineCodeEmitter
;
25 class TargetAsmBackend
;
26 class formatted_raw_ostream
;
28 MCCodeEmitter
*createMBlazeMCCodeEmitter(const Target
&,
32 TargetAsmBackend
*createMBlazeAsmBackend(const Target
&, const std::string
&);
34 FunctionPass
*createMBlazeISelDag(MBlazeTargetMachine
&TM
);
35 FunctionPass
*createMBlazeDelaySlotFillerPass(MBlazeTargetMachine
&TM
);
37 extern Target TheMBlazeTarget
;
38 } // end namespace llvm;
40 // Defines symbolic names for MBlaze registers. This defines a mapping from
41 // register name to register number.
42 #include "MBlazeGenRegisterNames.inc"
44 // Defines symbolic names for the MBlaze instructions.
45 #include "MBlazeGenInstrNames.inc"