Home
last modified time | relevance | path

Searched refs:RemarkLocation (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemark.h31 struct RemarkLocation { struct
42 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(RemarkLocation, LLVMRemarkDebugLocRef)
51 std::optional<RemarkLocation> Loc;
113 std::optional<RemarkLocation> Loc;
161 inline bool operator==(const RemarkLocation &LHS, const RemarkLocation &RHS) {
167 inline bool operator!=(const RemarkLocation &LHS, const RemarkLocation &RHS) {
171 inline bool operator<(const RemarkLocation &LHS, const RemarkLocation &RHS) {
207 inline raw_ostream &operator<<(raw_ostream &OS, const RemarkLocation &RLoc) {
/freebsd-14.2/contrib/llvm-project/llvm/lib/Remarks/
H A DRemark.cpp39 void RemarkLocation::print(raw_ostream &OS) const { in print()
101 if (const std::optional<RemarkLocation> &Loc = unwrap(Arg)->Loc) in LLVMRemarkArgGetDebugLoc()
132 if (const std::optional<RemarkLocation> &Loc = unwrap(Remark)->Loc) in LLVMRemarkEntryGetDebugLoc()
H A DYAMLRemarkParser.cpp242 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(RemarkField)) in parseRemark()
322 Expected<RemarkLocation>
362 return RemarkLocation{*File, *Line, *Column}; in parseDebugLoc()
372 std::optional<RemarkLocation> Loc; in parseArg()
387 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(ArgEntry)) { in parseArg()
H A DYAMLRemarkSerializer.cpp26 std::optional<RemarkLocation> RL, T FunctionName, in mapRemarkHeader()
77 template <> struct MappingTraits<RemarkLocation> {
78 static void mapping(IO &io, RemarkLocation &RL) { in mapping()
H A DYAMLRemarkParser.h91 Expected<RemarkLocation> parseDebugLoc(yaml::KeyValueNode &Node);
H A DBitstreamRemarkSerializer.cpp282 if (const std::optional<RemarkLocation> &Loc = Remark.Loc) { in emitRemarkBlock()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp49 static std::optional<remarks::RemarkLocation>
56 return remarks::RemarkLocation{File, Line, Col}; in toRemarkLocation()