blob: a024f285cfa70aab8ab9f87a98e97682fea44460 [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
Matt Arsenault6b6a2c32016-03-11 08:00:27 +000010#ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUFIXUPKINDS_H
11#define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUFIXUPKINDS_H
Tom Stellard01825af2014-07-21 14:01:08 +000012
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
Tom Stellard01825af2014-07-21 14:01:08 +000024 // Marker
25 LastTargetFixupKind,
26 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
27};
Alexander Kornienkof00654e2015-06-23 09:49:53 +000028}
29}
Tom Stellard01825af2014-07-21 14:01:08 +000030
Benjamin Kramera7c40ef2014-08-13 16:26:38 +000031#endif