2008-11-07 10:59:00 +00: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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef TARGET_XCORE_H
|
|
|
|
#define TARGET_XCORE_H
|
|
|
|
|
2011-07-14 20:59:42 +00:00
|
|
|
#include "MCTargetDesc/XCoreMCTargetDesc.h"
|
2009-04-29 23:29:43 +00:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
2008-11-07 10:59:00 +00:00
|
|
|
namespace llvm {
|
|
|
|
class FunctionPass;
|
2013-05-04 17:01:55 +00:00
|
|
|
class ModulePass;
|
2008-11-07 10:59:00 +00:00
|
|
|
class TargetMachine;
|
|
|
|
class XCoreTargetMachine;
|
2009-07-14 20:18:05 +00:00
|
|
|
class formatted_raw_ostream;
|
2008-11-07 10:59:00 +00:00
|
|
|
|
2013-05-04 17:01:55 +00:00
|
|
|
void initializeXCoreLowerThreadLocalPass(PassRegistry &p);
|
|
|
|
|
2014-01-06 14:21:00 +00:00
|
|
|
FunctionPass *createXCoreFrameToArgsOffsetEliminationPass();
|
2011-12-15 15:18:35 +00:00
|
|
|
FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM,
|
|
|
|
CodeGenOpt::Level OptLevel);
|
2013-05-04 17:01:55 +00:00
|
|
|
ModulePass *createXCoreLowerThreadLocalPass();
|
2009-07-18 23:03:22 +00:00
|
|
|
|
2013-09-18 12:43:35 +00:00
|
|
|
ImmutablePass *createXCoreTargetTransformInfoPass(const XCoreTargetMachine *TM);
|
|
|
|
|
2008-11-07 10:59:00 +00:00
|
|
|
} // end namespace llvm;
|
|
|
|
|
|
|
|
#endif
|