2010-02-23 19:15:24 +00:00
|
|
|
//===-- MBlaze.h - Top-level interface for MBlaze ---------------*- 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 MBlaze back-end.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef TARGET_MBLAZE_H
|
|
|
|
#define TARGET_MBLAZE_H
|
|
|
|
|
2011-07-14 20:59:42 +00:00
|
|
|
#include "MCTargetDesc/MBlazeMCTargetDesc.h"
|
2010-02-23 19:15:24 +00:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class MBlazeTargetMachine;
|
|
|
|
class FunctionPass;
|
|
|
|
class MachineCodeEmitter;
|
2010-10-21 03:57:26 +00:00
|
|
|
class MCCodeEmitter;
|
2011-07-11 03:57:24 +00:00
|
|
|
class MCInstrInfo;
|
|
|
|
class MCSubtargetInfo;
|
2010-10-21 03:57:26 +00:00
|
|
|
class TargetAsmBackend;
|
2010-02-23 19:15:24 +00:00
|
|
|
class formatted_raw_ostream;
|
|
|
|
|
2011-07-11 03:57:24 +00:00
|
|
|
MCCodeEmitter *createMBlazeMCCodeEmitter(const MCInstrInfo &MCII,
|
|
|
|
const MCSubtargetInfo &STI,
|
2010-10-21 03:57:26 +00:00
|
|
|
MCContext &Ctx);
|
2011-07-11 03:57:24 +00:00
|
|
|
|
2010-10-21 03:57:26 +00:00
|
|
|
TargetAsmBackend *createMBlazeAsmBackend(const Target &, const std::string &);
|
|
|
|
|
2010-02-23 19:15:24 +00:00
|
|
|
FunctionPass *createMBlazeISelDag(MBlazeTargetMachine &TM);
|
|
|
|
FunctionPass *createMBlazeDelaySlotFillerPass(MBlazeTargetMachine &TM);
|
|
|
|
|
|
|
|
} // end namespace llvm;
|
|
|
|
|
|
|
|
#endif
|