LLVM: include/llvm/MC/MCSectionSPIRV.h Source File (original) (raw)

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

18

19namespace llvm {

20

21class MCSectionSPIRV final : public MCSection {

23

24 MCSectionSPIRV()

26 /*Begin=*/nullptr) {}

27 // TODO: Add StringRef Name to MCSectionSPIRV.

28};

29

30} // end namespace llvm

31

32#endif // LLVM_MC_MCSECTIONSPIRV_H

friend class MCContext

Definition MCSectionSPIRV.h:22

MCSection(StringRef Name, bool IsText, bool IsBss, MCSymbol *Begin)

This is an optimization pass for GlobalISel generic memory operations.