LLVM API Documentation

XCore.h
Go to the documentation of this file.
00001 //===-- XCore.h - Top-level interface for XCore representation --*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains the entry points for global functions defined in the LLVM
00011 // XCore back-end.
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #ifndef LLVM_LIB_TARGET_XCORE_XCORE_H
00016 #define LLVM_LIB_TARGET_XCORE_XCORE_H
00017 
00018 #include "MCTargetDesc/XCoreMCTargetDesc.h"
00019 #include "llvm/Target/TargetMachine.h"
00020 
00021 namespace llvm {
00022   class FunctionPass;
00023   class ModulePass;
00024   class TargetMachine;
00025   class XCoreTargetMachine;
00026   class formatted_raw_ostream;
00027 
00028   void initializeXCoreLowerThreadLocalPass(PassRegistry &p);
00029 
00030   FunctionPass *createXCoreFrameToArgsOffsetEliminationPass();
00031   FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM,
00032                                    CodeGenOpt::Level OptLevel);
00033   ModulePass *createXCoreLowerThreadLocalPass();
00034 
00035   ImmutablePass *createXCoreTargetTransformInfoPass(const XCoreTargetMachine *TM);
00036 
00037 } // end namespace llvm;
00038 
00039 #endif