blob: 40725afcfefd64cd0662f6e76293868340dee221 [file] [log] [blame]
Misha Brukman2a8350a2005-02-05 02:24:26 +00001//===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
Misha Brukman4633f1c2005-04-21 23:13:11 +00002//
Andrew Lenharth304d0f32005-01-22 23:41:55 +00003// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Misha Brukman4633f1c2005-04-21 23:13:11 +00007//
Andrew Lenharth304d0f32005-01-22 23:41:55 +00008//===----------------------------------------------------------------------===//
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
Evan Cheng55fc2802006-07-25 20:40:54 +000022 class AlphaTargetMachine;
Andrew Lenharth304d0f32005-01-22 23:41:55 +000023 class FunctionPass;
24 class TargetMachine;
Andrew Lenharth0934ae02005-07-22 20:52:16 +000025 class MachineCodeEmitter;
Andrew Lenharth304d0f32005-01-22 23:41:55 +000026
27 FunctionPass *createAlphaSimpleInstructionSelector(TargetMachine &TM);
Andrew Lenharth4907d222005-10-20 00:28:31 +000028 FunctionPass *createAlphaISelDag(TargetMachine &TM);
Andrew Lenharth304d0f32005-01-22 23:41:55 +000029 FunctionPass *createAlphaCodePrinterPass(std::ostream &OS,
30 TargetMachine &TM);
31 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
Evan Cheng55fc2802006-07-25 20:40:54 +000032 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
33 MachineCodeEmitter &MCE);
Andrew Lenharth2ab804c2006-09-18 19:44:29 +000034 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
Andrew Lenharthf81173f2006-10-31 16:49:55 +000035 FunctionPass *createAlphaBranchSelectionPass();
Andrew Lenharth2ab804c2006-09-18 19:44:29 +000036
Andrew Lenharth304d0f32005-01-22 23:41:55 +000037} // 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