LLVM
7.0.0
lib
Target
Nios2
MCTargetDesc
Nios2FixupKinds.h
Go to the documentation of this file.
1
//===-- Nios2FixupKinds.h - Nios2 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_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2FIXUPKINDS_H
11
#define LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2FIXUPKINDS_H
12
13
#include "
llvm/MC/MCFixup.h
"
14
15
namespace
llvm
{
16
namespace
Nios2 {
17
// Although most of the current fixup types reflect a unique relocation
18
// one can have multiple fixup types for a given relocation and thus need
19
// to be uniquely named.
20
//
21
// This table *must* be in the save order of
22
// MCFixupKindInfo Infos[Nios2::NumTargetFixupKinds]
23
// in Nios2AsmBackend.cpp.
24
enum
Fixups
{
25
// Pure upper 32 bit fixup resulting in - R_NIOS2_32.
26
fixup_Nios2_32
=
FirstTargetFixupKind
,
27
28
// Pure upper 16 bit fixup resulting in - R_NIOS2_HI16.
29
fixup_Nios2_HI16
,
30
31
// Pure lower 16 bit fixup resulting in - R_NIOS2_LO16.
32
fixup_Nios2_LO16
,
33
34
// Marker
35
LastTargetFixupKind
,
36
NumTargetFixupKinds
=
LastTargetFixupKind
-
FirstTargetFixupKind
37
};
38
}
// namespace Nios2
39
}
// namespace llvm
40
41
#endif // LLVM_NIOS2_NIOS2FIXUPKINDS_H
llvm
Compute iterated dominance frontiers using a linear time algorithm.
Definition:
AllocatorList.h:24
llvm::FirstTargetFixupKind
Definition:
MCFixup.h:53
llvm::Nios2::fixup_Nios2_32
Definition:
Nios2FixupKinds.h:26
llvm::Nios2::NumTargetFixupKinds
Definition:
Nios2FixupKinds.h:36
llvm::Nios2::Fixups
Fixups
Definition:
Nios2FixupKinds.h:24
llvm::Nios2::fixup_Nios2_HI16
Definition:
Nios2FixupKinds.h:29
llvm::Nios2::LastTargetFixupKind
Definition:
Nios2FixupKinds.h:35
llvm::Nios2::fixup_Nios2_LO16
Definition:
Nios2FixupKinds.h:32
MCFixup.h
Generated on Thu Aug 23 2018 18:55:41 for LLVM by
1.8.13