LLVM
8.0.1
lib
Target
Lanai
MCTargetDesc
LanaiFixupKinds.h
Go to the documentation of this file.
1
//===-- LanaiFixupKinds.h - Lanai 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_LANAI_MCTARGETDESC_LANAIFIXUPKINDS_H
11
#define LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIFIXUPKINDS_H
12
13
#include "
llvm/MC/MCFixup.h
"
14
15
namespace
llvm
{
16
namespace
Lanai {
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[Lanai::NumTargetFixupKinds]
23
// in LanaiAsmBackend.cpp.
24
//
25
enum
Fixups
{
26
// Results in R_Lanai_NONE
27
FIXUP_LANAI_NONE
=
FirstTargetFixupKind
,
28
29
FIXUP_LANAI_21
,
// 21-bit symbol relocation
30
FIXUP_LANAI_21_F
,
// 21-bit symbol relocation, last two bits masked to 0
31
FIXUP_LANAI_25
,
// 25-bit branch targets
32
FIXUP_LANAI_32
,
// general 32-bit relocation
33
FIXUP_LANAI_HI16
,
// upper 16-bits of a symbolic relocation
34
FIXUP_LANAI_LO16
,
// lower 16-bits of a symbolic relocation
35
36
// Marker
37
LastTargetFixupKind
,
38
NumTargetFixupKinds
=
LastTargetFixupKind
-
FirstTargetFixupKind
39
};
40
}
// namespace Lanai
41
}
// namespace llvm
42
43
#endif // LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIFIXUPKINDS_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::Lanai::FIXUP_LANAI_LO16
Definition:
LanaiFixupKinds.h:34
llvm::FirstTargetFixupKind
Definition:
MCFixup.h:53
llvm::Lanai::FIXUP_LANAI_21_F
Definition:
LanaiFixupKinds.h:30
llvm::Lanai::FIXUP_LANAI_25
Definition:
LanaiFixupKinds.h:31
llvm::Lanai::NumTargetFixupKinds
Definition:
LanaiFixupKinds.h:38
llvm::Lanai::FIXUP_LANAI_32
Definition:
LanaiFixupKinds.h:32
llvm::Lanai::LastTargetFixupKind
Definition:
LanaiFixupKinds.h:37
llvm::Lanai::Fixups
Fixups
Definition:
LanaiFixupKinds.h:25
llvm::Lanai::FIXUP_LANAI_HI16
Definition:
LanaiFixupKinds.h:33
llvm::Lanai::FIXUP_LANAI_NONE
Definition:
LanaiFixupKinds.h:27
llvm::Lanai::FIXUP_LANAI_21
Definition:
LanaiFixupKinds.h:29
MCFixup.h
Generated on Sun Dec 20 2020 13:56:55 for LLVM by
1.8.13