Misha Brukman | 5dfe3a9 | 2004-06-21 16:55:25 +0000 | [diff] [blame] | 1 | //===-- PowerPC.h - Top-level interface for PowerPC representation -*- C++ -*-// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 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. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file contains the entry points for global functions defined in the LLVM |
| 11 | // PowerPC back-end. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef TARGET_POWERPC_H |
| 16 | #define TARGET_POWERPC_H |
| 17 | |
Nate Begeman | 7a4fe9b | 2004-08-11 07:40:04 +0000 | [diff] [blame] | 18 | #include <iosfwd> |
| 19 | |
Misha Brukman | 5dfe3a9 | 2004-06-21 16:55:25 +0000 | [diff] [blame] | 20 | namespace llvm { |
| 21 | |
| 22 | class FunctionPass; |
Nate Begeman | 7a4fe9b | 2004-08-11 07:40:04 +0000 | [diff] [blame] | 23 | class TargetMachine; |
Misha Brukman | 5dfe3a9 | 2004-06-21 16:55:25 +0000 | [diff] [blame] | 24 | |
Misha Brukman | 999d9cf | 2004-07-27 18:33:06 +0000 | [diff] [blame] | 25 | FunctionPass *createPPCBranchSelectionPass(); |
Nate Begeman | 7a4fe9b | 2004-08-11 07:40:04 +0000 | [diff] [blame] | 26 | FunctionPass *createPPC32ISelSimple(TargetMachine &TM); |
Misha Brukman | ca9309f | 2004-08-11 23:42:15 +0000 | [diff] [blame] | 27 | FunctionPass *createPPC64ISelSimple(TargetMachine &TM); |
Nate Begeman | ed42853 | 2004-09-04 05:00:00 +0000 | [diff] [blame] | 28 | FunctionPass *createDarwinAsmPrinter(std::ostream &OS, TargetMachine &TM); |
| 29 | FunctionPass *createAIXAsmPrinter(std::ostream &OS, TargetMachine &TM); |
Misha Brukman | 0145881 | 2004-08-11 00:11:25 +0000 | [diff] [blame] | 30 | |
Misha Brukman | 5dfe3a9 | 2004-06-21 16:55:25 +0000 | [diff] [blame] | 31 | } // end namespace llvm; |
| 32 | |
Misha Brukman | fc25659 | 2004-11-14 20:34:01 +0000 | [diff] [blame^] | 33 | // GCC #defines PPC on Linux but we use it as our namespace name |
| 34 | #undef PPC |
| 35 | |
Misha Brukman | 5dfe3a9 | 2004-06-21 16:55:25 +0000 | [diff] [blame] | 36 | // Defines symbolic names for PowerPC registers. This defines a mapping from |
| 37 | // register name to register number. |
| 38 | // |
| 39 | #include "PowerPCGenRegisterNames.inc" |
| 40 | |
| 41 | // Defines symbolic names for the PowerPC instructions. |
| 42 | // |
| 43 | #include "PowerPCGenInstrNames.inc" |
| 44 | |
| 45 | #endif |