1 //===- Xtensa.h - Top-level interface for Xtensa 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
10 // the LLVM Xtensa back-end.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_XTENSA_XTENSA_H
15 #define LLVM_LIB_TARGET_XTENSA_XTENSA_H
17 #include "MCTargetDesc/XtensaMCTargetDesc.h"
18 #include "llvm/PassRegistry.h"
19 #include "llvm/Support/CodeGen.h"
22 class XtensaTargetMachine
;
25 FunctionPass
*createXtensaISelDag(XtensaTargetMachine
&TM
,
26 CodeGenOptLevel OptLevel
);
28 #endif // LLVM_LIB_TARGET_XTENSA_XTENSA_H