LLVM 24.0.0git
SystemZMCAsmInfo.h
Go to the documentation of this file.
1//====-- SystemZMCAsmInfo.h - SystemZ asm properties -----------*- 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_SYSTEMZMCASMINFO_H
10#define LLVM_LIB_TARGET_SYSTEMZ_MCTARGETDESC_SYSTEMZMCASMINFO_H
11
15
16namespace llvm {
17class Triple;
19
21public:
22 explicit SystemZMCAsmInfoELF(const Triple &TT,
24};
25
27public:
28 explicit SystemZMCAsmInfoGOFF(const Triple &TT,
31 const MCSpecifierExpr &Expr) const override;
33 const MCAssembler *Asm) const override;
35 MCContext &Ctx) const override;
36};
37
38namespace SystemZ {
40enum {
42
52
53 // HLASM docs for address constants:
54 // https://www.ibm.com/docs/en/hla-and-tf/1.6?topic=value-address-constants
55 S_RCon, // Address of ADA of symbol.
56 S_VCon, // Address of external function symbol.
57 S_QCon, // Class-based offset.
58};
59} // namespace SystemZ
60
61} // end namespace llvm
62
63#endif
uint64_t uint64_t
static LVOptions Options
Definition LVOptions.cpp:25
This file defines certain target specific asm properties for GOFF (z/OS) based targets.
MCAsmInfoELF(const MCTargetOptions &Options)
MCAsmInfoGOFF(const MCTargetOptions &Options)
Context object for machine code objects.
Definition MCContext.h:84
Base class for the full range of assembler expressions which are needed for parsing.
Definition MCExpr.h:34
Extension point for target-specific MCExpr subclasses with a relocation specifier,...
Definition MCExpr.h:494
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition MCSymbol.h:42
SystemZMCAsmInfoELF(const Triple &TT, const MCTargetOptions &Options)
bool evaluateAsRelocatableImpl(const MCSpecifierExpr &Expr, MCValue &Res, const MCAssembler *Asm) const override
SystemZMCAsmInfoGOFF(const Triple &TT, const MCTargetOptions &Options)
const MCExpr * getDwarfSectionOffsetExpr(const MCSymbol *Sym, uint64_t Offset, MCContext &Ctx) const override
Return the expression used to emit the offset of Sym + Offset from the start of its DWARF section.
void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override
Triple - Helper class for working with autoconf configuration names.
Definition Triple.h:48
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
This is an optimization pass for GlobalISel generic memory operations.
@ Offset
Definition DWP.cpp:577