LLVM 20.0.0git
|
Go to the source code of this file.
Classes | |
struct | llvm::yaml::ScalarTraits< FixedSizeHex< N > > |
struct | llvm::yaml::ScalarTraits< FixedSizeString< N > > |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::yaml |
Macros | |
#define | HANDLE_MDMP_PROTECT(CODE, NAME, NATIVENAME) IO.bitSetCase(Protect, #NATIVENAME, MemoryProtection::NAME); |
#define | HANDLE_MDMP_MEMSTATE(CODE, NAME, NATIVENAME) IO.bitSetCase(State, #NATIVENAME, MemoryState::NAME); |
#define | HANDLE_MDMP_MEMTYPE(CODE, NAME, NATIVENAME) IO.bitSetCase(Type, #NATIVENAME, MemoryType::NAME); |
#define | HANDLE_MDMP_ARCH(CODE, NAME) IO.enumCase(Arch, #NAME, ProcessorArchitecture::NAME); |
#define | HANDLE_MDMP_PLATFORM(CODE, NAME) IO.enumCase(Plat, #NAME, OSPlatform::NAME); |
#define | HANDLE_MDMP_STREAM_TYPE(CODE, NAME) IO.enumCase(Type, #NAME, StreamType::NAME); |
Functions | |
template<typename EndianType > | |
static void | mapOptional (yaml::IO &IO, const char *Key, EndianType &Val, typename EndianType::value_type Default) |
Perform an optional yaml-mapping of an endian-aware type EndianType. | |
template<typename MapType , typename EndianType > | |
static void | mapRequiredAs (yaml::IO &IO, const char *Key, EndianType &Val) |
Yaml-map an endian-aware type EndianType as some other type MapType. | |
template<typename MapType , typename EndianType > | |
static void | mapOptionalAs (yaml::IO &IO, const char *Key, EndianType &Val, MapType Default) |
Perform an optional yaml-mapping of an endian-aware type EndianType as some other type MapType. | |
template<typename EndianType > | |
static void | mapRequiredHex (yaml::IO &IO, const char *Key, EndianType &Val) |
Yaml-map an endian-aware type as an appropriately-sized hex value. | |
template<typename EndianType > | |
static void | mapOptionalHex (yaml::IO &IO, const char *Key, EndianType &Val, typename EndianType::value_type Default) |
Perform an optional yaml-mapping of an endian-aware type as an appropriately-sized hex value. | |
static void | streamMapping (yaml::IO &IO, RawContentStream &Stream) |
static std::string | streamValidate (RawContentStream &Stream) |
static void | streamMapping (yaml::IO &IO, MemoryInfoListStream &Stream) |
static void | streamMapping (yaml::IO &IO, MemoryListStream &Stream) |
static void | streamMapping (yaml::IO &IO, Memory64ListStream &Stream) |
static std::string | streamValidate (Memory64ListStream &Stream) |
static void | streamMapping (yaml::IO &IO, SystemInfoStream &Stream) |
static void | streamMapping (yaml::IO &IO, TextContentStream &Stream) |
static void | streamMapping (yaml::IO &IO, MinidumpYAML::ExceptionStream &Stream) |
#define HANDLE_MDMP_ARCH | ( | CODE, | |
NAME | |||
) | IO.enumCase(Arch, #NAME, ProcessorArchitecture::NAME); |
#define HANDLE_MDMP_MEMSTATE | ( | CODE, | |
NAME, | |||
NATIVENAME | |||
) | IO.bitSetCase(State, #NATIVENAME, MemoryState::NAME); |
#define HANDLE_MDMP_MEMTYPE | ( | CODE, | |
NAME, | |||
NATIVENAME | |||
) | IO.bitSetCase(Type, #NATIVENAME, MemoryType::NAME); |
#define HANDLE_MDMP_PLATFORM | ( | CODE, | |
NAME | |||
) | IO.enumCase(Plat, #NAME, OSPlatform::NAME); |
#define HANDLE_MDMP_PROTECT | ( | CODE, | |
NAME, | |||
NATIVENAME | |||
) | IO.bitSetCase(Protect, #NATIVENAME, MemoryProtection::NAME); |
#define HANDLE_MDMP_STREAM_TYPE | ( | CODE, | |
NAME | |||
) | IO.enumCase(Type, #NAME, StreamType::NAME); |
|
inlinestatic |
Perform an optional yaml-mapping of an endian-aware type EndianType.
The only purpose of this function is to avoid casting the Default value to the endian type;
Definition at line 19 of file MinidumpYAML.cpp.
References Default.
Referenced by streamMapping().
|
inlinestatic |
Perform an optional yaml-mapping of an endian-aware type EndianType as some other type MapType.
Definition at line 36 of file MinidumpYAML.cpp.
References Default.
|
inlinestatic |
Perform an optional yaml-mapping of an endian-aware type as an appropriately-sized hex value.
Definition at line 61 of file MinidumpYAML.cpp.
References Default.
Referenced by streamMapping().
|
inlinestatic |
Yaml-map an endian-aware type EndianType as some other type MapType.
Definition at line 26 of file MinidumpYAML.cpp.
|
inlinestatic |
Yaml-map an endian-aware type as an appropriately-sized hex value.
Definition at line 53 of file MinidumpYAML.cpp.
Referenced by streamMapping().
|
static |
Definition at line 324 of file MinidumpYAML.cpp.
|
static |
Definition at line 316 of file MinidumpYAML.cpp.
|
static |
Definition at line 320 of file MinidumpYAML.cpp.
|
static |
Definition at line 402 of file MinidumpYAML.cpp.
References mapRequiredHex().
|
static |
Definition at line 299 of file MinidumpYAML.cpp.
|
static |
Definition at line 340 of file MinidumpYAML.cpp.
References Info, mapOptional(), and mapOptionalHex().
|
static |
Definition at line 370 of file MinidumpYAML.cpp.
|
static |
Definition at line 328 of file MinidumpYAML.cpp.
|
static |
Definition at line 304 of file MinidumpYAML.cpp.