LLVM API Documentation
00001 //===- PowerPCJITInfo.h - PowerPC impl. of the JIT interface ----*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file was developed by the LLVM research group and is distributed under 00006 // the University of Illinois Open Source License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file contains the PowerPC implementation of the TargetJITInfo class. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef POWERPC_JITINFO_H 00015 #define POWERPC_JITINFO_H 00016 00017 #include "llvm/Target/TargetJITInfo.h" 00018 00019 namespace llvm { 00020 class TargetMachine; 00021 00022 class PowerPCJITInfo : public TargetJITInfo { 00023 protected: 00024 TargetMachine &TM; 00025 public: 00026 PowerPCJITInfo(TargetMachine &tm) : TM(tm) {} 00027 00028 /// addPassesToJITCompile - Add passes to the specified pass manager to 00029 /// implement a fast dynamic compiler for this target. Return true if this 00030 /// is not supported for this target. 00031 /// 00032 virtual void addPassesToJITCompile(FunctionPassManager &PM); 00033 }; 00034 } 00035 00036 #endif