22#define ECase(X) IO.enumCase(Value, #X, object::X)
36#define ECase(X) IO.enumCase(Value, #X, object::X)
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
This file declares classes for handling the YAML representation of offloading binaries.
LLVM Value Representation.
void mapOptional(const char *Key, T &Val)
virtual bool mapTag(StringRef Tag, bool Default=false)=0
void mapRequired(const char *Key, T &Val)
void * getContext() const
void enumFallback(T &Val)
OffloadKind
The producer of the associated offloading image.
ImageKind
The type of contents the offloading image contains.
This is an optimization pass for GlobalISel generic memory operations.
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
This class should be specialized by any integral type that converts to/from a YAML scalar where there...