LLVM
20.0.0git
lib
Target
Lanai
MCTargetDesc
LanaiFixupKinds.h
Go to the documentation of this file.
1
//===-- LanaiFixupKinds.h - Lanai Specific Fixup Entries --------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIFIXUPKINDS_H
10
#define LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIFIXUPKINDS_H
11
12
#include "
llvm/MC/MCFixup.h
"
13
14
namespace
llvm
{
15
namespace
Lanai {
16
// Although most of the current fixup types reflect a unique relocation
17
// one can have multiple fixup types for a given relocation and thus need
18
// to be uniquely named.
19
//
20
// This table *must* be in the save order of
21
// MCFixupKindInfo Infos[Lanai::NumTargetFixupKinds]
22
// in LanaiAsmBackend.cpp.
23
//
24
enum
Fixups
{
25
// Results in R_Lanai_NONE
26
FIXUP_LANAI_NONE
=
FirstTargetFixupKind
,
27
28
FIXUP_LANAI_21
,
// 21-bit symbol relocation
29
FIXUP_LANAI_21_F
,
// 21-bit symbol relocation, last two bits masked to 0
30
FIXUP_LANAI_25
,
// 25-bit branch targets
31
FIXUP_LANAI_32
,
// general 32-bit relocation
32
FIXUP_LANAI_HI16
,
// upper 16-bits of a symbolic relocation
33
FIXUP_LANAI_LO16
,
// lower 16-bits of a symbolic relocation
34
35
// Marker
36
LastTargetFixupKind
,
37
NumTargetFixupKinds
=
LastTargetFixupKind
-
FirstTargetFixupKind
38
};
39
}
// namespace Lanai
40
}
// namespace llvm
41
42
#endif
// LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIFIXUPKINDS_H
MCFixup.h
llvm::Lanai::Fixups
Fixups
Definition:
LanaiFixupKinds.h:24
llvm::Lanai::FIXUP_LANAI_25
@ FIXUP_LANAI_25
Definition:
LanaiFixupKinds.h:30
llvm::Lanai::FIXUP_LANAI_21
@ FIXUP_LANAI_21
Definition:
LanaiFixupKinds.h:28
llvm::Lanai::FIXUP_LANAI_32
@ FIXUP_LANAI_32
Definition:
LanaiFixupKinds.h:31
llvm::Lanai::FIXUP_LANAI_NONE
@ FIXUP_LANAI_NONE
Definition:
LanaiFixupKinds.h:26
llvm::Lanai::FIXUP_LANAI_21_F
@ FIXUP_LANAI_21_F
Definition:
LanaiFixupKinds.h:29
llvm::Lanai::LastTargetFixupKind
@ LastTargetFixupKind
Definition:
LanaiFixupKinds.h:36
llvm::Lanai::FIXUP_LANAI_LO16
@ FIXUP_LANAI_LO16
Definition:
LanaiFixupKinds.h:33
llvm::Lanai::NumTargetFixupKinds
@ NumTargetFixupKinds
Definition:
LanaiFixupKinds.h:37
llvm::Lanai::FIXUP_LANAI_HI16
@ FIXUP_LANAI_HI16
Definition:
LanaiFixupKinds.h:32
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::FirstTargetFixupKind
@ FirstTargetFixupKind
Definition:
MCFixup.h:45
Generated on Mon Dec 2 2024 20:09:02 for LLVM by
1.9.6