aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/Target/Nios2/MCTargetDesc/Nios2BaseInfo.h
blob: 225671ebc8d8274b0d7f8e79d4a02ecf93d3ad81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//===-- Nios2BaseInfo.h - Top level definitions for NIOS2 MC ----*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains small standalone helper functions and enum definitions for
// the Nios2 target useful for the compiler back-end and the MC libraries.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2BASEINFO_H
#define LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2BASEINFO_H

namespace llvm {

/// Nios2FG - This namespace holds all of the target specific flags that
/// instruction info tracks.
namespace Nios2FG {
/// Target Operand Flag enum.
enum TOF {
  //===------------------------------------------------------------------===//
  // Nios2 Specific MachineOperand flags.

  MO_NO_FLAG,

  /// MO_ABS_HI/LO - Represents the hi or low part of an absolute symbol
  /// address.
  MO_ABS_HI,
  MO_ABS_LO,

};
} // namespace Nios2FG
} // namespace llvm

#endif