llvm-project/llvm/lib/Target/PowerPC/PPC.h

48 lines
1.5 KiB
C
Raw Normal View History

//===-- PPC.h - Top-level interface for PowerPC Target ----------*- C++ -*-===//
//
2004-06-22 00:55:25 +08:00
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
2004-06-22 00:55:25 +08:00
//===----------------------------------------------------------------------===//
//
// This file contains the entry points for global functions defined in the LLVM
// PowerPC back-end.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TARGET_POWERPC_H
#define LLVM_TARGET_POWERPC_H
2004-06-22 00:55:25 +08:00
// GCC #defines PPC on Linux but we use it as our namespace name
#undef PPC
#include "llvm/Target/TargetMachine.h"
namespace llvm {
class PPCTargetMachine;
class FunctionPass;
class MachineCodeEmitter;
class raw_ostream;
FunctionPass *createPPCBranchSelectionPass();
FunctionPass *createPPCISelDag(PPCTargetMachine &TM);
FunctionPass *createPPCAsmPrinterPass(raw_ostream &OS,
PPCTargetMachine &TM,
CodeGenOpt::Level OptLevel, bool Verbose);
FunctionPass *createPPCCodeEmitterPass(PPCTargetMachine &TM,
MachineCodeEmitter &MCE);
2004-06-22 00:55:25 +08:00
} // end namespace llvm;
// Defines symbolic names for PowerPC registers. This defines a mapping from
// register name to register number.
//
#include "PPCGenRegisterNames.inc"
2004-06-22 00:55:25 +08:00
// Defines symbolic names for the PowerPC instructions.
//
#include "PPCGenInstrNames.inc"
2004-06-22 00:55:25 +08:00
#endif