LLVM 22.0.0git
PropertySet.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Error.h"
#include <map>
#include <variant>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::offloading

Typedefs

using llvm::offloading::ByteArray = SmallVector<unsigned char, 0>
using llvm::offloading::PropertyValue = std::variant<uint32_t, ByteArray>
using llvm::offloading::PropertySet = std::map<std::string, PropertyValue>
using llvm::offloading::PropertySetRegistry = std::map<std::string, PropertySet>

Functions

LLVM_ABI void llvm::offloading::writePropertiesToJSON (const PropertySetRegistry &P, raw_ostream &O)
LLVM_ABI Expected< PropertySetRegistryllvm::offloading::readPropertiesFromJSON (MemoryBufferRef Buf)