[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineFrameInfo.h MachineFunction.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 28 15:09:02 PST 2002
Changes in directory llvm/include/llvm/CodeGen:
MachineFrameInfo.h updated: 1.1 -> 1.2
MachineFunction.h updated: 1.23 -> 1.24
---
Log message:
Rename FunctionFrameInfo to MachineFrameInfo
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/MachineFrameInfo.h
diff -u llvm/include/llvm/CodeGen/MachineFrameInfo.h:1.1 llvm/include/llvm/CodeGen/MachineFrameInfo.h:1.2
--- llvm/include/llvm/CodeGen/MachineFrameInfo.h:1.1 Sat Dec 28 14:07:47 2002
+++ llvm/include/llvm/CodeGen/MachineFrameInfo.h Sat Dec 28 15:08:25 2002
@@ -1,6 +1,6 @@
-//===-- CodeGen/FunctionFrameInfo.h - Abstract Stack Frame Rep --*- C++ -*-===//
+//===-- CodeGen/MachineFrameInfo.h - Abstract Stack Frame Rep. --*- C++ -*-===//
//
-// The FunctionFrameInfo class represents an abstract stack frame until
+// The MachineFrameInfo class represents an abstract stack frame until
// prolog/epilog code is inserted. This class is key to allowing stack frame
// representation optimizations, such as frame pointer elimination. It also
// allows more mundane (but still important) optimizations, such as reordering
@@ -31,7 +31,7 @@
#ifndef LLVM_CODEGEN_FUNCTIONFRAMEINFO_H
#define LLVM_CODEGEN_FUNCTIONFRAMEINFO_H
-class FunctionFrameInfo {
+class MachineFrameInfo {
// StackObject - Represent a single object allocated on the stack.
struct StackObject {
@@ -83,7 +83,7 @@
///
unsigned MaxCallFrameSize;
public:
- FunctionFrameInfo() {
+ MachineFrameInfo() {
NumFixedObjects = StackSize = 0;
HasVarSizedObjects = false;
HasCalls = false;
@@ -181,7 +181,7 @@
return Objects.size()-NumFixedObjects-1;
}
- /// CreateVariableSizedObject - Notify the FunctionFrameInfo object that a
+ /// CreateVariableSizedObject - Notify the MachineFrameInfo object that a
/// variable sized object has been created. This must be created whenever a
/// variable sized object is created, whether or not the index returned is
/// actually used.
Index: llvm/include/llvm/CodeGen/MachineFunction.h
diff -u llvm/include/llvm/CodeGen/MachineFunction.h:1.23 llvm/include/llvm/CodeGen/MachineFunction.h:1.24
--- llvm/include/llvm/CodeGen/MachineFunction.h:1.23 Sat Dec 28 14:04:31 2002
+++ llvm/include/llvm/CodeGen/MachineFunction.h Sat Dec 28 15:08:25 2002
@@ -20,7 +20,7 @@
class Pass;
class SSARegMap;
class MachineFunctionInfo;
-class FunctionFrameInfo;
+class MachineFrameInfo;
Pass *createMachineCodeConstructionPass(TargetMachine &Target);
Pass *createMachineCodeDestructionPass();
@@ -40,7 +40,7 @@
MachineFunctionInfo *MFInfo;
// Keep track of objects allocated on the stack.
- FunctionFrameInfo *FrameInfo;
+ MachineFrameInfo *FrameInfo;
public:
MachineFunction(const Function *Fn, const TargetMachine& target);
@@ -64,7 +64,7 @@
/// This object contains information about objects allocated on the stack
/// frame of the current function in an abstract way.
///
- FunctionFrameInfo *getFrameInfo() const { return FrameInfo; }
+ MachineFrameInfo *getFrameInfo() const { return FrameInfo; }
/// MachineFunctionInfo - Keep track of various per-function pieces of
/// information for the sparc backend.
More information about the llvm-commits
mailing list