2008-11-07 18:59:00 +08:00
|
|
|
//===-- XCore.h - Top-level interface for XCore representation --*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the entry points for global functions defined in the LLVM
|
|
|
|
// XCore back-end.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_XCORE_XCORE_H
|
|
|
|
#define LLVM_LIB_TARGET_XCORE_XCORE_H
|
2008-11-07 18:59:00 +08:00
|
|
|
|
2011-07-15 04:59:42 +08:00
|
|
|
#include "MCTargetDesc/XCoreMCTargetDesc.h"
|
2009-04-30 07:29:43 +08:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
2008-11-07 18:59:00 +08:00
|
|
|
namespace llvm {
|
|
|
|
class FunctionPass;
|
2013-05-05 01:01:55 +08:00
|
|
|
class ModulePass;
|
2008-11-07 18:59:00 +08:00
|
|
|
class TargetMachine;
|
|
|
|
class XCoreTargetMachine;
|
2009-07-15 04:18:05 +08:00
|
|
|
class formatted_raw_ostream;
|
2008-11-07 18:59:00 +08:00
|
|
|
|
2013-05-05 01:01:55 +08:00
|
|
|
void initializeXCoreLowerThreadLocalPass(PassRegistry &p);
|
|
|
|
|
2014-01-06 22:21:00 +08:00
|
|
|
FunctionPass *createXCoreFrameToArgsOffsetEliminationPass();
|
2011-12-15 23:18:35 +08:00
|
|
|
FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM,
|
|
|
|
CodeGenOpt::Level OptLevel);
|
2013-05-05 01:01:55 +08:00
|
|
|
ModulePass *createXCoreLowerThreadLocalPass();
|
2009-07-19 07:03:22 +08:00
|
|
|
|
2013-09-18 20:43:35 +08:00
|
|
|
ImmutablePass *createXCoreTargetTransformInfoPass(const XCoreTargetMachine *TM);
|
|
|
|
|
2008-11-07 18:59:00 +08:00
|
|
|
} // end namespace llvm;
|
|
|
|
|
|
|
|
#endif
|