]>
git.proxmox.com Git - rustc.git/blob - src/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
1 //===-- HexagonBaseInfo.h - Top level definitions for Hexagon --*- C++ -*--===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains small standalone helper functions and enum definitions for
11 // the Hexagon target useful for the compiler back-end and the MC libraries.
12 // As such, it deliberately does not include references to LLVM core
13 // code gen types, passes, etc..
15 //===----------------------------------------------------------------------===//
17 #ifndef HEXAGONBASEINFO_H
18 #define HEXAGONBASEINFO_H
22 /// HexagonII - This namespace holds all of the target specific flags that
23 /// instruction info tracks.
26 // *** The code below must match HexagonInstrFormat*.td *** //
29 // *** Must match HexagonInstrFormat*.td ***
42 TypePREFIX
= 30, // Such as extenders.
43 TypeMARKER
= 31 // Such as end of a HW loop.
48 // MCInstrDesc TSFlags
49 // *** Must match HexagonInstrFormat*.td ***
51 // This 5-bit field describes the insn type.
59 // Predicated instructions.
64 // *** The code above must match HexagonInstrFormat*.td *** //
66 } // End namespace HexagonII.
68 } // End namespace llvm.