LLVM 22.0.0git
RemarkFormat.h File Reference

Go to the source code of this file.

Namespaces

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

Enumerations

enum class  llvm::remarks::Format { llvm::remarks::Unknown , llvm::remarks::Auto , llvm::remarks::YAML , llvm::remarks::Bitstream }
 The format used for serializing/deserializing remarks. More...

Functions

constexpr StringLiteral llvm::remarks::Magic ("REMARKS")
LLVM_ABI Expected< Formatllvm::remarks::parseFormat (StringRef FormatStr)
 Parse and validate a string for the remark format.
LLVM_ABI Expected< Formatllvm::remarks::magicToFormat (StringRef Magic)
 Parse and validate a magic number to a remark format.
LLVM_ABI Expected< Formatllvm::remarks::detectFormat (Format Selected, StringRef Magic)
 Detect format based on selected format and magic number.