[llvm-commits] CVS: llvm/include/llvm/CodeGen/InstrScheduling.h InstrSelection.h PeepholeOpts.h RegisterAllocation.h
Brian Gaeke
gaeke at niobe.cs.uiuc.edu
Thu Aug 14 01:10:00 PDT 2003
Changes in directory llvm/include/llvm/CodeGen:
InstrScheduling.h updated: 1.10 -> 1.11
InstrSelection.h updated: 1.25 -> 1.26
PeepholeOpts.h updated: 1.1 -> 1.2
RegisterAllocation.h updated: 1.4 -> 1.5
---
Log message:
Factory methods for function passes now return type FunctionPass *.
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/InstrScheduling.h
diff -u llvm/include/llvm/CodeGen/InstrScheduling.h:1.10 llvm/include/llvm/CodeGen/InstrScheduling.h:1.11
--- llvm/include/llvm/CodeGen/InstrScheduling.h:1.10 Tue Oct 29 11:15:01 2002
+++ llvm/include/llvm/CodeGen/InstrScheduling.h Thu Aug 14 01:09:27 2003
@@ -8,7 +8,7 @@
#ifndef LLVM_CODEGEN_INSTR_SCHEDULING_H
#define LLVM_CODEGEN_INSTR_SCHEDULING_H
-class Pass;
+class FunctionPass;
class TargetMachine;
//---------------------------------------------------------------------------
@@ -21,6 +21,6 @@
// are still in SSA form.
//---------------------------------------------------------------------------
-Pass *createInstructionSchedulingWithSSAPass(const TargetMachine &Target);
+FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &Target);
#endif
Index: llvm/include/llvm/CodeGen/InstrSelection.h
diff -u llvm/include/llvm/CodeGen/InstrSelection.h:1.25 llvm/include/llvm/CodeGen/InstrSelection.h:1.26
--- llvm/include/llvm/CodeGen/InstrSelection.h:1.25 Mon Jun 30 16:58:30 2003
+++ llvm/include/llvm/CodeGen/InstrSelection.h Thu Aug 14 01:09:27 2003
@@ -15,7 +15,7 @@
class InstructionNode;
class TargetMachine;
class MachineCodeForInstruction;
-class Pass;
+class FunctionPass;
//===--------------------- Required Functions ---------------------------------
// Target-dependent functions that MUST be implemented for each target.
@@ -43,7 +43,7 @@
// Return a pass that performs machine dependant instruction selection.
//---------------------------------------------------------------------------
-Pass *createInstructionSelectionPass(TargetMachine &Target);
+FunctionPass *createInstructionSelectionPass(TargetMachine &Target);
//************************ Exported Data Types *****************************/
Index: llvm/include/llvm/CodeGen/PeepholeOpts.h
diff -u llvm/include/llvm/CodeGen/PeepholeOpts.h:1.1 llvm/include/llvm/CodeGen/PeepholeOpts.h:1.2
--- llvm/include/llvm/CodeGen/PeepholeOpts.h:1.1 Fri Sep 20 11:33:03 2002
+++ llvm/include/llvm/CodeGen/PeepholeOpts.h Thu Aug 14 01:09:27 2003
@@ -8,8 +8,8 @@
#define LLVM_CODEGEN_PEEPHOLE_OPTS_H
class TargetMachine;
-class Pass;
+class FunctionPass;
-Pass *createPeepholeOptsPass(TargetMachine &Target);
+FunctionPass *createPeepholeOptsPass(TargetMachine &Target);
#endif
Index: llvm/include/llvm/CodeGen/RegisterAllocation.h
diff -u llvm/include/llvm/CodeGen/RegisterAllocation.h:1.4 llvm/include/llvm/CodeGen/RegisterAllocation.h:1.5
--- llvm/include/llvm/CodeGen/RegisterAllocation.h:1.4 Tue Oct 29 10:34:12 2002
+++ llvm/include/llvm/CodeGen/RegisterAllocation.h Thu Aug 14 01:09:27 2003
@@ -7,13 +7,13 @@
#ifndef LLVM_CODEGEN_REGISTERALLOCATION_H
#define LLVM_CODEGEN_REGISTERALLOCATION_H
-class Pass;
+class FunctionPass;
class TargetMachine;
//----------------------------------------------------------------------------
// Entry point for register allocation for a module
//----------------------------------------------------------------------------
-Pass *getRegisterAllocator(TargetMachine &T);
+FunctionPass *getRegisterAllocator(TargetMachine &T);
#endif
More information about the llvm-commits
mailing list