//===-- llvm/MC/MCAsmInfo.h - Asm info --------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file contains a class to be used as the basis for target specific // asm writers. This class primarily takes care of global printing constants, // which are used in very similar ways across all targets. // //===----------------------------------------------------------------------===// #ifndef LLVM_MC_MCASMINFO_H #define LLVM_MC_MCASMINFO_H #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCDirectives.h" #include "llvm/MC/MCTargetOptions.h" #include <vector> namespace llvm { class MCContext; class MCCFIInstruction; class MCExpr; class MCSection; class MCStreamer; class MCSubtargetInfo; class MCSymbol; namespace WinEH { enum class EncodingType { … }; } // end namespace WinEH namespace LCOMM { enum LCOMMType { … }; } // end namespace LCOMM /// This class is intended to be used as a base class for asm /// properties and features specific to the target. class MCAsmInfo { … }; } // end namespace llvm #endif // LLVM_MC_MCASMINFO_H