Home
last modified time | relevance | path

Searched refs:remarks (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp26 static remarks::Type toRemarkType(enum DiagnosticKind Kind) { in toRemarkType()
29 return remarks::Type::Unknown; in toRemarkType()
32 return remarks::Type::Passed; in toRemarkType()
35 return remarks::Type::Missed; in toRemarkType()
38 return remarks::Type::Analysis; in toRemarkType()
40 return remarks::Type::AnalysisFPCommute; in toRemarkType()
42 return remarks::Type::AnalysisAliasing; in toRemarkType()
44 return remarks::Type::Failure; in toRemarkType()
49 static std::optional<remarks::RemarkLocation>
56 return remarks::RemarkLocation{File, Line, Col}; in toRemarkLocation()
[all …]
H A DLLVMContext.cpp179 remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() { in getMainRemarkStreamer()
182 const remarks::RemarkStreamer *LLVMContext::getMainRemarkStreamer() const { in getMainRemarkStreamer()
186 std::unique_ptr<remarks::RemarkStreamer> RemarkStreamer) { in setMainRemarkStreamer()
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkFormat.cpp18 using namespace llvm::remarks;
20 Expected<Format> llvm::remarks::parseFormat(StringRef FormatStr) { in parseFormat()
35 Expected<Format> llvm::remarks::magicToFormat(StringRef MagicStr) { in magicToFormat()
39 .StartsWith(remarks::Magic, Format::YAMLStrTab) in magicToFormat()
40 .StartsWith(remarks::ContainerMagic, Format::Bitstream) in magicToFormat()
H A DRemarkStreamer.cpp18 using namespace llvm::remarks;
28 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer, in RemarkStreamer()
61 if (RemarkSerializer->Mode != remarks::SerializerMode::Separate) in needsSection()
68 case remarks::Format::YAMLStrTab: in needsSection()
69 case remarks::Format::Bitstream: in needsSection()
H A DYAMLRemarkParser.cpp22 using namespace llvm::remarks;
63 if (!Buf.consume_front(remarks::Magic)) in parseMagic()
79 if (Version != remarks::CurrentRemarkVersion) in parseVersion()
83 Version, remarks::CurrentRemarkVersion); in parseVersion()
110 Expected<std::unique_ptr<YAMLRemarkParser>> remarks::createYAMLParserFromMeta( in parseStrTab()
272 auto Type = StringSwitch<remarks::Type>(Node.getRawTag())
273 .Case("!Passed", remarks::Type::Passed) in parseType()
274 .Case("!Missed", remarks::Type::Missed) in parseType()
275 .Case("!Analysis", remarks::Type::Analysis) in parseType()
276 .Case("!AnalysisFPCommute", remarks in parseType()
[all...]
H A DRemarkSerializer.cpp18 using namespace llvm::remarks;
21 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer()
38 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer()
39 raw_ostream &OS, remarks::StringTable StrTab) { in createRemarkSerializer()
H A DRemarkParser.cpp22 using namespace llvm::remarks;
52 llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf) { in createRemarkParser()
70 llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf, in createRemarkParser()
89 llvm::remarks::createRemarkParserFromMeta( in createRemarkParserFromMeta()
145 remarks::RemarkParser &TheParser = *TheCParser.TheParser; in LLVMRemarkParserGetNext()
H A DRemarkLinker.cpp23 using namespace llvm::remarks;
39 llvm::remarks::getRemarksSectionContents(const object::ObjectFile &Obj) { in getRemarksSectionContents()
124 std::unique_ptr<remarks::RemarkSerializer> Serializer = in serialize()
127 for (const Remark &R : remarks()) in serialize()
H A DYAMLRemarkSerializer.cpp20 using namespace llvm::remarks;
40 template <> struct MappingTraits<remarks::Remark *> {
41 static void mapping(IO &io, remarks::Remark *&Remark) { in mapping()
175 auto R = const_cast<remarks::Remark *>(&Remark); in emit()
207 OS << remarks::Magic; in emitMagic()
215 support::endian::write64le(Version.data(), remarks::CurrentRemarkVersion); in emitVersion()
H A DBitstreamRemarkParser.cpp22 using namespace llvm::remarks;
283 if (MagicNumber != remarks::ContainerMagic) in validateMagicNumber()
286 remarks::ContainerMagic.data(), MagicNumber.data()); in validateMagicNumber()
310 remarks::createBitstreamParserFromMeta( in createBitstreamParserFromMeta()
H A DBitstreamRemarkParser.h25 namespace remarks {
H A DRemarkStringTable.cpp21 using namespace llvm::remarks;
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkStreamer.h43 namespace remarks {
48 std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer;
53 RemarkStreamer(std::unique_ptr<remarks::RemarkSerializer> RemarkSerializer,
63 remarks::RemarkSerializer &getSerializer() { return *RemarkSerializer; } in getSerializer()
H A DRemarkSerializer.h24 namespace remarks {
87 raw_ostream &OS, remarks::StringTable StrTab);
H A DRemarkLinker.h30 namespace remarks {
104 iterator_range<iterator> remarks() const { in remarks() function
H A DRemarkFormat.h20 namespace remarks {
H A DRemarkStringTable.h28 namespace remarks {
H A DHotnessThresholdParser.h22 namespace remarks {
H A DBitstreamRemarkContainer.h22 namespace remarks {
H A DRemarkParser.h23 namespace remarks {
H A DBitstreamRemarkParser.h26 namespace remarks {
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h28 namespace remarks {
35 remarks::RemarkStreamer &RS;
39 remarks::Remark toRemark(const DiagnosticInfoOptimizationBase &Diag) const;
42 LLVMRemarkStreamer(remarks::RemarkStreamer &RS) : RS(RS) {} in LLVMRemarkStreamer()
H A DLLVMContext.h40 namespace remarks {
242 remarks::RemarkStreamer *getMainRemarkStreamer();
243 const remarks::RemarkStreamer *getMainRemarkStreamer() const;
245 std::unique_ptr<remarks::RemarkStreamer> MainRemarkStreamer);
/freebsd/contrib/llvm-project/lld/ELF/
H A DOptions.td647 def opt_remarks_filename: Separate<["--"], "opt-remarks-filename">,
648 HelpText<"YAML output file for optimization remarks">;
649 defm opt_remarks_hotness_threshold: EEq<"opt-remarks-hotness-threshold",
653 def opt_remarks_passes: Separate<["--"], "opt-remarks-passes">,
655 def opt_remarks_with_hotness: FF<"opt-remarks-with-hotness">,
656 HelpText<"Include hotness information in the optimization remarks file">;
657 def opt_remarks_format: Separate<["--"], "opt-remarks-format">,
658 HelpText<"The format used for serializing remarks (default: YAML)">;
712 def: J<"plugin-opt=opt-remarks-filename=">,
714 HelpText<"Alias for --opt-remarks-filename">;
[all …]
/freebsd/tools/tools/nanobsd/rescue/Files/root/
H A DZFS_Create.txt2 Some remarks for setting up a zfs boot environment

123