blob: c18492da803b8f54c3989066bdbb79158c09a057 [file] [log] [blame]
Tony Linthicum1213a7a2011-12-12 21:14:40 +00001//=-- Hexagon.h - Top-level interface for Hexagon representation --*- C++ -*-=//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the entry points for global functions defined in the LLVM
11// Hexagon back-end.
12//
13//===----------------------------------------------------------------------===//
14
Benjamin Kramera7c40ef2014-08-13 16:26:38 +000015#ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGON_H
16#define LLVM_LIB_TARGET_HEXAGON_HEXAGON_H
Tony Linthicum1213a7a2011-12-12 21:14:40 +000017
Colin LeMahieu56efafc2015-06-15 19:05:35 +000018#include "MCTargetDesc/HexagonMCTargetDesc.h"
David Blaikieb3bde2e2017-11-17 01:07:10 +000019#include "llvm/CodeGen/TargetLowering.h"
Colin LeMahieu56efafc2015-06-15 19:05:35 +000020#include "llvm/Target/TargetMachine.h"
21
22namespace llvm {
Colin LeMahieu56efafc2015-06-15 19:05:35 +000023 class HexagonTargetMachine;
24
Adrian Prantl5f8f34e42018-05-01 15:54:18 +000025 /// Creates a Hexagon-specific Target Transformation Info pass.
Colin LeMahieu56efafc2015-06-15 19:05:35 +000026 ImmutablePass *createHexagonTargetTransformInfoPass(const HexagonTargetMachine *TM);
Alexander Kornienkof00654e2015-06-23 09:49:53 +000027} // end namespace llvm;
Colin LeMahieu56efafc2015-06-15 19:05:35 +000028
Tony Linthicum1213a7a2011-12-12 21:14:40 +000029#endif