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 "MCTargetDesc/AlphaMCTargetDesc.h"
19 #include "llvm/Target/TargetMachine.h"
23 // These describe LDAx
25 static const int IMM_LOW = -32768;
26 static const int IMM_HIGH = 32767;
27 static const int IMM_MULT = 65536;
30 class AlphaTargetMachine;
32 class formatted_raw_ostream;
34 FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
35 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
36 FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
38 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
39 FunctionPass *createAlphaBranchSelectionPass();
41 } // end namespace llvm;