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 was developed by the LLVM research group and is distributed under
00006 // the University of Illinois Open Source 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 <iosfwd>
00019 
00020 namespace llvm {
00021 
00022   class AlphaTargetMachine;
00023   class FunctionPass;
00024   class TargetMachine;
00025   class MachineCodeEmitter;
00026 
00027   FunctionPass *createAlphaSimpleInstructionSelector(TargetMachine &TM);
00028   FunctionPass *createAlphaISelDag(TargetMachine &TM);
00029   FunctionPass *createAlphaCodePrinterPass(std::ostream &OS,
00030                                              TargetMachine &TM);
00031   FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM);
00032   FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM,
00033                                            MachineCodeEmitter &MCE);
00034 } // end namespace llvm;
00035 
00036 // Defines symbolic names for Alpha registers.  This defines a mapping from
00037 // register name to register number.
00038 //
00039 #include "AlphaGenRegisterNames.inc"
00040 
00041 // Defines symbolic names for the Alpha instructions.
00042 //
00043 #include "AlphaGenInstrNames.inc"
00044 
00045 #endif