blob: f62270dd88f2d8269c5806d610f7494d4909d8f5 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the entry points for global functions defined in the LLVM
11// Alpha back-end.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef TARGET_ALPHA_H
16#define TARGET_ALPHA_H
17
18#include <iosfwd>
19
20namespace llvm {
21
22 class AlphaTargetMachine;
23 class FunctionPass;
24 class TargetMachine;
25 class MachineCodeEmitter;
Owen Anderson847b99b2008-08-21 00:14:44 +000026 class raw_ostream;
Dan Gohmanf17a25c2007-07-18 16:29:46 +000027
Dan Gohmanb41dfba2008-05-14 01:58:56 +000028 FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
Owen Anderson847b99b2008-08-21 00:14:44 +000029 FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS,
Dan Gohmanf17a25c2007-07-18 16:29:46 +000030 TargetMachine &TM);
31 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
32 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
33 MachineCodeEmitter &MCE);
34 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
35 FunctionPass *createAlphaBranchSelectionPass();
36
37} // end namespace llvm;
38
39// Defines symbolic names for Alpha registers. This defines a mapping from
40// register name to register number.
41//
42#include "AlphaGenRegisterNames.inc"
43
44// Defines symbolic names for the Alpha instructions.
45//
46#include "AlphaGenInstrNames.inc"
47
48#endif