LLVM
22.0.0git
include
llvm
MC
MCSectionSPIRV.h
Go to the documentation of this file.
1
//===- MCSectionSPIRV.h - SPIR-V Machine Code Sections ----------*- 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 declares the MCSectionSPIRV class.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_MC_MCSECTIONSPIRV_H
14
#define LLVM_MC_MCSECTIONSPIRV_H
15
16
#include "
llvm/MC/MCSection.h
"
17
#include "
llvm/MC/SectionKind.h
"
18
19
namespace
llvm
{
20
21
class
MCSectionSPIRV
final :
public
MCSection
{
22
friend
class
MCContext
;
23
24
MCSectionSPIRV
()
25
:
MCSection
(
""
,
/*IsText=*/
true
,
/*IsVirtual=*/
false
,
26
/*Begin=*/
nullptr) {}
27
// TODO: Add StringRef Name to MCSectionSPIRV.
28
};
29
30
}
// end namespace llvm
31
32
#endif
// LLVM_MC_MCSECTIONSPIRV_H
MCSection.h
SectionKind.h
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCSectionSPIRV
Definition:
MCSectionSPIRV.h:21
llvm::MCSection
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition:
MCSection.h:496
false
Definition:
MachinePipeliner.cpp:239
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
true
Definition:
SPIRVConvergenceRegionAnalysis.cpp:40
Generated on Sat Aug 30 2025 05:10:46 for LLVM by
1.9.6