30 lines · c
1//===-- SPIRVMCAsmInfo.h - SPIR-V 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 SPIRVMCAsmInfo class.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVMCASMINFO_H14#define LLVM_LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVMCASMINFO_H15 16#include "llvm/MC/MCAsmInfo.h"17 18namespace llvm {19 20class Triple;21 22class SPIRVMCAsmInfo : public MCAsmInfo {23public:24 explicit SPIRVMCAsmInfo(const Triple &TT, const MCTargetOptions &Options);25 bool shouldOmitSectionDirective(StringRef SectionName) const override;26};27} // namespace llvm28 29#endif // LLVM_LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVMCASMINFO_H30