pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / lib / Target / Alpha / Alpha.h
blobb8a06459e1cdec9e903f4b1751b8cb58b1f6dcf9
1 //===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the entry points for global functions defined in the LLVM
11 // Alpha back-end.
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_ALPHA_H
16 #define TARGET_ALPHA_H
18 #include "llvm/Target/TargetMachine.h"
20 namespace llvm {
22 class AlphaTargetMachine;
23 class FunctionPass;
24 class MachineCodeEmitter;
25 class ObjectCodeEmitter;
26 class formatted_raw_ostream;
28 FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
29 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
30 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
31 MachineCodeEmitter &MCE);
32 FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
33 JITCodeEmitter &JCE);
34 FunctionPass *createAlphaObjectCodeEmitterPass(AlphaTargetMachine &TM,
35 ObjectCodeEmitter &OCE);
36 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
37 FunctionPass *createAlphaBranchSelectionPass();
39 extern Target TheAlphaTarget;
41 } // end namespace llvm;
43 // Defines symbolic names for Alpha registers. This defines a mapping from
44 // register name to register number.
46 #include "AlphaGenRegisterNames.inc"
48 // Defines symbolic names for the Alpha instructions.
50 #include "AlphaGenInstrNames.inc"
52 #endif