LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PowerPC.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 TargetMachine;
00024 
00025 FunctionPass *createPPCBranchSelectionPass();
00026 FunctionPass *createPPC32ISelSimple(TargetMachine &TM);
00027 FunctionPass *createPPC64ISelSimple(TargetMachine &TM);
00028 FunctionPass *createDarwinAsmPrinter(std::ostream &OS, TargetMachine &TM);
00029 FunctionPass *createAIXAsmPrinter(std::ostream &OS, TargetMachine &TM);
00030 
00031 } // end namespace llvm;
00032 
00033 // GCC #defines PPC on Linux but we use it as our namespace name
00034 #undef PPC
00035 
00036 // Defines symbolic names for PowerPC registers.  This defines a mapping from
00037 // register name to register number.
00038 //
00039 #include "PowerPCGenRegisterNames.inc"
00040 
00041 // Defines symbolic names for the PowerPC instructions.
00042 //
00043 #include "PowerPCGenInstrNames.inc"
00044 
00045 #endif