LLVM 24.0.0git
MCAsmInfoDarwin.h
Go to the documentation of this file.
1//===- MCAsmInfoDarwin.h - Darwin asm properties ----------------*- 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 defines target asm properties related what form asm statements
10// should take in general on Darwin-based targets
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_MC_MCASMINFODARWIN_H
15#define LLVM_MC_MCASMINFODARWIN_H
16
17#include "llvm/MC/MCAsmInfo.h"
18
19namespace llvm {
20
22public:
24
25 static void printSwitchToSectionImpl(const MCAsmInfo &, const MCSection &,
26 uint32_t, const Triple &,
27 raw_ostream &OS);
28
29 /// True if the section is atomized using the symbols in it.
30 /// This is false if the section is atomized based on its contents (MachO' __TEXT,__cstring for
31 /// example).
32 static bool isSectionAtomizableBySymbols(const MCSection &Section);
33};
34
35} // end namespace llvm
36
37#endif // LLVM_MC_MCASMINFODARWIN_H
#define LLVM_ABI
Definition Compiler.h:211
static LVOptions Options
Definition LVOptions.cpp:25
static bool isSectionAtomizableBySymbols(const MCSection &Section)
True if the section is atomized using the symbols in it.
MCAsmInfoDarwin(const MCTargetOptions &Options)
static void printSwitchToSectionImpl(const MCAsmInfo &, const MCSection &, uint32_t, const Triple &, raw_ostream &OS)
MCAsmInfo(const MCTargetOptions &Options)
Definition MCAsmInfo.cpp:28
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition MCSection.h:577
Triple - Helper class for working with autoconf configuration names.
Definition Triple.h:48
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
This is an optimization pass for GlobalISel generic memory operations.