#include "llvm/Remarks/Remark.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ToolOutputFile.h"
#include <memory>
#include <optional>
#include <string>
Go to the source code of this file.
|  | 
| namespace | llvm | 
|  | This is an optimization pass for GlobalISel generic memory operations. 
 | 
|  | 
| LLVM_ABI Expected< LLVMRemarkFileHandle > | llvm::setupLLVMOptimizationRemarks (LLVMContext &Context, StringRef RemarksFilename, StringRef RemarksPasses, StringRef RemarksFormat, bool RemarksWithHotness, std::optional< uint64_t > RemarksHotnessThreshold=0) | 
|  | Set up optimization remarks that output to a file. 
 | 
| LLVM_ABI Error | llvm::setupLLVMOptimizationRemarks (LLVMContext &Context, raw_ostream &OS, StringRef RemarksPasses, StringRef RemarksFormat, bool RemarksWithHotness, std::optional< uint64_t > RemarksHotnessThreshold=0) | 
|  | Set up optimization remarks that output directly to a raw_ostream. 
 | 
| LLVM_ABI void | llvm::finalizeLLVMOptimizationRemarks (LLVMContext &Context) | 
|  | Finalize optimization remarks and deregister the RemarkStreamer from the Context.
 |