xref: /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/MCTargetDesc/AMDGPUFixupKinds.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc //===-- AMDGPUFixupKinds.h - AMDGPU Specific Fixup Entries ------*- C++ -*-===//
2*0a6a1f1dSLionel Sambuc //
3*0a6a1f1dSLionel Sambuc //                     The LLVM Compiler Infrastructure
4*0a6a1f1dSLionel Sambuc //
5*0a6a1f1dSLionel Sambuc // This file is distributed under the University of Illinois Open Source
6*0a6a1f1dSLionel Sambuc // License. See LICENSE.TXT for details.
7*0a6a1f1dSLionel Sambuc //
8*0a6a1f1dSLionel Sambuc //===----------------------------------------------------------------------===//
9*0a6a1f1dSLionel Sambuc 
10*0a6a1f1dSLionel Sambuc #ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUFIXUPKINDS_H
11*0a6a1f1dSLionel Sambuc #define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUFIXUPKINDS_H
12*0a6a1f1dSLionel Sambuc 
13*0a6a1f1dSLionel Sambuc #include "llvm/MC/MCFixup.h"
14*0a6a1f1dSLionel Sambuc 
15*0a6a1f1dSLionel Sambuc namespace llvm {
16*0a6a1f1dSLionel Sambuc namespace AMDGPU {
17*0a6a1f1dSLionel Sambuc enum Fixups {
18*0a6a1f1dSLionel Sambuc   /// 16-bit PC relative fixup for SOPP branch instructions.
19*0a6a1f1dSLionel Sambuc   fixup_si_sopp_br = FirstTargetFixupKind,
20*0a6a1f1dSLionel Sambuc 
21*0a6a1f1dSLionel Sambuc   /// fixup for global addresses with constant initializers
22*0a6a1f1dSLionel Sambuc   fixup_si_rodata,
23*0a6a1f1dSLionel Sambuc 
24*0a6a1f1dSLionel Sambuc   /// fixup for offset from instruction to end of text section
25*0a6a1f1dSLionel Sambuc   fixup_si_end_of_text,
26*0a6a1f1dSLionel Sambuc 
27*0a6a1f1dSLionel Sambuc   // Marker
28*0a6a1f1dSLionel Sambuc   LastTargetFixupKind,
29*0a6a1f1dSLionel Sambuc   NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
30*0a6a1f1dSLionel Sambuc };
31*0a6a1f1dSLionel Sambuc }
32*0a6a1f1dSLionel Sambuc }
33*0a6a1f1dSLionel Sambuc 
34*0a6a1f1dSLionel Sambuc #endif
35