Home
last modified time | relevance | path

Searched refs:RemarkSerializer (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkStreamer.h48 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer; variable
53 RemarkStreamer(std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer,
61 raw_ostream &getStream() { return RemarkSerializer->OS; } in getStream()
63 remarks::RemarkSerializer &getSerializer() { return *RemarkSerializer; } in getSerializer()
H A DRemarkSerializer.h42 struct RemarkSerializer { struct
53 RemarkSerializer(Format SerializerFormat, raw_ostream &OS, in RemarkSerializer() argument
58 virtual ~RemarkSerializer() = default;
80 Expected<std::unique_ptr<RemarkSerializer>>
85 Expected<std::unique_ptr<RemarkSerializer>>
H A DYAMLRemarkSerializer.h34 struct YAMLRemarkSerializer : public RemarkSerializer {
46 static bool classof(const RemarkSerializer *S) { in classof()
89 static bool classof(const RemarkSerializer *S) { in classof()
H A DBitstreamRemarkSerializer.h124 struct BitstreamRemarkSerializer : public RemarkSerializer {
154 static bool classof(const RemarkSerializer *S) { in classof()
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkStreamer.cpp28 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer, in RemarkStreamer() argument
30 : RemarkSerializer(std::move(RemarkSerializer)), in RemarkStreamer()
61 if (RemarkSerializer->Mode != remarks::SerializerMode::Separate) in needsSection()
67 switch (RemarkSerializer->SerializerFormat) { in needsSection()
H A DRemarkSerializer.cpp20 Expected<std::unique_ptr<RemarkSerializer>>
37 Expected<std::unique_ptr<RemarkSerializer>>
H A DYAMLRemarkSerializer.cpp62 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
86 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
140 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
167 : RemarkSerializer(SerializerFormat, OS, Mode), in YAMLRemarkSerializer()
H A DRemarkLinker.cpp118 Expected<std::unique_ptr<RemarkSerializer>> MaybeSerializer = in serialize()
124 std::unique_ptr<remarks::RemarkSerializer> Serializer = in serialize()
H A DBitstreamRemarkSerializer.cpp331 : RemarkSerializer(Format::Bitstream, OS, Mode), in BitstreamRemarkSerializer()
343 : RemarkSerializer(Format::Bitstream, OS, Mode), in BitstreamRemarkSerializer()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp121 Expected<std::unique_ptr<remarks::RemarkSerializer>> RemarkSerializer = in setupLLVMOptimizationRemarks() local
124 if (Error E = RemarkSerializer.takeError()) in setupLLVMOptimizationRemarks()
129 std::move(*RemarkSerializer), RemarksFilename)); in setupLLVMOptimizationRemarks()
155 Expected<std::unique_ptr<remarks::RemarkSerializer>> RemarkSerializer = in setupLLVMOptimizationRemarks() local
158 if (Error E = RemarkSerializer.takeError()) in setupLLVMOptimizationRemarks()
163 std::make_unique<remarks::RemarkStreamer>(std::move(*RemarkSerializer))); in setupLLVMOptimizationRemarks()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2260 remarks::RemarkSerializer &RemarkSerializer = RS.getSerializer(); in emitRemarksSection() local
2272 Filename ? RemarkSerializer.metaSerializer(OS, Filename->str()) in emitRemarksSection()
2273 : RemarkSerializer.metaSerializer(OS); in emitRemarksSection()
/freebsd/lib/clang/libllvm/
H A DMakefile1075 SRCS_MIN+= Remarks/RemarkSerializer.cpp