blob: d69d1b7ecad98fdf66aed6263c08386f33e02b41 [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;
26
Dan Gohmanb41dfba2008-05-14 01:58:56 +000027 FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
Dan Gohmanf17a25c2007-07-18 16:29:46 +000028 FunctionPass *createAlphaCodePrinterPass(std::ostream &OS,
29 TargetMachine &TM);
30 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
31 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
32 MachineCodeEmitter &MCE);
33 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
34 FunctionPass *createAlphaBranchSelectionPass();
35
36} // end namespace llvm;
37
38// Defines symbolic names for Alpha registers. This defines a mapping from
39// register name to register number.
40//
41#include "AlphaGenRegisterNames.inc"
42
43// Defines symbolic names for the Alpha instructions.
44//
45#include "AlphaGenInstrNames.inc"
46
47#endif