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::MCSectionSPIRV::MCContext
friend class MCContext
Definition
MCSectionSPIRV.h:22
llvm::MCSection::MCSection
MCSection(StringRef Name, bool IsText, bool IsBss, MCSymbol *Begin)
Definition
MCSection.cpp:21
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
for LLVM by
1.14.0