LLVM API Documentation

Alpha.h

Go to the documentation of this file.
00001 //===-- Alpha.h - Top-level interface for Alpha representation --*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains the entry points for global functions defined in the LLVM
00011 // Alpha back-end.
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #ifndef TARGET_ALPHA_H
00016 #define TARGET_ALPHA_H
00017 
00018 #include "llvm/Target/TargetMachine.h"
00019 
00020 namespace llvm {
00021 
00022   class AlphaTargetMachine;
00023   class FunctionPass;
00024   class MachineCodeEmitter;
00025   class ObjectCodeEmitter;
00026   class formatted_raw_ostream;
00027 
00028   FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM);
00029   FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
00030   FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
00031                                            MachineCodeEmitter &MCE);
00032   FunctionPass *createAlphaJITCodeEmitterPass(AlphaTargetMachine &TM,
00033                                               JITCodeEmitter &JCE);
00034   FunctionPass *createAlphaObjectCodeEmitterPass(AlphaTargetMachine &TM,
00035                                                  ObjectCodeEmitter &OCE);
00036   FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm);
00037   FunctionPass *createAlphaBranchSelectionPass();
00038 
00039   extern Target TheAlphaTarget;
00040 
00041 } // end namespace llvm;
00042 
00043 // Defines symbolic names for Alpha registers.  This defines a mapping from
00044 // register name to register number.
00045 //
00046 #include "AlphaGenRegisterNames.inc"
00047 
00048 // Defines symbolic names for the Alpha instructions.
00049 //
00050 #include "AlphaGenInstrNames.inc"
00051 
00052 #endif