1 //===-- XCore.h - Top-level interface for XCore representation --*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains the entry points for global functions defined in the LLVM
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_XCORE_XCORE_H
15 #define LLVM_LIB_TARGET_XCORE_XCORE_H
17 #include "MCTargetDesc/XCoreMCTargetDesc.h"
18 #include "llvm/Target/TargetMachine.h"
24 class XCoreTargetMachine;
25 class formatted_raw_ostream;
27 void initializeXCoreLowerThreadLocalPass(PassRegistry &p);
29 FunctionPass *createXCoreFrameToArgsOffsetEliminationPass();
30 FunctionPass *createXCoreISelDag(XCoreTargetMachine &TM,
31 CodeGenOpt::Level OptLevel);
32 ModulePass *createXCoreLowerThreadLocalPass();
34 } // end namespace llvm;