[llvm-commits] CVS: llvm/include/llvm/Target/MachineFrameInfo.h MachineInstrInfo.h
Misha Brukman
brukman at neo.cs.uiuc.edu
Sun Oct 27 18:27:01 PST 2002
Changes in directory llvm/include/llvm/Target:
MachineFrameInfo.h updated: 1.5 -> 1.6
MachineInstrInfo.h updated: 1.23 -> 1.24
---
Log message:
Changed `MachineCodeForMethod' to `MachineFunction'.
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MachineFrameInfo.h
diff -u llvm/include/llvm/Target/MachineFrameInfo.h:1.5 llvm/include/llvm/Target/MachineFrameInfo.h:1.6
--- llvm/include/llvm/Target/MachineFrameInfo.h:1.5 Mon Sep 16 10:57:43 2002
+++ llvm/include/llvm/Target/MachineFrameInfo.h Sun Oct 27 18:26:17 2002
@@ -10,7 +10,7 @@
#include "Support/NonCopyable.h"
#include <vector>
-class MachineCodeForMethod;
+class MachineFunction;
class TargetMachine;
struct MachineFrameInfo : public NonCopyableV {
@@ -41,24 +41,24 @@
// The first few methods have default machine-independent implementations.
// The rest must be implemented by the machine-specific subclass.
//
- virtual int getIncomingArgOffset (MachineCodeForMethod& mcInfo,
+ virtual int getIncomingArgOffset (MachineFunction& mcInfo,
unsigned argNum) const;
- virtual int getOutgoingArgOffset (MachineCodeForMethod& mcInfo,
+ virtual int getOutgoingArgOffset (MachineFunction& mcInfo,
unsigned argNum) const;
- virtual int getFirstIncomingArgOffset (MachineCodeForMethod& mcInfo,
+ virtual int getFirstIncomingArgOffset (MachineFunction& mcInfo,
bool& growUp) const=0;
- virtual int getFirstOutgoingArgOffset (MachineCodeForMethod& mcInfo,
+ virtual int getFirstOutgoingArgOffset (MachineFunction& mcInfo,
bool& growUp) const=0;
- virtual int getFirstOptionalOutgoingArgOffset (MachineCodeForMethod&,
+ virtual int getFirstOptionalOutgoingArgOffset (MachineFunction&,
bool& growUp) const=0;
- virtual int getFirstAutomaticVarOffset (MachineCodeForMethod& mcInfo,
+ virtual int getFirstAutomaticVarOffset (MachineFunction& mcInfo,
bool& growUp) const=0;
- virtual int getRegSpillAreaOffset (MachineCodeForMethod& mcInfo,
+ virtual int getRegSpillAreaOffset (MachineFunction& mcInfo,
bool& growUp) const=0;
- virtual int getTmpAreaOffset (MachineCodeForMethod& mcInfo,
+ virtual int getTmpAreaOffset (MachineFunction& mcInfo,
bool& growUp) const=0;
- virtual int getDynamicAreaOffset (MachineCodeForMethod& mcInfo,
+ virtual int getDynamicAreaOffset (MachineFunction& mcInfo,
bool& growUp) const=0;
//
Index: llvm/include/llvm/Target/MachineInstrInfo.h
diff -u llvm/include/llvm/Target/MachineInstrInfo.h:1.23 llvm/include/llvm/Target/MachineInstrInfo.h:1.24
--- llvm/include/llvm/Target/MachineInstrInfo.h:1.23 Thu Oct 24 17:34:41 2002
+++ llvm/include/llvm/Target/MachineInstrInfo.h Sun Oct 27 18:26:17 2002
@@ -275,7 +275,7 @@
// The generated instructions are returned in `mvec'.
// Any temp. registers (TmpInstruction) created are recorded in mcfi.
// Symbolic constants or constants that must be accessed from memory
- // are added to the constant pool via MachineCodeForMethod::get(F).
+ // are added to the constant pool via MachineFunction::get(F).
//
virtual void CreateCodeToLoadConst(const TargetMachine& target,
Function* F,
More information about the llvm-commits
mailing list