blob: 002132873dd58abc9eb5de39757865e8be8cc777 [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
18#include <iosfwd>
19
20namespace llvm {
21
22class FunctionPass;
23class TargetMachine;
24
25// Here is where you would define factory methods for powerpc-specific
26// passes. For example:
Misha Brukman999d9cf2004-07-27 18:33:06 +000027FunctionPass *createPPCSimpleInstructionSelector(TargetMachine &TM);
Misha Brukman5dfe3a92004-06-21 16:55:25 +000028FunctionPass *createPPCCodePrinterPass(std::ostream &OS, TargetMachine &TM);
Misha Brukman999d9cf2004-07-27 18:33:06 +000029FunctionPass *createPPCBranchSelectionPass();
Misha Brukman5dfe3a92004-06-21 16:55:25 +000030} // end namespace llvm;
31
32// Defines symbolic names for PowerPC registers. This defines a mapping from
33// register name to register number.
34//
35#include "PowerPCGenRegisterNames.inc"
36
37// Defines symbolic names for the PowerPC instructions.
38//
39#include "PowerPCGenInstrNames.inc"
40
41#endif