1//=-- Hexagon.h - Top-level interface for Hexagon representation --*- C++ -*-=//
2//
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
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains the entry points for global functions defined in the LLVM
10// Hexagon back-end.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGON_H
15#define LLVM_LIB_TARGET_HEXAGON_HEXAGON_H
16
17namespace llvm {
18 class HexagonTargetMachine;
19 class ImmutablePass;
20 class PassRegistry;
21
22 /// Creates a Hexagon-specific Target Transformation Info pass.
23 ImmutablePass *createHexagonTargetTransformInfoPass(const HexagonTargetMachine *TM);
24
25 void initializeHexagonDAGToDAGISelLegacyPass(PassRegistry &);
26} // end namespace llvm;
27
28#endif
29