LLVM API Documentation
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 namespace llvm { 00019 00020 class AlphaTargetMachine; 00021 class FunctionPass; 00022 class TargetMachine; 00023 class MachineCodeEmitter; 00024 class raw_ostream; 00025 00026 FunctionPass *createAlphaISelDag(AlphaTargetMachine &TM); 00027 FunctionPass *createAlphaCodePrinterPass(raw_ostream &OS, 00028 TargetMachine &TM); 00029 FunctionPass *createAlphaPatternInstructionSelector(TargetMachine &TM); 00030 FunctionPass *createAlphaCodeEmitterPass(AlphaTargetMachine &TM, 00031 MachineCodeEmitter &MCE); 00032 FunctionPass *createAlphaLLRPPass(AlphaTargetMachine &tm); 00033 FunctionPass *createAlphaBranchSelectionPass(); 00034 00035 } // end namespace llvm; 00036 00037 // Defines symbolic names for Alpha registers. This defines a mapping from 00038 // register name to register number. 00039 // 00040 #include "AlphaGenRegisterNames.inc" 00041 00042 // Defines symbolic names for the Alpha instructions. 00043 // 00044 #include "AlphaGenInstrNames.inc" 00045 00046 #endif