1//=====-- LanaiMCAsmInfo.h - Lanai 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 LanaiMCAsmInfo class.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H
14#define LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H
15
16#include "llvm/MC/MCAsmInfoELF.h"
17
18namespace llvm {
19class Triple;
20
21class LanaiMCAsmInfo : public MCAsmInfoELF {
22 void anchor() override;
23
24public:
25 explicit LanaiMCAsmInfo(const Triple &TheTriple,
26 const MCTargetOptions &Options);
27 void printSpecifierExpr(raw_ostream &OS,
28 const MCSpecifierExpr &Expr) const override;
29};
30
31namespace Lanai {
32using Specifier = uint8_t;
33enum { S_None, S_ABS_HI, S_ABS_LO };
34} // namespace Lanai
35
36} // namespace llvm
37
38#endif // LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H
39