LLVM 24.0.0git
RISCVMCAsmInfo.h
Go to the documentation of this file.
1//===-- RISCVMCAsmInfo.h - RISC-V Asm Info ---------------------*- 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 RISCVMCAsmInfo class.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H
14#define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H
15
18#include "llvm/MC/MCFixup.h"
19
20namespace llvm {
21class Triple;
22
24public:
25 explicit RISCVMCAsmInfo(const Triple &TargetTriple,
27};
28
29namespace RISCV {
31// Specifiers mapping to relocation types below FirstTargetFixupKind are
32// encoded literally, with these exceptions:
33enum {
35 // Specifiers mapping to distinct relocation types.
42 // Vendor-specific relocation types might conflict across vendors.
43 // Refer to them using Specifier constants.
46};
47
50} // namespace RISCV
51
53public:
55};
56
57} // namespace llvm
58
59#endif
static LVOptions Options
Definition LVOptions.cpp:25
static const char * name
MCAsmInfoDarwin(const MCTargetOptions &Options)
MCAsmInfoELF(const Triple &TT, const MCTargetOptions &Options)
RISCVMCAsmInfoDarwin(const MCTargetOptions &Options)
RISCVMCAsmInfo(const Triple &TargetTriple, const MCTargetOptions &Options)
Represent a constant reference to a string, i.e.
Definition StringRef.h:56
Triple - Helper class for working with autoconf configuration names.
Definition Triple.h:48
Specifier parseSpecifierName(StringRef name)
StringRef getSpecifierName(Specifier Kind)
uint16_t Specifier
This is an optimization pass for GlobalISel generic memory operations.
constexpr MCFixupKind FirstTargetFixupKind
Definition MCFixup.h:49