summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-28 21:08:26 +0000
committerChris Lattner <sabre@nondot.org>2002-12-28 21:08:26 +0000
commitca4362fee74f0f759f45da2e8db05bc304a8fc2b (patch)
tree54f572ed462f8077c70acee4e0d0996559a6335f /llvm/lib/CodeGen
parent871e591e3419cd9a5b73fa11edae0b4d60b6bbc4 (diff)
downloadbcm5719-llvm-ca4362fee74f0f759f45da2e8db05bc304a8fc2b.tar.gz
bcm5719-llvm-ca4362fee74f0f759f45da2e8db05bc304a8fc2b.zip
Rename FunctionFrameInfo to MachineFrameInfo
llvm-svn: 5200
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp10
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp6
-rw-r--r--llvm/lib/CodeGen/RegAllocLocal.cpp2
-rw-r--r--llvm/lib/CodeGen/RegAllocSimple.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 8c73de33fe8..79886176ccc 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -11,7 +11,7 @@
#include "llvm/CodeGen/MachineCodeForInstruction.h"
#include "llvm/CodeGen/SSARegMap.h"
#include "llvm/CodeGen/MachineFunctionInfo.h"
-#include "llvm/CodeGen/FunctionFrameInfo.h"
+#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetFrameInfo.h"
#include "llvm/Target/MachineCacheInfo.h"
@@ -101,7 +101,7 @@ MachineFunction::MachineFunction(const Function *F,
: Annotation(MF_AID), Fn(F), Target(TM) {
SSARegMapping = new SSARegMap();
MFInfo = new MachineFunctionInfo(*this);
- FrameInfo = new FunctionFrameInfo();
+ FrameInfo = new MachineFrameInfo();
}
MachineFunction::~MachineFunction() {
@@ -168,10 +168,10 @@ void MachineFunction::clearSSARegMap() {
}
//===----------------------------------------------------------------------===//
-// FunctionFrameInfo implementation
+// MachineFrameInfo implementation
//===----------------------------------------------------------------------===//
-void FunctionFrameInfo::print(std::ostream &OS) const {
+void MachineFrameInfo::print(std::ostream &OS) const {
for (unsigned i = 0, e = Objects.size(); i != e; ++i) {
const StackObject &SO = Objects[i];
OS << " <fi# " << (int)(i-NumFixedObjects) << "> is ";
@@ -197,7 +197,7 @@ void FunctionFrameInfo::print(std::ostream &OS) const {
OS << " Stack frame contains variable sized objects\n";
}
-void FunctionFrameInfo::dump() const { print(std::cerr); }
+void MachineFrameInfo::dump() const { print(std::cerr); }
//===----------------------------------------------------------------------===//
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index 96d01cc23f2..91c113d1864 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -12,7 +12,7 @@
#include "llvm/Pass.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
-#include "llvm/CodeGen/FunctionFrameInfo.h"
+#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/MRegisterInfo.h"
#include "llvm/Target/TargetFrameInfo.h"
@@ -114,7 +114,7 @@ void PEI::saveCallerSavedRegisters(MachineFunction &Fn) {
++I;
}
- FunctionFrameInfo *FFI = Fn.getFrameInfo();
+ MachineFrameInfo *FFI = Fn.getFrameInfo();
FFI->setHasCalls(HasCalls);
FFI->setMaxCallFrameSize(MaxCallFrameSize);
@@ -185,7 +185,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
assert(StackGrowsDown && "Only tested on stack down growing targets!");
// Loop over all of the stack objects, assigning sequential addresses...
- FunctionFrameInfo *FFI = Fn.getFrameInfo();
+ MachineFrameInfo *FFI = Fn.getFrameInfo();
// Start at the beginning of the local area...
int Offset = -TFI.getOffsetOfLocalArea();
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp
index 206f798e76a..50d509ae734 100644
--- a/llvm/lib/CodeGen/RegAllocLocal.cpp
+++ b/llvm/lib/CodeGen/RegAllocLocal.cpp
@@ -8,7 +8,7 @@
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/SSARegMap.h"
-#include "llvm/CodeGen/FunctionFrameInfo.h"
+#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/Target/MachineInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "Support/Statistic.h"
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp
index 5666887336e..3d1a32b27a0 100644
--- a/llvm/lib/CodeGen/RegAllocSimple.cpp
+++ b/llvm/lib/CodeGen/RegAllocSimple.cpp
@@ -10,7 +10,7 @@
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/SSARegMap.h"
-#include "llvm/CodeGen/FunctionFrameInfo.h"
+#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/Target/MachineInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "Support/Statistic.h"
OpenPOWER on IntegriCloud