1 //===-- PowerPC.h - Top-level interface for PowerPC representation -*- C++ -*-//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in the LLVM
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_POWERPC_H
16 #define TARGET_POWERPC_H
23 class PPCTargetMachine;
24 FunctionPass *createPPCBranchSelectionPass();
25 FunctionPass *createPPCISelDag(PPCTargetMachine &TM);
26 FunctionPass *createDarwinAsmPrinter(std::ostream &OS, PPCTargetMachine &TM);
27 } // end namespace llvm;
29 // GCC #defines PPC on Linux but we use it as our namespace name
32 // Defines symbolic names for PowerPC registers. This defines a mapping from
33 // register name to register number.
35 #include "PPCGenRegisterNames.inc"
37 // Defines symbolic names for the PowerPC instructions.
39 #include "PPCGenInstrNames.inc"