blob: 4b12e548a56f74f9e927acf77b5f628a9b43360b [file] [log] [blame]
Tom Stellard01825af2014-07-21 14:01:08 +00001//===-- 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
15namespace llvm {
16namespace AMDGPU {
17enum Fixups {
18 /// 16-bit PC relative fixup for SOPP branch instructions.
19 fixup_si_sopp_br = FirstTargetFixupKind,
20
Tom Stellard067c8152014-07-21 14:01:14 +000021 /// fixup for global addresses with constant initializers
22 fixup_si_rodata,
23
24 /// fixup for offset from instruction to end of text section
25 fixup_si_end_of_text,
26
Tom Stellard01825af2014-07-21 14:01:08 +000027 // Marker
28 LastTargetFixupKind,
29 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
30};
31}
32}
33
34#endif // LLVM_AMDGPUFIXUPKINDS_H