1 //===-- XCore.h - Top-level interface for XCore representation --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in the LLVM
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_XCORE_H
16 #define TARGET_XCORE_H
18 #include "MCTargetDesc/XCoreMCTargetDesc.h"
19 #include "llvm/Target/TargetMachine.h"
25 class XCoreTargetMachine;
26 class formatted_raw_ostream;
28 void initializeXCoreLowerThreadLocalPass(PassRegistry &p);
30 FunctionPass *createXCoreFrameToArgsOffsetEliminationPass();
31 FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM,
32 CodeGenOpt::Level OptLevel);
33 ModulePass *createXCoreLowerThreadLocalPass();
35 ImmutablePass *createXCoreTargetTransformInfoPass(const XCoreTargetMachine *TM);
37 } // end namespace llvm;