|
|
|||
File indexing completed on 2026-05-10 08:44:15
0001 //===- MCSectionSPIRV.h - SPIR-V Machine Code Sections ----------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 // 0009 // This file declares the MCSectionSPIRV class. 0010 // 0011 //===----------------------------------------------------------------------===// 0012 0013 #ifndef LLVM_MC_MCSECTIONSPIRV_H 0014 #define LLVM_MC_MCSECTIONSPIRV_H 0015 0016 #include "llvm/MC/MCSection.h" 0017 #include "llvm/MC/SectionKind.h" 0018 0019 namespace llvm { 0020 0021 class MCSymbol; 0022 0023 class MCSectionSPIRV final : public MCSection { 0024 friend class MCContext; 0025 0026 MCSectionSPIRV() 0027 : MCSection(SV_SPIRV, "", /*IsText=*/true, /*IsVirtual=*/false, 0028 /*Begin=*/nullptr) {} 0029 // TODO: Add StringRef Name to MCSectionSPIRV. 0030 0031 public: 0032 ~MCSectionSPIRV() = default; 0033 void printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, 0034 raw_ostream &OS, 0035 uint32_t Subsection) const override {} 0036 bool useCodeAlign() const override { return false; } 0037 }; 0038 0039 } // end namespace llvm 0040 0041 #endif // LLVM_MC_MCSECTIONSPIRV_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|