LLVM API Documentation

PPC.h

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