13#ifndef LLVM_TEXTAPI_TEXT_STUB_COMMON_H
14#define LLVM_TEXTAPI_TEXT_STUB_COMMON_H
23using UUID = std::pair<llvm::MachO::Target, std::string>;
33 class ArchitectureSet;
38template <>
struct ScalarTraits<FlowStringRef> {
39 static void output(
const FlowStringRef &,
void *,
raw_ostream &);
44template <>
struct ScalarEnumerationTraits<MachO::ObjCConstraintType> {
48template <>
struct ScalarTraits<MachO::PlatformSet> {
54template <>
struct ScalarBitSetTraits<MachO::ArchitectureSet> {
58template <>
struct ScalarTraits<MachO::Architecture> {
64template <>
struct ScalarTraits<MachO::PackedVersion> {
70template <>
struct ScalarTraits<SwiftVersion> {
71 static void output(
const SwiftVersion &,
void *,
raw_ostream &);
76template <>
struct ScalarTraits<
UUID> {
std::pair< llvm::MachO::Target, std::string > UUID
#define LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(type)
#define LLVM_YAML_STRONG_TYPEDEF(_base, _type)
SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less...
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.
ObjCConstraintType
Defines a list of Objective-C constraints.
Architecture
Defines the architecture slices that are supported by Text-based Stub files.
This is an optimization pass for GlobalISel generic memory operations.
static void bitset(IO &, MachO::ArchitectureSet &)
static void enumeration(IO &, MachO::ObjCConstraintType &)
static QuotingType mustQuote(StringRef)
static void output(const MachO::Architecture &, void *, raw_ostream &)
static StringRef input(StringRef, void *, MachO::Architecture &)
static void output(const MachO::PackedVersion &, void *, raw_ostream &)
static QuotingType mustQuote(StringRef)
static StringRef input(StringRef, void *, MachO::PackedVersion &)