xref: /freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/Hexagon.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
10b57cec5SDimitry Andric //=-- Hexagon.h - Top-level interface for Hexagon representation --*- C++ -*-=//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric //
90b57cec5SDimitry Andric // This file contains the entry points for global functions defined in the LLVM
100b57cec5SDimitry Andric // Hexagon back-end.
110b57cec5SDimitry Andric //
120b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
130b57cec5SDimitry Andric 
140b57cec5SDimitry Andric #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGON_H
150b57cec5SDimitry Andric #define LLVM_LIB_TARGET_HEXAGON_HEXAGON_H
160b57cec5SDimitry Andric 
170b57cec5SDimitry Andric namespace llvm {
180b57cec5SDimitry Andric   class HexagonTargetMachine;
19e8d8bef9SDimitry Andric   class ImmutablePass;
20bdd1243dSDimitry Andric   class PassRegistry;
210b57cec5SDimitry Andric 
220b57cec5SDimitry Andric   /// Creates a Hexagon-specific Target Transformation Info pass.
230b57cec5SDimitry Andric   ImmutablePass *createHexagonTargetTransformInfoPass(const HexagonTargetMachine *TM);
24bdd1243dSDimitry Andric 
25*0fca6ea1SDimitry Andric   void initializeHexagonDAGToDAGISelLegacyPass(PassRegistry &);
260b57cec5SDimitry Andric } // end namespace llvm;
270b57cec5SDimitry Andric 
280b57cec5SDimitry Andric #endif
29