1 //===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in the LLVM
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_ALPHA_H
16 #define TARGET_ALPHA_H
18 #include "llvm/Target/TargetMachine.h"
22 class AlphaTargetMachine;
24 class MachineCodeEmitter;
27 FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
28 FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS,
30 CodeGenOpt::Level OptLevel,
32 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
33 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
34 MachineCodeEmitter &MCE);
35 FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
37 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
38 FunctionPass *createAlphaBranchSelectionPass();
40 } // end namespace llvm;
42 // Defines symbolic names for Alpha registers. This defines a mapping from
43 // register name to register number.
45 #include "AlphaGenRegisterNames.inc"
47 // Defines symbolic names for the Alpha instructions.
49 #include "AlphaGenInstrNames.inc"