blob: 6dc412b815e0fc2095a4968a143a99477abbbe38 [file] [log] [blame]
Misha Brukmanffe99682005-02-05 02:24:26 +00001//===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
Misha Brukman89b8c8d2005-04-21 23:13:11 +00002//
Andrew Lenhartha1b5ca22005-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 Brukman89b8c8d2005-04-21 23:13:11 +00007//
Andrew Lenhartha1b5ca22005-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 Chengf6acb342006-07-25 20:40:54 +000022 class AlphaTargetMachine;
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000023 class FunctionPass;
24 class TargetMachine;
Andrew Lenharth55d04512005-07-22 20:52:16 +000025 class MachineCodeEmitter;
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000026
27 FunctionPass *createAlphaSimpleInstructionSelector(TargetMachine &TM);
Andrew Lenharth7b698672005-10-20 00:28:31 +000028 FunctionPass *createAlphaISelDag(TargetMachine &TM);
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000029 FunctionPass *createAlphaCodePrinterPass(std::ostream &OS,
30 TargetMachine &TM);
31 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
Evan Chengf6acb342006-07-25 20:40:54 +000032 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
33 MachineCodeEmitter &MCE);
Andrew Lenhartha1b5ca22005-01-22 23:41:55 +000034} // end namespace llvm;
35
36// Defines symbolic names for Alpha registers. This defines a mapping from
37// register name to register number.
38//
39#include "AlphaGenRegisterNames.inc"
40
41// Defines symbolic names for the Alpha instructions.
42//
43#include "AlphaGenInstrNames.inc"
44
45#endif