12#ifndef LLVM_XRAY_YAMLXRAYRECORD_H
13#define LLVM_XRAY_YAMLXRAYRECORD_H
90 static constexpr bool flow =
true;
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.
The instances of the Type class are immutable: once they are created, they are never changed.
void mapOptional(const char *Key, T &Val)
void mapRequired(const char *Key, T &Val)
void enumCase(T &Val, const char *Str, const T ConstVal)
RecordTypes
Determines the supported types of records that could be seen in XRay traces.
This is an optimization pass for GlobalISel generic memory operations.
std::vector< uint64_t > CallArgs
std::vector< YAMLXRayRecord > Records
YAMLXRayFileHeader Header
static constexpr bool flow
static void mapping(IO &IO, xray::YAMLXRayRecord &Record)
static void mapping(IO &IO, xray::YAMLXRayTrace &Trace)
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
static void enumeration(IO &IO, xray::RecordTypes &Type)
This class should be specialized by any integral type that converts to/from a YAML scalar where there...