LLVM API Documentation
00001 //===-- PPC.h - Top-level interface for PowerPC Target ----------*- 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 // PowerPC back-end. 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #ifndef LLVM_TARGET_POWERPC_H 00016 #define LLVM_TARGET_POWERPC_H 00017 00018 // GCC #defines PPC on Linux but we use it as our namespace name 00019 #undef PPC 00020 00021 namespace llvm { 00022 class PPCTargetMachine; 00023 class FunctionPass; 00024 class MachineCodeEmitter; 00025 class raw_ostream; 00026 00027 FunctionPass *createPPCBranchSelectionPass(); 00028 FunctionPass *createPPCISelDag(PPCTargetMachine &TM); 00029 FunctionPass *createPPCAsmPrinterPass(raw_ostream &OS, 00030 PPCTargetMachine &TM); 00031 FunctionPass *createPPCCodeEmitterPass(PPCTargetMachine &TM, 00032 MachineCodeEmitter &MCE); 00033 } // end namespace llvm; 00034 00035 // Defines symbolic names for PowerPC registers. This defines a mapping from 00036 // register name to register number. 00037 // 00038 #include "PPCGenRegisterNames.inc" 00039 00040 // Defines symbolic names for the PowerPC instructions. 00041 // 00042 #include "PPCGenInstrNames.inc" 00043 00044 #endif