LLVM 19.0.0git
Classes | Namespaces | Enumerations | Functions | Variables
Remark.h File Reference
#include "llvm-c/Remarks.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/CBindingWrapping.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>
#include <string>

Go to the source code of this file.

Classes

struct  llvm::remarks::RemarkLocation
 The debug location used to track a remark back to the source file. More...
 
struct  llvm::remarks::Argument
 A key-value pair with a debug location that is used to display the remarks at the right place in the source. More...
 
struct  llvm::remarks::Remark
 A remark type used for both emission and parsing. More...
 

Namespaces

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

Enumerations

enum class  llvm::remarks::Type {
  llvm::remarks::Unknown , llvm::remarks::Passed , llvm::remarks::Missed , llvm::remarks::Analysis ,
  llvm::remarks::AnalysisFPCommute , llvm::remarks::AnalysisAliasing , llvm::remarks::Failure , llvm::remarks::First = Unknown ,
  llvm::remarks::Last = Failure
}
 The type of the remark. More...
 

Functions

StringRef llvm::remarks::typeToStr (Type Ty)
 
template<typename T >
bool llvm::remarks::operator< (const std::optional< T > &LHS, const std::optional< T > &RHS)
 Comparison operators for Remark objects and dependent objects.
 
bool llvm::remarks::operator== (const RemarkLocation &LHS, const RemarkLocation &RHS)
 
bool llvm::remarks::operator!= (const RemarkLocation &LHS, const RemarkLocation &RHS)
 
bool llvm::remarks::operator< (const RemarkLocation &LHS, const RemarkLocation &RHS)
 
bool llvm::remarks::operator== (const Argument &LHS, const Argument &RHS)
 
bool llvm::remarks::operator!= (const Argument &LHS, const Argument &RHS)
 
bool llvm::remarks::operator< (const Argument &LHS, const Argument &RHS)
 
bool llvm::remarks::operator== (const Remark &LHS, const Remark &RHS)
 
bool llvm::remarks::operator!= (const Remark &LHS, const Remark &RHS)
 
bool llvm::remarks::operator< (const Remark &LHS, const Remark &RHS)
 
raw_ostream & llvm::remarks::operator<< (raw_ostream &OS, const RemarkLocation &RLoc)
 
raw_ostream & llvm::remarks::operator<< (raw_ostream &OS, const Argument &Arg)
 
raw_ostream & llvm::remarks::operator<< (raw_ostream &OS, const Remark &Remark)
 

Variables

constexpr uint64_t llvm::remarks::CurrentRemarkVersion = 0
 The current version of the remark entry.