blob: 9c3a4f0c6b2427f5334d0b1486f73bf965043b2d [file] [log] [blame]
Misha Brukman5dfe3a92004-06-21 16:55:25 +00001//===-- 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 Begeman7a4fe9b2004-08-11 07:40:04 +000018#include <iosfwd>
19
Misha Brukman5dfe3a92004-06-21 16:55:25 +000020namespace llvm {
21
22class FunctionPass;
Nate Begeman7a4fe9b2004-08-11 07:40:04 +000023class TargetMachine;
Misha Brukman5dfe3a92004-06-21 16:55:25 +000024
Chris Lattner3ea93462004-08-06 06:58:50 +000025FunctionPass *createPowerPCPEI();
Misha Brukman999d9cf2004-07-27 18:33:06 +000026FunctionPass *createPPCBranchSelectionPass();
Nate Begeman7a4fe9b2004-08-11 07:40:04 +000027FunctionPass *createPPC32ISelSimple(TargetMachine &TM);
Nate Begeman7a4fe9b2004-08-11 07:40:04 +000028FunctionPass *createPPC32AsmPrinter(std::ostream &OS,TargetMachine &TM);
Misha Brukmanca9309f2004-08-11 23:42:15 +000029FunctionPass *createPPC64ISelSimple(TargetMachine &TM);
30FunctionPass *createPPC64AsmPrinter(std::ostream &OS,TargetMachine &TM);
Misha Brukman01458812004-08-11 00:11:25 +000031
Misha Brukman5dfe3a92004-06-21 16:55:25 +000032} // end namespace llvm;
33
34// Defines symbolic names for PowerPC registers. This defines a mapping from
35// register name to register number.
36//
37#include "PowerPCGenRegisterNames.inc"
38
39// Defines symbolic names for the PowerPC instructions.
40//
41#include "PowerPCGenInstrNames.inc"
42
43#endif