Replace PowerPCPEI.cpp with target independant PrologEpilogInserter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15746 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman
2004-08-14 22:16:36 +00:00
parent ffde1de597
commit ca068e861b
6 changed files with 64 additions and 353 deletions

View File

@@ -14,11 +14,12 @@
#ifndef POWERPC_TARGETMACHINE_H
#define POWERPC_TARGETMACHINE_H
#include "PowerPCFrameInfo.h"
#include "PowerPCInstrInfo.h"
#include "PowerPCJITInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetFrameInfo.h"
#include "llvm/PassManager.h"
#include "PowerPCInstrInfo.h"
#include "PowerPCJITInfo.h"
#include <set>
namespace llvm {
@@ -28,12 +29,12 @@ class IntrinsicLowering;
class PowerPCTargetMachine : public TargetMachine {
PowerPCInstrInfo InstrInfo;
TargetFrameInfo FrameInfo;
PowerPCFrameInfo FrameInfo;
PowerPCJITInfo JITInfo;
protected:
PowerPCTargetMachine(const std::string &name, IntrinsicLowering *IL,
const TargetData &TD, const TargetFrameInfo &TFI,
const TargetData &TD, const PowerPCFrameInfo &TFI,
const PowerPCJITInfo &TJI, bool is64b);
public:
virtual const PowerPCInstrInfo *getInstrInfo() const { return &InstrInfo; }