Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/include/llvm/Remarks/
DRemarkStreamer.h46 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer; variable
51 RemarkStreamer(std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer,
59 raw_ostream &getStream() { return RemarkSerializer->OS; } in getStream()
61 remarks::RemarkSerializer &getSerializer() { return *RemarkSerializer; } in getSerializer()
DRemarkSerializer.h38 struct RemarkSerializer { struct
49 RemarkSerializer(Format SerializerFormat, raw_ostream &OS, in RemarkSerializer() argument
54 virtual ~RemarkSerializer() = default;
76 Expected<std::unique_ptr<RemarkSerializer>>
81 Expected<std::unique_ptr<RemarkSerializer>>
DYAMLRemarkSerializer.h33 struct YAMLRemarkSerializer : public RemarkSerializer {
45 static bool classof(const RemarkSerializer *S) { in classof()
88 static bool classof(const RemarkSerializer *S) { in classof()
DBitstreamRemarkSerializer.h122 struct BitstreamRemarkSerializer : public RemarkSerializer {
152 static bool classof(const RemarkSerializer *S) { in classof()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DRemarkStreamer.cpp33 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer, in RemarkStreamer() argument
35 : PassFilter(), RemarkSerializer(std::move(RemarkSerializer)), in RemarkStreamer()
112 RemarkSerializer->emit(R); in emit()
125 if (RemarkSerializer->Mode != remarks::SerializerMode::Separate) in needsSection()
131 switch (RemarkSerializer->SerializerFormat) { in needsSection()
172 Expected<std::unique_ptr<remarks::RemarkSerializer>> RemarkSerializer = in setupOptimizationRemarks() local
175 if (Error E = RemarkSerializer.takeError()) in setupOptimizationRemarks()
179 std::move(*RemarkSerializer), RemarksFilename)); in setupOptimizationRemarks()
203 Expected<std::unique_ptr<remarks::RemarkSerializer>> RemarkSerializer = in setupOptimizationRemarks() local
206 if (Error E = RemarkSerializer.takeError()) in setupOptimizationRemarks()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DRemarkStreamer.h31 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer; variable
41 RemarkStreamer(std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer,
48 raw_ostream &getStream() { return RemarkSerializer->OS; } in getStream()
50 remarks::RemarkSerializer &getSerializer() { return *RemarkSerializer; } in getSerializer()
/external/llvm-project/llvm/lib/Remarks/
DRemarkStreamer.cpp27 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer, in RemarkStreamer() argument
29 : PassFilter(), RemarkSerializer(std::move(RemarkSerializer)), in RemarkStreamer()
59 if (RemarkSerializer->Mode != remarks::SerializerMode::Separate) in needsSection()
65 switch (RemarkSerializer->SerializerFormat) { in needsSection()
DRemarkSerializer.cpp20 Expected<std::unique_ptr<RemarkSerializer>>
37 Expected<std::unique_ptr<RemarkSerializer>>
DYAMLRemarkSerializer.cpp60 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
85 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
140 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
168 : RemarkSerializer(SerializerFormat, OS, Mode), in YAMLRemarkSerializer()
DRemarkLinker.cpp114 Expected<std::unique_ptr<RemarkSerializer>> MaybeSerializer = in serialize()
120 std::unique_ptr<remarks::RemarkSerializer> Serializer = in serialize()
DCMakeLists.txt8 RemarkSerializer.cpp
DBitstreamRemarkSerializer.cpp329 : RemarkSerializer(Format::Bitstream, OS, Mode), in BitstreamRemarkSerializer()
341 : RemarkSerializer(Format::Bitstream, OS, Mode), in BitstreamRemarkSerializer()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
DRemarkSerializer.h38 struct RemarkSerializer { struct
49 RemarkSerializer(Format SerializerFormat, raw_ostream &OS, in RemarkSerializer() argument
54 virtual ~RemarkSerializer() = default;
76 Expected<std::unique_ptr<RemarkSerializer>>
81 Expected<std::unique_ptr<RemarkSerializer>>
DYAMLRemarkSerializer.h33 struct YAMLRemarkSerializer : public RemarkSerializer {
45 static bool classof(const RemarkSerializer *S) { in classof()
88 static bool classof(const RemarkSerializer *S) { in classof()
DBitstreamRemarkSerializer.h122 struct BitstreamRemarkSerializer : public RemarkSerializer {
152 static bool classof(const RemarkSerializer *S) { in classof()
/external/llvm-project/llvm/lib/IR/
DLLVMRemarkStreamer.cpp118 Expected<std::unique_ptr<remarks::RemarkSerializer>> RemarkSerializer = in setupLLVMOptimizationRemarks() local
121 if (Error E = RemarkSerializer.takeError()) in setupLLVMOptimizationRemarks()
126 std::move(*RemarkSerializer), RemarksFilename)); in setupLLVMOptimizationRemarks()
152 Expected<std::unique_ptr<remarks::RemarkSerializer>> RemarkSerializer = in setupLLVMOptimizationRemarks() local
155 if (Error E = RemarkSerializer.takeError()) in setupLLVMOptimizationRemarks()
160 std::make_unique<remarks::RemarkStreamer>(std::move(*RemarkSerializer))); in setupLLVMOptimizationRemarks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DRemarkSerializer.cpp20 Expected<std::unique_ptr<RemarkSerializer>>
37 Expected<std::unique_ptr<RemarkSerializer>>
DYAMLRemarkSerializer.cpp60 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
85 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
140 reinterpret_cast<RemarkSerializer *>(io.getContext()))) { in mapping()
168 : RemarkSerializer(SerializerFormat, OS, Mode), in YAMLRemarkSerializer()
DRemarkLinker.cpp114 Expected<std::unique_ptr<RemarkSerializer>> MaybeSerializer = in serialize()
120 std::unique_ptr<remarks::RemarkSerializer> Serializer = in serialize()
DCMakeLists.txt8 RemarkSerializer.cpp
DBitstreamRemarkSerializer.cpp329 : RemarkSerializer(Format::Bitstream, OS, Mode), in BitstreamRemarkSerializer()
341 : RemarkSerializer(Format::Bitstream, OS, Mode), in BitstreamRemarkSerializer()
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/Remarks/
DBUILD.gn15 "RemarkSerializer.cpp",
/external/llvm-project/llvm/unittests/Remarks/
DBitstreamRemarksSerializerTest.cpp41 Expected<std::unique_ptr<remarks::RemarkSerializer>> MaybeSerializer = [&] { in check()
49 std::unique_ptr<remarks::RemarkSerializer> Serializer = in check()
DYAMLRemarksSerializerTest.cpp31 Expected<std::unique_ptr<remarks::RemarkSerializer>> MaybeS = [&] { in check()
39 std::unique_ptr<remarks::RemarkSerializer> S = std::move(*MaybeS); in check()
DBitstreamRemarksParsingTest.cpp50 Expected<std::unique_ptr<remarks::RemarkSerializer>> BSSerializer = in parseGood()
258 Expected<std::unique_ptr<remarks::RemarkSerializer>> BSSerializer = in TEST()

12