LLVM 22.0.0git
XtensaMCAsmInfo.h
Go to the documentation of this file.
1//===-- XtensaMCAsmInfo.h - Xtensa Asm Info --------------------*- C++ -*--===//
2//
3// The LLVM Compiler Infrastructure
4//
5// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6// See https://llvm.org/LICENSE.txt for license information.
7// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8//
9//===----------------------------------------------------------------------===//
10//
11// This file contains the declaration of the XtensaMCAsmInfo class.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSATARGETASMINFO_H
16#define LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSATARGETASMINFO_H
17
19#include "llvm/MC/MCExpr.h"
20
21namespace llvm {
22class Triple;
23class StringRef;
24
26public:
27 explicit XtensaMCAsmInfo(const Triple &TT);
28
30 const MCSpecifierExpr &Expr) const override;
31};
32
33namespace Xtensa {
35
38} // namespace Xtensa
39
40} // namespace llvm
41
42#endif // LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSATARGETASMINFO_H
static const char * name
Extension point for target-specific MCExpr subclasses with a relocation specifier,...
Definition MCExpr.h:495
StringRef - Represent a constant reference to a string, i.e.
Definition StringRef.h:55
Triple - Helper class for working with autoconf configuration names.
Definition Triple.h:47
void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override
XtensaMCAsmInfo(const Triple &TT)
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
StringRef getSpecifierName(uint8_t S)
uint8_t parseSpecifier(StringRef name)
This is an optimization pass for GlobalISel generic memory operations.