mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Rename FunctionFrameInfo to MachineFrameInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8bd66e6907
commit
eb24db9727
@ -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); }
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -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();
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user