2005-02-05 10:24:26 +08:00
|
|
|
//===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
|
2005-04-22 07:13:11 +08:00
|
|
|
//
|
2005-01-23 07:41:55 +08:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-30 04:36:04 +08:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-04-22 07:13:11 +08:00
|
|
|
//
|
2005-01-23 07:41:55 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the entry points for global functions defined in the LLVM
|
|
|
|
// Alpha back-end.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef TARGET_ALPHA_H
|
|
|
|
#define TARGET_ALPHA_H
|
|
|
|
|
|
|
|
#include <iosfwd>
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2006-07-26 04:40:54 +08:00
|
|
|
class AlphaTargetMachine;
|
2005-01-23 07:41:55 +08:00
|
|
|
class FunctionPass;
|
|
|
|
class TargetMachine;
|
2005-07-23 04:52:16 +08:00
|
|
|
class MachineCodeEmitter;
|
2008-08-21 08:14:44 +08:00
|
|
|
class raw_ostream;
|
2005-01-23 07:41:55 +08:00
|
|
|
|
2008-05-14 09:58:56 +08:00
|
|
|
FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
|
2008-08-21 08:14:44 +08:00
|
|
|
FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS,
|
2005-01-23 07:41:55 +08:00
|
|
|
TargetMachine &TM);
|
|
|
|
FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
|
2006-07-26 04:40:54 +08:00
|
|
|
FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
|
|
|
|
MachineCodeEmitter &MCE);
|
2006-09-19 03:44:29 +08:00
|
|
|
FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
|
2006-11-01 00:49:55 +08:00
|
|
|
FunctionPass *createAlphaBranchSelectionPass();
|
2006-09-19 03:44:29 +08:00
|
|
|
|
2005-01-23 07:41:55 +08:00
|
|
|
} // end namespace llvm;
|
|
|
|
|
|
|
|
// Defines symbolic names for Alpha registers. This defines a mapping from
|
|
|
|
// register name to register number.
|
|
|
|
//
|
|
|
|
#include "AlphaGenRegisterNames.inc"
|
|
|
|
|
|
|
|
// Defines symbolic names for the Alpha instructions.
|
|
|
|
//
|
|
|
|
#include "AlphaGenInstrNames.inc"
|
|
|
|
|
|
|
|
#endif
|