LLVM
20.0.0git
include
llvm
MC
MCSectionDXContainer.h
Go to the documentation of this file.
1
//===- MCSectionDXContainer.h - DXContainer MC 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 MCSectionDXContainer class.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_MC_MCSECTIONDXCONTAINER_H
14
#define LLVM_MC_MCSECTIONDXCONTAINER_H
15
16
#include "
llvm/MC/MCSection.h
"
17
#include "
llvm/MC/SectionKind.h
"
18
19
namespace
llvm
{
20
21
class
MCSymbol
;
22
23
class
MCSectionDXContainer
final :
public
MCSection
{
24
friend
class
MCContext
;
25
26
MCSectionDXContainer
(
StringRef
Name
,
SectionKind
K,
MCSymbol
*Begin)
27
:
MCSection
(
SV_DXContainer
,
Name
, K.
isText
(),
/*IsVirtual=*/
false
,
28
Begin) {}
29
30
public
:
31
void
printSwitchToSection
(
const
MCAsmInfo
&,
const
Triple
&,
raw_ostream
&,
32
uint32_t
)
const override
;
33
bool
useCodeAlign
()
const override
{
return
false
; }
34
};
35
36
}
// end namespace llvm
37
38
#endif
// LLVM_MC_MCSECTIONDXCONTAINER_H
MCSection.h
SectionKind.h
llvm::MCAsmInfo
This class is intended to be used as a base class for asm properties and features specific to the tar...
Definition:
MCAsmInfo.h:56
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCSectionDXContainer
Definition:
MCSectionDXContainer.h:23
llvm::MCSectionDXContainer::printSwitchToSection
void printSwitchToSection(const MCAsmInfo &, const Triple &, raw_ostream &, uint32_t) const override
Definition:
MCSectionDXContainer.cpp:13
llvm::MCSectionDXContainer::useCodeAlign
bool useCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
Definition:
MCSectionDXContainer.h:33
llvm::MCSection
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition:
MCSection.h:36
llvm::MCSection::isText
bool isText() const
Definition:
MCSection.h:131
llvm::MCSection::Name
StringRef Name
Definition:
MCSection.h:119
llvm::MCSection::SV_DXContainer
@ SV_DXContainer
Definition:
MCSection.h:50
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition:
MCSymbol.h:41
llvm::SectionKind
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition:
SectionKind.h:22
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition:
StringRef.h:50
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition:
Triple.h:44
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition:
raw_ostream.h:52
uint32_t
false
Definition:
StackSlotColoring.cpp:194
llvm::ISD::MCSymbol
@ MCSymbol
Definition:
ISDOpcodes.h:178
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Wed Nov 20 2024 23:55:37 for LLVM by
1.9.6