LLVM  9.0.0svn
Functions
RemarkStreamer.cpp File Reference
#include "llvm/IR/RemarkStreamer.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/Remarks/RemarkFormat.h"
Include dependency graph for RemarkStreamer.cpp:

Go to the source code of this file.

Functions

static remarks::Type toRemarkType (enum DiagnosticKind Kind)
 DiagnosticKind -> remarks::Type. More...
 
static Optional< remarks::RemarkLocationtoRemarkLocation (const DiagnosticLocation &DL)
 DiagnosticLocation -> remarks::RemarkLocation. More...
 
static std::unique_ptr< remarks::SerializerformatToSerializer (remarks::Format RemarksFormat, raw_ostream &OS)
 

Function Documentation

◆ formatToSerializer()

static std::unique_ptr<remarks::Serializer> formatToSerializer ( remarks::Format  RemarksFormat,
raw_ostream OS 
)
static

Definition at line 110 of file RemarkStreamer.cpp.

References llvm_unreachable, and llvm::remarks::YAML.

Referenced by llvm::setupOptimizationRemarks().

◆ toRemarkLocation()

static Optional<remarks::RemarkLocation> toRemarkLocation ( const DiagnosticLocation DL)
static

◆ toRemarkType()

static remarks::Type toRemarkType ( enum DiagnosticKind  Kind)
static