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