LLVM 23.0.0git
VEMCAsmInfo.h
Go to the documentation of this file.
1//===- VEMCAsmInfo.h - VE 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// This file contains the declaration of the VEMCAsmInfo class.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_VE_MCTARGETDESC_VEMCASMINFO_H
14#define LLVM_LIB_TARGET_VE_MCTARGETDESC_VEMCASMINFO_H
15
16#include "VEFixupKinds.h"
18#include "llvm/MC/MCExpr.h"
19
20namespace llvm {
21
22class Triple;
23
25 void anchor() override;
26
27public:
28 explicit VEELFMCAsmInfo(const Triple &TheTriple,
31 const MCSpecifierExpr &Expr) const override;
33 const MCAssembler *Asm) const override;
34};
35
36namespace VE {
39
41 S_HI32, // @hi
42 S_LO32, // @lo
43 S_PC_HI32, // @pc_hi
44 S_PC_LO32, // @pc_lo
45 S_GOT_HI32, // @got_hi
46 S_GOT_LO32, // @got_lo
47 S_GOTOFF_HI32, // @gotoff_hi
48 S_GOTOFF_LO32, // @gotoff_lo
49 S_PLT_HI32, // @plt_hi
50 S_PLT_LO32, // @plt_lo
51 S_TLS_GD_HI32, // @tls_gd_hi
52 S_TLS_GD_LO32, // @tls_gd_lo
53 S_TPOFF_HI32, // @tpoff_hi
54 S_TPOFF_LO32, // @tpoff_lo
55};
56
58} // namespace VE
59} // namespace llvm
60
61#endif // LLVM_LIB_TARGET_VE_MCTARGETDESC_VEMCASMINFO_H
static LVOptions Options
Definition LVOptions.cpp:25
MCAsmInfoELF(const MCTargetOptions &Options)
Extension point for target-specific MCExpr subclasses with a relocation specifier,...
Definition MCExpr.h:495
Triple - Helper class for working with autoconf configuration names.
Definition Triple.h:47
void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override
bool evaluateAsRelocatableImpl(const MCSpecifierExpr &Expr, MCValue &Res, const MCAssembler *Asm) const override
VEELFMCAsmInfo(const Triple &TheTriple, const MCTargetOptions &Options)
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
VE::Fixups getFixupKind(uint8_t S)
@ S_GOTOFF_LO32
Definition VEMCAsmInfo.h:48
@ S_TLS_GD_LO32
Definition VEMCAsmInfo.h:52
@ S_TLS_GD_HI32
Definition VEMCAsmInfo.h:51
@ S_GOTOFF_HI32
Definition VEMCAsmInfo.h:47
This is an optimization pass for GlobalISel generic memory operations.