R600/SI: Use a custom encoding method for simm16 in SOPP branch instructions
[oota-llvm.git] / lib / Target / R600 / MCTargetDesc / AMDGPUFixupKinds.h
1 //===-- AMDGPUFixupKinds.h - AMDGPU 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_AMDGPUFIXUPKINDS_H
11 #define LLVM_AMDGPUFIXUPKINDS_H
12
13 #include "llvm/MC/MCFixup.h"
14
15 namespace llvm {
16 namespace AMDGPU {
17 enum Fixups {
18   /// 16-bit PC relative fixup for SOPP branch instructions.
19   fixup_si_sopp_br = FirstTargetFixupKind,
20
21   // Marker
22   LastTargetFixupKind,
23   NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
24 };
25 }
26 }
27
28 #endif // LLVM_AMDGPUFIXUPKINDS_H