LLVM  6.0.0svn
RISCVBaseInfo.h
Go to the documentation of this file.
1 //===-- RISCVBaseInfo.h - Top level definitions for RISCV 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 enum definitions for the RISCV target
11 // useful for the compiler back-end and the MC libraries.
12 //
13 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVBASEINFO_H
15 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVBASEINFO_H
16 
17 #include "RISCVMCTargetDesc.h"
18 
19 namespace llvm {
20 
21 // RISCVII - This namespace holds all of the target specific flags that
22 // instruction info tracks. All definitions must match RISCVInstrFormats.td.
23 namespace RISCVII {
24 enum {
33 
35 };
36 
37 enum {
42 };
43 } // namespace RISCVII
44 
45 // Describes the predecessor/successor bits used in the FENCE instruction.
46 namespace RISCVFenceField {
47 enum FenceField {
48  I = 8,
49  O = 4,
50  R = 2,
51  W = 1
52 };
53 }
54 } // namespace llvm
55 
56 #endif
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
#define I(x, y, z)
Definition: MD5.cpp:58