LLVM
20.0.0git
lib
Target
SystemZ
MCTargetDesc
SystemZMCFixups.h
Go to the documentation of this file.
1
//===-- SystemZMCFixups.h - SystemZ-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_SYSTEMZ_MCTARGETDESC_SYSTEMZMCFIXUPS_H
10
#define LLVM_LIB_TARGET_SYSTEMZ_MCTARGETDESC_SYSTEMZMCFIXUPS_H
11
12
#include "
llvm/MC/MCFixup.h
"
13
#include "
llvm/MC/MCFixupKindInfo.h
"
14
15
namespace
llvm
{
16
namespace
SystemZ {
17
enum
FixupKind
{
18
// These correspond directly to R_390_* relocations.
19
FK_390_PC12DBL
=
FirstTargetFixupKind
,
20
FK_390_PC16DBL
,
21
FK_390_PC24DBL
,
22
FK_390_PC32DBL
,
23
FK_390_TLS_CALL
,
24
25
FK_390_S8Imm
,
26
FK_390_S16Imm
,
27
FK_390_S20Imm
,
28
FK_390_S32Imm
,
29
FK_390_U1Imm
,
30
FK_390_U2Imm
,
31
FK_390_U3Imm
,
32
FK_390_U4Imm
,
33
FK_390_U8Imm
,
34
FK_390_U12Imm
,
35
FK_390_U16Imm
,
36
FK_390_U32Imm
,
37
FK_390_U48Imm
,
38
39
// Marker
40
LastTargetFixupKind
,
41
NumTargetFixupKinds
=
LastTargetFixupKind
-
FirstTargetFixupKind
42
};
43
44
const
static
MCFixupKindInfo
MCFixupKindInfos
[
SystemZ::NumTargetFixupKinds
] = {
45
{
"FK_390_PC12DBL"
, 4, 12,
MCFixupKindInfo::FKF_IsPCRel
},
46
{
"FK_390_PC16DBL"
, 0, 16,
MCFixupKindInfo::FKF_IsPCRel
},
47
{
"FK_390_PC24DBL"
, 0, 24,
MCFixupKindInfo::FKF_IsPCRel
},
48
{
"FK_390_PC32DBL"
, 0, 32,
MCFixupKindInfo::FKF_IsPCRel
},
49
{
"FK_390_TLS_CALL"
, 0, 0, 0},
50
{
"FK_390_S8Imm"
, 0, 8, 0},
51
{
"FK_390_S16Imm"
, 0, 16, 0},
52
{
"FK_390_S20Imm"
, 4, 20, 0},
53
{
"FK_390_S32Imm"
, 0, 32, 0},
54
{
"FK_390_U1Imm"
, 0, 1, 0},
55
{
"FK_390_U2Imm"
, 0, 2, 0},
56
{
"FK_390_U3Imm"
, 0, 3, 0},
57
{
"FK_390_U4Imm"
, 0, 4, 0},
58
{
"FK_390_U8Imm"
, 0, 8, 0},
59
{
"FK_390_U12Imm"
, 4, 12, 0},
60
{
"FK_390_U16Imm"
, 0, 16, 0},
61
{
"FK_390_U32Imm"
, 0, 32, 0},
62
{
"FK_390_U48Imm"
, 0, 48, 0},
63
};
64
}
// end namespace SystemZ
65
}
// end namespace llvm
66
67
#endif
MCFixupKindInfo.h
MCFixup.h
llvm::SystemZ::FixupKind
FixupKind
Definition:
SystemZMCFixups.h:17
llvm::SystemZ::FK_390_U8Imm
@ FK_390_U8Imm
Definition:
SystemZMCFixups.h:33
llvm::SystemZ::FK_390_U32Imm
@ FK_390_U32Imm
Definition:
SystemZMCFixups.h:36
llvm::SystemZ::FK_390_S16Imm
@ FK_390_S16Imm
Definition:
SystemZMCFixups.h:26
llvm::SystemZ::FK_390_U12Imm
@ FK_390_U12Imm
Definition:
SystemZMCFixups.h:34
llvm::SystemZ::FK_390_U16Imm
@ FK_390_U16Imm
Definition:
SystemZMCFixups.h:35
llvm::SystemZ::FK_390_PC32DBL
@ FK_390_PC32DBL
Definition:
SystemZMCFixups.h:22
llvm::SystemZ::FK_390_U2Imm
@ FK_390_U2Imm
Definition:
SystemZMCFixups.h:30
llvm::SystemZ::FK_390_S20Imm
@ FK_390_S20Imm
Definition:
SystemZMCFixups.h:27
llvm::SystemZ::FK_390_U3Imm
@ FK_390_U3Imm
Definition:
SystemZMCFixups.h:31
llvm::SystemZ::FK_390_PC16DBL
@ FK_390_PC16DBL
Definition:
SystemZMCFixups.h:20
llvm::SystemZ::FK_390_PC24DBL
@ FK_390_PC24DBL
Definition:
SystemZMCFixups.h:21
llvm::SystemZ::LastTargetFixupKind
@ LastTargetFixupKind
Definition:
SystemZMCFixups.h:40
llvm::SystemZ::NumTargetFixupKinds
@ NumTargetFixupKinds
Definition:
SystemZMCFixups.h:41
llvm::SystemZ::FK_390_U48Imm
@ FK_390_U48Imm
Definition:
SystemZMCFixups.h:37
llvm::SystemZ::FK_390_TLS_CALL
@ FK_390_TLS_CALL
Definition:
SystemZMCFixups.h:23
llvm::SystemZ::FK_390_PC12DBL
@ FK_390_PC12DBL
Definition:
SystemZMCFixups.h:19
llvm::SystemZ::FK_390_S32Imm
@ FK_390_S32Imm
Definition:
SystemZMCFixups.h:28
llvm::SystemZ::FK_390_U4Imm
@ FK_390_U4Imm
Definition:
SystemZMCFixups.h:32
llvm::SystemZ::FK_390_S8Imm
@ FK_390_S8Imm
Definition:
SystemZMCFixups.h:25
llvm::SystemZ::FK_390_U1Imm
@ FK_390_U1Imm
Definition:
SystemZMCFixups.h:29
llvm::SystemZ::MCFixupKindInfos
static const MCFixupKindInfo MCFixupKindInfos[SystemZ::NumTargetFixupKinds]
Definition:
SystemZMCFixups.h:44
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::FirstTargetFixupKind
@ FirstTargetFixupKind
Definition:
MCFixup.h:45
llvm::MCFixupKindInfo
Target independent information on a fixup kind.
Definition:
MCFixupKindInfo.h:15
llvm::MCFixupKindInfo::FKF_IsPCRel
@ FKF_IsPCRel
Is this fixup kind PCrelative? This is used by the assembler backend to evaluate fixup values in a ta...
Definition:
MCFixupKindInfo.h:19
Generated on Tue Dec 10 2024 13:06:02 for LLVM by
1.9.6