mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Alpha JIT prune
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
886470efec
commit
a7246caf8f
@ -29,14 +29,6 @@ AlphaTargetMachine::AlphaTargetMachine( const Module &M, IntrinsicLowering *IL)
|
|||||||
FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0) //TODO: check these
|
FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0) //TODO: check these
|
||||||
{}
|
{}
|
||||||
|
|
||||||
bool AlphaTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
|
|
||||||
MachineCodeEmitter &MCE)
|
|
||||||
{
|
|
||||||
assert(0 && "TODO");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// addPassesToEmitAssembly - Add passes to the specified pass manager
|
/// addPassesToEmitAssembly - Add passes to the specified pass manager
|
||||||
/// to implement a static compiler for this target.
|
/// to implement a static compiler for this target.
|
||||||
///
|
///
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include "llvm/Target/TargetFrameInfo.h"
|
#include "llvm/Target/TargetFrameInfo.h"
|
||||||
#include "llvm/PassManager.h"
|
#include "llvm/PassManager.h"
|
||||||
#include "AlphaInstrInfo.h"
|
#include "AlphaInstrInfo.h"
|
||||||
//#include "AlphaJITInfo.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
@ -28,7 +27,6 @@ class IntrinsicLowering;
|
|||||||
class AlphaTargetMachine : public TargetMachine {
|
class AlphaTargetMachine : public TargetMachine {
|
||||||
AlphaInstrInfo InstrInfo;
|
AlphaInstrInfo InstrInfo;
|
||||||
TargetFrameInfo FrameInfo;
|
TargetFrameInfo FrameInfo;
|
||||||
// AlphaJITInfo JITInfo;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AlphaTargetMachine(const Module &M, IntrinsicLowering *IL);
|
AlphaTargetMachine(const Module &M, IntrinsicLowering *IL);
|
||||||
@ -38,13 +36,7 @@ public:
|
|||||||
virtual const MRegisterInfo *getRegisterInfo() const {
|
virtual const MRegisterInfo *getRegisterInfo() const {
|
||||||
return &InstrInfo.getRegisterInfo();
|
return &InstrInfo.getRegisterInfo();
|
||||||
}
|
}
|
||||||
// virtual TargetJITInfo *getJITInfo() {
|
|
||||||
// return &JITInfo;
|
|
||||||
// }
|
|
||||||
|
|
||||||
virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
|
|
||||||
MachineCodeEmitter &MCE);
|
|
||||||
|
|
||||||
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user