LLVM 22.0.0git
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
19namespace llvm {
20
21class MCSectionSPIRV final : public MCSection {
22 friend class MCContext;
23
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
Context object for machine code objects.
Definition: MCContext.h:83
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition: MCSection.h:496
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18