2005-02-05 02:24:26 +00:00
|
|
|
//===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
|
2005-04-21 23:13:11 +00:00
|
|
|
//
|
2005-01-22 23:41:55 +00:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-04-21 23:13:11 +00:00
|
|
|
//
|
2005-01-22 23:41:55 +00: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
|
|
|
|
|
2009-04-29 23:29:43 +00:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
2005-01-22 23:41:55 +00:00
|
|
|
namespace llvm {
|
|
|
|
|
2006-07-25 20:40:54 +00:00
|
|
|
class AlphaTargetMachine;
|
2005-01-22 23:41:55 +00:00
|
|
|
class FunctionPass;
|
2005-07-22 20:52:16 +00:00
|
|
|
class MachineCodeEmitter;
|
2009-07-06 05:09:34 +00:00
|
|
|
class ObjectCodeEmitter;
|
2009-07-14 20:18:05 +00:00
|
|
|
class formatted_raw_ostream;
|
2005-01-22 23:41:55 +00:00
|
|
|
|
2008-05-14 01:58:56 +00:00
|
|
|
FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
|
2005-01-22 23:41:55 +00:00
|
|
|
FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
|
2006-07-25 20:40:54 +00:00
|
|
|
FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
|
|
|
|
MachineCodeEmitter &MCE);
|
2009-05-30 20:51:52 +00:00
|
|
|
FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
|
2009-07-06 05:09:34 +00:00
|
|
|
JITCodeEmitter &JCE);
|
|
|
|
FunctionPass *createAlphaObjectCodeEmitterPass(AlphaTargetMachine &TM,
|
|
|
|
ObjectCodeEmitter &OCE);
|
2006-09-18 19:44:29 +00:00
|
|
|
FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
|
2006-10-31 16:49:55 +00:00
|
|
|
FunctionPass *createAlphaBranchSelectionPass();
|
2006-09-18 19:44:29 +00:00
|
|
|
|
2009-07-18 23:03:22 +00:00
|
|
|
extern Target TheAlphaTarget;
|
|
|
|
|
2005-01-22 23:41:55 +00: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
|