13#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVMACHINEFUNCTIONINFO_H
14#define LLVM_LIB_TARGET_SPIRV_SPIRVMACHINEFUNCTIONINFO_H
34 static const 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.
void mapOptional(StringRef Key, T &Val)
void mapRequired(StringRef Key, T &Val)
This is an optimization pass for GlobalISel generic memory operations.
Targets should override this in a way that mirrors the implementation of llvm::MachineFunctionInfo.
static void mapping(IO &YamlIO, SPIRVMachineFunctionInfo &MFI)
static void mapping(IO &YamlIO, SPIRVVRegType &VRegType)
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
SPIRVMachineFunctionInfo()=default
std::vector< SPIRVVRegType > VRegTypes
void mappingImpl(yaml::IO &YamlIO) override
A wrapper around std::string which contains a source range that's being set during parsing.