2014-07-21 14:01:08 +00:00
|
|
|
//===-- AMDGPUFixupKinds.h - AMDGPU Specific Fixup Entries ------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUFIXUPKINDS_H
|
|
|
|
#define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUFIXUPKINDS_H
|
2014-07-21 14:01:08 +00:00
|
|
|
|
|
|
|
#include "llvm/MC/MCFixup.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
namespace AMDGPU {
|
|
|
|
enum Fixups {
|
|
|
|
/// 16-bit PC relative fixup for SOPP branch instructions.
|
|
|
|
fixup_si_sopp_br = FirstTargetFixupKind,
|
|
|
|
|
2014-07-21 14:01:14 +00:00
|
|
|
/// fixup for global addresses with constant initializers
|
|
|
|
fixup_si_rodata,
|
|
|
|
|
|
|
|
/// fixup for offset from instruction to end of text section
|
|
|
|
fixup_si_end_of_text,
|
|
|
|
|
2014-07-21 14:01:08 +00:00
|
|
|
// Marker
|
|
|
|
LastTargetFixupKind,
|
|
|
|
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#endif
|