LLVM  6.0.0svn
RISCVFixupKinds.h
Go to the documentation of this file.
1 //===-- RISCVFixupKinds.h - RISCV Specific Fixup Entries --------*- 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 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVFIXUPKINDS_H
11 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVFIXUPKINDS_H
12 
13 #include "llvm/MC/MCFixup.h"
14 
15 #undef RISCV
16 
17 namespace llvm {
18 namespace RISCV {
19 enum Fixups {
20  // fixup_riscv_hi20 - 20-bit fixup corresponding to hi(foo) for
21  // instructions like lui
23  // fixup_riscv_lo12_i - 12-bit fixup corresponding to lo(foo) for
24  // instructions like addi
26  // fixup_riscv_lo12_s - 12-bit fixup corresponding to lo(foo) for
27  // the S-type store instructions
29  // fixup_riscv_pcrel_hi20 - 20-bit fixup corresponding to pcrel_hi(foo) for
30  // instructions like auipc
32  // fixup_riscv_jal - 20-bit fixup for symbol references in the jal
33  // instruction
35  // fixup_riscv_branch - 12-bit fixup for symbol references in the branch
36  // instructions
38 
39  // fixup_riscv_invalid - used as a sentinel and a marker, must be last fixup
42 };
43 } // end namespace RISCV
44 } // end namespace llvm
45 
46 #endif
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24