brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 3d681c1 Raw
43 lines · c
1//===-- XtensaMCAsmInfo.h - Xtensa Asm Info --------------------*- C++ -*--===//2//3//                     The LLVM Compiler Infrastructure4//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-exception8//9//===----------------------------------------------------------------------===//10//11// This file contains the declaration of the XtensaMCAsmInfo class.12//13//===----------------------------------------------------------------------===//14 15#ifndef LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSATARGETASMINFO_H16#define LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSATARGETASMINFO_H17 18#include "llvm/MC/MCAsmInfoELF.h"19#include "llvm/MC/MCExpr.h"20 21namespace llvm {22class Triple;23class StringRef;24 25class XtensaMCAsmInfo : public MCAsmInfoELF {26public:27  explicit XtensaMCAsmInfo(const Triple &TT);28 29  void printSpecifierExpr(raw_ostream &OS,30                          const MCSpecifierExpr &Expr) const override;31};32 33namespace Xtensa {34enum Specifier { S_None, S_TPOFF };35 36uint8_t parseSpecifier(StringRef name);37StringRef getSpecifierName(uint8_t S);38} // namespace Xtensa39 40} // namespace llvm41 42#endif // LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSATARGETASMINFO_H43