LLVM 24.0.0git
SparcMCAsmInfo.h
Go to the documentation of this file.
1//===- SparcMCAsmInfo.h - Sparc 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 SparcMCAsmInfo class.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
14#define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
15
17
18namespace llvm {
19
20class Triple;
21
23 void anchor() override;
24
25public:
26 explicit SparcELFMCAsmInfo(const Triple &TheTriple,
28
30 const MCSpecifierExpr &Expr) const override;
31};
32
33namespace Sparc {
36} // namespace Sparc
37
38} // end namespace llvm
39
40#endif // LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
static LVOptions Options
Definition LVOptions.cpp:25
static const char * name
MCAsmInfoELF(const MCTargetOptions &Options)
Extension point for target-specific MCExpr subclasses with a relocation specifier,...
Definition MCExpr.h:494
SparcELFMCAsmInfo(const Triple &TheTriple, const MCTargetOptions &Options)
void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override
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
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
uint16_t parseSpecifier(StringRef name)
StringRef getSpecifierName(uint16_t S)
This is an optimization pass for GlobalISel generic memory operations.