LLVM API Documentation
00001 //===-- AMDGPUFixupKinds.h - AMDGPU Specific Fixup Entries ------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUFIXUPKINDS_H 00011 #define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUFIXUPKINDS_H 00012 00013 #include "llvm/MC/MCFixup.h" 00014 00015 namespace llvm { 00016 namespace AMDGPU { 00017 enum Fixups { 00018 /// 16-bit PC relative fixup for SOPP branch instructions. 00019 fixup_si_sopp_br = FirstTargetFixupKind, 00020 00021 /// fixup for global addresses with constant initializers 00022 fixup_si_rodata, 00023 00024 /// fixup for offset from instruction to end of text section 00025 fixup_si_end_of_text, 00026 00027 // Marker 00028 LastTargetFixupKind, 00029 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind 00030 }; 00031 } 00032 } 00033 00034 #endif