• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- Nios2BaseInfo.h - Top level definitions for NIOS2 MC ----*- 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 small standalone helper functions and enum definitions for
11 // the Nios2 target useful for the compiler back-end and the MC libraries.
12 //
13 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2BASEINFO_H
15 #define LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2BASEINFO_H
16 
17 namespace llvm {
18 
19 /// Nios2FG - This namespace holds all of the target specific flags that
20 /// instruction info tracks.
21 namespace Nios2FG {
22 /// Target Operand Flag enum.
23 enum TOF {
24   //===------------------------------------------------------------------===//
25   // Nios2 Specific MachineOperand flags.
26 
27   MO_NO_FLAG,
28 
29   /// MO_ABS_HI/LO - Represents the hi or low part of an absolute symbol
30   /// address.
31   MO_ABS_HI,
32   MO_ABS_LO,
33 
34 };
35 } // namespace Nios2FG
36 } // namespace llvm
37 
38 #endif
39