2004-06-21 16:55:25 +00:00
|
|
|
//===- PowerPCJITInfo.h - PowerPC impl. of the JIT interface ----*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file was developed by the LLVM research group and is distributed under
|
|
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the PowerPC implementation of the TargetJITInfo class.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2004-08-11 00:11:25 +00:00
|
|
|
#ifndef POWERPC_JITINFO_H
|
|
|
|
#define POWERPC_JITINFO_H
|
2004-06-21 16:55:25 +00:00
|
|
|
|
|
|
|
#include "llvm/Target/TargetJITInfo.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class TargetMachine;
|
|
|
|
|
|
|
|
class PowerPCJITInfo : public TargetJITInfo {
|
2004-08-11 00:11:25 +00:00
|
|
|
protected:
|
2004-06-21 16:55:25 +00:00
|
|
|
TargetMachine &TM;
|
|
|
|
public:
|
|
|
|
PowerPCJITInfo(TargetMachine &tm) : TM(tm) {}
|
|
|
|
|
|
|
|
/// addPassesToJITCompile - Add passes to the specified pass manager to
|
|
|
|
/// implement a fast dynamic compiler for this target. Return true if this
|
|
|
|
/// is not supported for this target.
|
|
|
|
///
|
|
|
|
virtual void addPassesToJITCompile(FunctionPassManager &PM);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|