1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/lib/Target/PowerPC/PowerPCJITInfo.h

37 lines
1.1 KiB
C
Raw Normal View History

2004-06-21 18:55:25 +02:00
//===- PowerPCJITInfo.h - PowerPC impl. of the JIT interface ----*- C++ -*-===//
//
2004-06-21 18:55:25 +02:00
// 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.
//
2004-06-21 18:55:25 +02:00
//===----------------------------------------------------------------------===//
//
// This file contains the PowerPC implementation of the TargetJITInfo class.
//
//===----------------------------------------------------------------------===//
#ifndef POWERPC_JITINFO_H
#define POWERPC_JITINFO_H
2004-06-21 18:55:25 +02:00
#include "llvm/Target/TargetJITInfo.h"
namespace llvm {
class TargetMachine;
class PowerPCJITInfo : public TargetJITInfo {
protected:
2004-06-21 18:55:25 +02:00
TargetMachine &TM;
public:
PowerPCJITInfo(TargetMachine &tm) : TM(tm) {useGOT = 0;}
2004-06-21 18:55:25 +02:00
/// 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