LLVM 19.0.0git
Classes | Namespaces | Functions
LLVMRemarkStreamer.h File Reference
#include "llvm/Remarks/Remark.h"
#include "llvm/Support/Error.h"
#include <memory>
#include <optional>
#include <string>

Go to the source code of this file.

Classes

class  llvm::LLVMRemarkStreamer
 Streamer for LLVM remarks which has logic for dealing with DiagnosticInfo objects. More...
 
struct  llvm::LLVMRemarkSetupErrorInfo< ThisError >
 
struct  llvm::LLVMRemarkSetupFileError
 
struct  llvm::LLVMRemarkSetupPatternError
 
struct  llvm::LLVMRemarkSetupFormatError
 

Namespaces

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

Functions

Expected< std::unique_ptr< ToolOutputFile > > llvm::setupLLVMOptimizationRemarks (LLVMContext &Context, StringRef RemarksFilename, StringRef RemarksPasses, StringRef RemarksFormat, bool RemarksWithHotness, std::optional< uint64_t > RemarksHotnessThreshold=0)
 Setup optimization remarks that output to a file.
 
Error llvm::setupLLVMOptimizationRemarks (LLVMContext &Context, raw_ostream &OS, StringRef RemarksPasses, StringRef RemarksFormat, bool RemarksWithHotness, std::optional< uint64_t > RemarksHotnessThreshold=0)
 Setup optimization remarks that output directly to a raw_ostream.