Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemark.h32 struct RemarkLocation { struct
43 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(RemarkLocation, LLVMRemarkDebugLocRef)
52 std::optional<RemarkLocation> Loc;
114 std::optional<RemarkLocation> Loc;
162 inline bool operator==(const RemarkLocation &LHS, const RemarkLocation &RHS) {
168 inline bool operator!=(const RemarkLocation &LHS, const RemarkLocation &RHS) {
172 inline bool operator<(const RemarkLocation &LHS, const RemarkLocation &RHS) {
208 inline raw_ostream &operator<<(raw_ostream &OS, const RemarkLocation &RLoc) {
/freebsd/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 DYAMLRemarkSerializer.cpp26 std::optional<RemarkLocation> RL, StringRef FunctionName, in mapRemarkHeader()
65 template <> struct MappingTraits<RemarkLocation> {
66 static void mapping(IO &io, RemarkLocation &RL) { in mapping()
H A DYAMLRemarkParser.cpp217 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(RemarkField)) in parseRemark()
297 Expected<RemarkLocation>
337 return RemarkLocation{*File, *Line, *Column}; in parseDebugLoc()
347 std::optional<RemarkLocation> Loc; in parseArg()
362 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(ArgEntry)) { in parseArg()
H A DYAMLRemarkParser.h88 Expected<RemarkLocation> parseDebugLoc(yaml::KeyValueNode &Node);
H A DBitstreamRemarkSerializer.cpp282 if (const std::optional<RemarkLocation> &Loc = Remark.Loc) { in emitRemarkBlock()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp49 static std::optional<remarks::RemarkLocation>
56 return remarks::RemarkLocation{File, Line, Col}; in toRemarkLocation()