39 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file contains the declaration of the LanaiMCAsmInfo class.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H14#define LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H15 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 Lanai35 36} // namespace llvm37 38#endif // LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCASMINFO_H39