13 #ifndef LLVM_REMARKS_REMARK_LINKER_H 14 #define LLVM_REMARKS_REMARK_LINKER_H 30 struct RemarkPtrCompare {
31 bool operator()(
const std::unique_ptr<Remark> &LHS,
32 const std::unique_ptr<Remark> &RHS)
const {
33 assert(LHS && RHS &&
"Invalid pointers to compare.");
47 std::set<std::unique_ptr<Remark>, RemarkPtrCompare> Remarks;
78 bool empty()
const {
return Remarks.empty(); }
87 return {Remarks.begin(), Remarks.end()};
This class represents lattice values for constants.
This class is the base class for all object file types.
Tagged union holding either a T or a Error.
An iterator type that allows iterating over the pointees via some other iterator. ...
A range adaptor for a pair of iterators.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
cl::opt< std::string > RemarksFormat("lto-pass-remarks-format", cl::desc("The format used for serializing remarks (default: YAML)"), cl::value_desc("format"), cl::init("yaml"))
Lightweight error class with error context and mandatory checking.
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.