26 std::optional<RemarkLocation> RL,
StringRef FunctionName,
49 else if (io.
mapTag(
"!AnalysisFPCommute",
52 else if (io.
mapTag(
"!AnalysisAliasing",
79 static const bool flow =
true;
110 return const_cast<T &
>(
seq[index]);
138 StrTab = std::move(StrTabIn);
149 raw_ostream &
OS, std::optional<StringRef> ExternalFilename) {
150 return std::make_unique<YAMLMetaSerializer>(
OS, ExternalFilename);
162 std::array<char, 8> Version;
164 OS.
write(Version.data(), Version.size());
171 assert(!FilenameBuf.
empty() &&
"The filename can't be empty.");
185 std::array<char, 8> StrTabSizeBuf;
188 OS.write(StrTabSizeBuf.data(), StrTabSizeBuf.size());
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
static const char PassName[]
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.
This class represents an incoming formal argument to a Function.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
pointer data()
Return a pointer to the vector's buffer, even if empty().
StringRef - Represent a constant reference to a string, i.e.
size_t count(char C) const
Return the number of occurrences of C in the string.
This class implements an extremely fast bulk output stream that can only output to a stream.
raw_ostream & write(unsigned char C)
void mapOptional(const char *Key, T &Val)
virtual bool outputting() const =0
virtual bool mapTag(StringRef Tag, bool Default=false)=0
void mapRequired(const char *Key, T &Val)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void write64le(void *P, uint64_t V)
LLVM_ABI void make_absolute(const Twine ¤t_directory, SmallVectorImpl< char > &path)
Make path an absolute path.
This is an optimization pass for GlobalISel generic memory operations.
auto seq(T Begin, T End)
Iterate over an integral type from Begin up to - but not including - End.
Implement std::hash so that hash_code can be used in STL containers.
static void output(const StringBlockVal &S, void *Ctx, raw_ostream &OS)
static StringRef input(StringRef Scalar, void *Ctx, StringBlockVal &S)
This class should be specialized by type that requires custom conversion to/from a YAML literal block...
static void mapping(IO &io, Argument &A)
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
This class should be specialized by type that requires custom conversion to/from a yaml scalar.
static Argument & element(IO &io, ArrayRef< T > &seq, size_t index)
static size_t size(IO &io, ArrayRef< T > &seq)
This class should be specialized by any type that needs to be converted to/from a YAML sequence.
Helper struct for multiline string block literals.
StringBlockVal(StringRef R)