blob: 8884af224d4c7117a8b6611e341e6bbbe7199373 [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//
5// This file was developed by the LLVM research group and is distributed under
6// the University of Illinois Open Source 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
22 class FunctionPass;
23 class TargetMachine;
Andrew Lenharth0934ae02005-07-22 20:52:16 +000024 class MachineCodeEmitter;
Andrew Lenharth304d0f32005-01-22 23:41:55 +000025
26 FunctionPass *createAlphaSimpleInstructionSelector(TargetMachine &TM);
Andrew Lenharth4907d222005-10-20 00:28:31 +000027 FunctionPass *createAlphaISelDag(TargetMachine &TM);
Andrew Lenharth304d0f32005-01-22 23:41:55 +000028 FunctionPass *createAlphaCodePrinterPass(std::ostream &OS,
29 TargetMachine &TM);
30 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
Andrew Lenharth0934ae02005-07-22 20:52:16 +000031 FunctionPass *createAlphaCodeEmitterPass(MachineCodeEmitter &MCE);
Andrew Lenharth304d0f32005-01-22 23:41:55 +000032} // end namespace llvm;
33
34// Defines symbolic names for Alpha registers. This defines a mapping from
35// register name to register number.
36//
37#include "AlphaGenRegisterNames.inc"
38
39// Defines symbolic names for the Alpha instructions.
40//
41#include "AlphaGenInstrNames.inc"
42
43#endif