[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h
Brian Gaeke
gaeke at niobe.cs.uiuc.edu
Wed Aug 13 13:18:13 PDT 2003
Changes in directory llvm/include/llvm/Target:
TargetMachine.h updated: 1.31 -> 1.32
---
Log message:
addPassesToJITCompile and addPassesToEmitMachineCode now take a
FunctionPassManager, to support function-at-a-time compilation and
emission of code.
---
Diffs of the changes:
Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.31 llvm/include/llvm/Target/TargetMachine.h:1.32
--- llvm/include/llvm/Target/TargetMachine.h:1.31 Tue Jun 3 10:28:40 2003
+++ llvm/include/llvm/Target/TargetMachine.h Wed Aug 13 13:17:25 2003
@@ -19,6 +19,7 @@
class TargetOptInfo;
class MachineCodeEmitter;
class MRegisterInfo;
+class FunctionPassManager;
class PassManager;
class Pass;
@@ -79,7 +80,7 @@
/// implement a fast dynamic compiler for this target. Return true if this is
/// not supported for this target.
///
- virtual bool addPassesToJITCompile(PassManager &PM) { return true; }
+ virtual bool addPassesToJITCompile(FunctionPassManager &PM) { return true; }
/// addPassesToEmitAssembly - Add passes to the specified pass manager to get
/// assembly langage code emitted. Typically this will involve several steps
@@ -91,12 +92,12 @@
}
/// addPassesToEmitMachineCode - Add passes to the specified pass manager to
- /// get machine code emitted. This uses a MAchineCodeEmitter object to handle
+ /// get machine code emitted. This uses a MachineCodeEmitter object to handle
/// actually outputting the machine code and resolving things like the address
/// of functions. This method should returns true if machine code emission is
/// not supported.
///
- virtual bool addPassesToEmitMachineCode(PassManager &PM,
+ virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
MachineCodeEmitter &MCE) {
return true;
}
More information about the llvm-commits
mailing list