blob: 1b369066212c1637c2926575d3c868738e86779b [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);
27 FunctionPass *createAlphaCodePrinterPass(std::ostream &OS,
28 TargetMachine &TM);
29 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
Andrew Lenharth0934ae02005-07-22 20:52:16 +000030 FunctionPass *createAlphaCodeEmitterPass(MachineCodeEmitter &MCE);
Andrew Lenharth304d0f32005-01-22 23:41:55 +000031} // end namespace llvm;
32
33// Defines symbolic names for Alpha registers. This defines a mapping from
34// register name to register number.
35//
36#include "AlphaGenRegisterNames.inc"
37
38// Defines symbolic names for the Alpha instructions.
39//
40#include "AlphaGenInstrNames.inc"
41
42#endif