LLVM  10.0.0svn
Classes | Namespaces | Functions
YAMLRemarkSerializer.cpp File Reference
#include "llvm/Remarks/YAMLRemarkSerializer.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for YAMLRemarkSerializer.cpp:

Go to the source code of this file.

Classes

struct  llvm::yaml::MappingTraits< remarks::Remark * >
 
struct  llvm::yaml::MappingTraits< RemarkLocation >
 
struct  llvm::yaml::StringBlockVal
 Helper struct for multiline string block literals. More...
 
struct  llvm::yaml::BlockScalarTraits< StringBlockVal >
 
struct  llvm::yaml::SequenceTraits< ArrayRef< T > >
 ArrayRef is not really compatible with the YAMLTraits. More...
 
struct  llvm::yaml::MappingTraits< Argument >
 Implement this as a mapping for now to get proper quotation for the value. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::yaml
 

Functions

template<typename T >
static void mapRemarkHeader (yaml::IO &io, T PassName, T RemarkName, Optional< RemarkLocation > RL, T FunctionName, Optional< uint64_t > Hotness, ArrayRef< Argument > Args)
 
static void emitMagic (raw_ostream &OS)
 
static void emitVersion (raw_ostream &OS)
 
static void emitStrTab (raw_ostream &OS, Optional< const StringTable *> StrTab)
 
static void emitExternalFile (raw_ostream &OS, StringRef Filename)
 

Function Documentation

◆ emitExternalFile()

static void emitExternalFile ( raw_ostream OS,
StringRef  Filename 
)
static

◆ emitMagic()

static void emitMagic ( raw_ostream OS)
static

◆ emitStrTab()

static void emitStrTab ( raw_ostream OS,
Optional< const StringTable *>  StrTab 
)
static

◆ emitVersion()

static void emitVersion ( raw_ostream OS)
static

◆ mapRemarkHeader()

template<typename T >
static void mapRemarkHeader ( yaml::IO &  io,
T  PassName,
T  RemarkName,
Optional< RemarkLocation RL,
T  FunctionName,
Optional< uint64_t >  Hotness,
ArrayRef< Argument Args 
)
static