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-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // This file contains the declaration of the SPIRVMCAsmInfo class. |
10 | // |
11 | //===----------------------------------------------------------------------===// |
12 | |
13 | #ifndef LLVM_LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVMCASMINFO_H |
14 | #define LLVM_LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVMCASMINFO_H |
15 | |
16 | #include "llvm/MC/MCAsmInfo.h" |
17 | |
18 | namespace llvm { |
19 | |
20 | class Triple; |
21 | |
22 | class SPIRVMCAsmInfo : public MCAsmInfo { |
23 | public: |
24 | explicit SPIRVMCAsmInfo(const Triple &TT, const MCTargetOptions &Options); |
25 | bool shouldOmitSectionDirective(StringRef SectionName) const override; |
26 | }; |
27 | } // namespace llvm |
28 | |
29 | #endif // LLVM_LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVMCASMINFO_H |
30 | |