11#include "llvm/Config/llvm-config.h"
24 : Begin(Begin), BundleGroupBeforeFirstInst(
false), HasInstructions(
false),
25 HasLayout(
false), IsRegistered(
false), IsText(IsText),
26 IsVirtual(IsVirtual),
Name(
Name), Variant(V) {
29 CurFragList = &Subsections.emplace_back(0u,
FragList{}).second;
41 for (
auto &[
_, Chain] : Subsections) {
51 if (BundleLockNestingDepth == 0) {
54 if (--BundleLockNestingDepth == 0) {
63 BundleLockState = NewState;
65 ++BundleLockNestingDepth;
70#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
75 OS <<
" Fragments:[\n ";
77 for (
auto &
F : *
this) {
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml", "ocaml 3.10-compatible collector")
This file defines the SmallVector class.
Context object for machine code objects.
MCSymbol * createTempSymbol()
Create a temporary symbol with a unique name.
void setParent(MCSection *Value)
virtual StringRef getVirtualSectionKind() const
MCSymbol * getEndSymbol(MCContext &Ctx)
void setBundleLockState(BundleLockStateType NewState)
StringRef getName() const
BundleLockStateType
Express the state of bundle locked groups while emitting code.
MCSection(SectionVariant V, StringRef Name, bool IsText, bool IsVirtual, MCSymbol *Begin)
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
bool isInSection() const
isInSection - Check if this symbol is defined in some section (i.e., it is defined but not absolute).
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
@ First
Helpers to iterate all locations in the MemoryEffectsBase class.