mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Add comments describing how you would add prototypes for factory methods for
PowerPC-specific passes here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11073 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d62c896a5
commit
b77232d1fc
@ -15,6 +15,21 @@
|
|||||||
#ifndef TARGET_POWERPC_H
|
#ifndef TARGET_POWERPC_H
|
||||||
#define TARGET_POWERPC_H
|
#define TARGET_POWERPC_H
|
||||||
|
|
||||||
|
#include <iosfwd>
|
||||||
|
|
||||||
|
namespace llvm {
|
||||||
|
|
||||||
|
class FunctionPass;
|
||||||
|
class TargetMachine;
|
||||||
|
|
||||||
|
// Here is where you would define factory methods for powerpc-specific
|
||||||
|
// passes. For example:
|
||||||
|
// FunctionPass *createPowerPCSimpleInstructionSelector (TargetMachine &TM);
|
||||||
|
// FunctionPass *createPowerPCCodePrinterPass(std::ostream &OS,
|
||||||
|
// TargetMachine &TM);
|
||||||
|
|
||||||
|
} // end namespace llvm;
|
||||||
|
|
||||||
// Defines symbolic names for PowerPC registers. This defines a mapping from
|
// Defines symbolic names for PowerPC registers. This defines a mapping from
|
||||||
// register name to register number.
|
// register name to register number.
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user