Home
last modified time | relevance | path

Searched full:remarks (Results 1 – 25 of 179) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp10 // Diagnostics and serializable remarks::Remark objects.
18 #include "llvm/Remarks/RemarkStreamer.h"
25 /// DiagnosticKind -> remarks::Type
26 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()
[all …]
H A DDiagnosticHandler.cpp20 /// -pass-remarks* command line flags. Passes whose name matches this regexp
34 "' in -pass-remarks: " + RegexError, in operator =()
44 // -pass-remarks
47 "pass-remarks", cl::value_desc("pattern"),
48 cl::desc("Enable optimization remarks from passes whose name match "
52 // -pass-remarks-missed
55 "pass-remarks-missed", cl::value_desc("pattern"),
56 cl::desc("Enable missed optimization remarks from passes whose name match "
60 // -pass-remarks-analysis
64 "pass-remarks-analysis", cl::value_desc("pattern"),
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkLinker.h1 //===-- llvm/Remarks/RemarkLinker.h -----------------------------*- C++/-*-===//
16 #include "llvm/Remarks/Remark.h"
17 #include "llvm/Remarks/RemarkFormat.h"
18 #include "llvm/Remarks/RemarkStringTable.h"
30 namespace remarks {
43 /// The main string table for the remarks.
44 /// Note: all remarks should use the strings from this string table to avoid
48 /// A set holding unique remarks.
52 std::set<std::unique_ptr<Remark>, RemarkPtrCompare> Remarks; member
57 /// If true, keep all remarks, otherwise only keep remarks with valid debug
[all …]
H A DRemarkStreamer.h1 //===- llvm/Remarks/RemarkStreamer.h ----------------------------*- C++ -*-===//
9 // This file declares the main interface for streaming remarks.
11 // This is used to stream any llvm::remarks::Remark to an open file taking
12 // advantage of all the serialization capabilities developed for remarks (e.g.
17 // diagnostics to llvm::remarks::Remark objects as they get emitted.
20 // * Remarks from LLVM (M)IR passes
21 // * Remarks from the frontend
22 // * Remarks from an intermediate IR
33 #include "llvm/Remarks/RemarkSerializer.h"
43 namespace remarks {
[all …]
H A DRemarkSerializer.h9 // This file provides an interface for serializing remarks to different formats.
16 #include "llvm/Remarks/RemarkFormat.h"
17 #include "llvm/Remarks/RemarkStringTable.h"
24 namespace remarks {
30 // remarks. Typically, this is used when the remarks need to be
34 // file/buffer. Typically, this is used for storing remarks for
87 raw_ostream &OS, remarks::StringTable StrTab);
89 } // end namespace remarks
H A DRemarkFormat.h1 //===-- llvm/Remarks/RemarkFormat.h - The format of remarks -----*- C++/-*-===//
9 // This file defines utilities to deal with the format of remarks.
20 namespace remarks {
22 constexpr StringLiteral Magic("REMARKS");
24 /// The format used for serializing/deserializing remarks.
33 } // end namespace remarks
H A DBitstreamRemarkSerializer.h18 #include "llvm/Remarks/BitstreamRemarkContainer.h"
19 #include "llvm/Remarks/RemarkSerializer.h"
23 namespace remarks {
25 struct Remarks;
27 /// Serialize the remarks to LLVM bitstream.
28 /// This class provides ways to emit remarks in the LLVM bitstream format and
36 /// Separate remarks: | Container info
104 /// The block info for the remarks block.
107 /// Emit the metadata for the remarks.
127 /// 2) The metadata block that contains various information about the remarks
[all …]
H A DRemarkParser.h1 //===-- llvm/Remarks/Remark.h - The remark type -----------------*- C++/-*-===//
9 // This file provides an interface for parsing remarks in LLVM.
17 #include "llvm/Remarks/RemarkFormat.h"
23 namespace remarks {
39 /// Parser used to parse a raw buffer to remarks::Remark objects.
59 /// remarks section).
91 } // end namespace remarks
H A DBitstreamRemarkContainer.h1 //===-- BitstreamRemarkContainer.h - Container for remarks --------------*-===//
22 namespace remarks {
32 /// * separate: the metadata is separate from the remarks and points to the
33 /// auxiliary file that contains the remarks.
34 /// * standalone: the metadata and the remarks are emitted together.
42 /// The remarks emitted separately.
103 } // end namespace remarks
H A DYAMLRemarkSerializer.h9 // This file provides an interface for serializing remarks to YAML.
16 #include "llvm/Remarks/RemarkSerializer.h"
21 namespace remarks {
23 /// Serialize the remarks to YAML. One remark entry looks like this:
65 /// Serialize the remarks to YAML using a string table. An remark entry looks
106 } // end namespace remarks
H A DHotnessThresholdParser.h11 /// remarks hotness threshold that supports both int and a special 'auto' value.
22 namespace remarks {
24 // Parse remarks hotness threshold argument value.
44 // A simple CL parser for '*-remarks-hotness-threshold='
61 } // namespace remarks
H A DRemark.h1 //===-- llvm/Remarks/Remark.h - The remark type -----------------*- C++/-*-===//
9 // This file defines an abstraction for handling remarks.
16 #include "llvm-c/Remarks.h"
25 namespace remarks {
44 /// A key-value pair with a debug location that is used to display the remarks
105 /// by external tools reading the output file for remarks to identify the
150 // before the valid entries. For example, remarks with no debug location will
222 } // end namespace remarks
/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h1 //===- llvm/IR/LLVMRemarkStreamer.h - Streamer for LLVM remarks--*- C++ -*-===//
10 // serializable remarks::Remark objects.
17 #include "llvm/Remarks/Remark.h"
28 namespace remarks {
32 /// Streamer for LLVM remarks which has logic for dealing with DiagnosticInfo
35 remarks::RemarkStreamer &RS;
39 remarks::Remark toRemark(const DiagnosticInfoOptimizationBase &Diag) const;
42 LLVMRemarkStreamer(remarks::RemarkStreamer &RS) : RS(RS) {} in LLVMRemarkStreamer()
84 /// Setup optimization remarks that output to a file.
91 /// Setup optimization remarks that output directly to a raw_ostream.
[all …]
H A DDiagnosticHandler.h23 /// which remarks are enabled.
51 /// Return true if analysis remarks are enabled, override
55 /// Return true if missed optimization remarks are enabled, override
59 /// Return true if passed optimization remarks are enabled, override
63 /// Return true if any type of remarks are enabled for this pass.
70 /// Return true if any type of remarks are enabled for any pass.
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkSerializer.cpp9 // This file provides tools for serializing remarks.
13 #include "llvm/Remarks/RemarkSerializer.h"
14 #include "llvm/Remarks/BitstreamRemarkSerializer.h"
15 #include "llvm/Remarks/YAMLRemarkSerializer.h"
18 using namespace llvm::remarks;
21 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer()
34 llvm_unreachable("Unknown remarks::Format enum"); in createRemarkSerializer()
38 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer()
39 raw_ostream &OS, remarks::StringTable StrTab) { in createRemarkSerializer()
53 llvm_unreachable("Unknown remarks::Format enum"); in createRemarkSerializer()
H A DBitstreamRemarkParser.h1 //===-- BitstreamRemarkParser.h - Parser for Bitstream remarks --*- C++/-*-===//
16 #include "llvm/Remarks/BitstreamRemarkContainer.h"
17 #include "llvm/Remarks/BitstreamRemarkParser.h"
18 #include "llvm/Remarks/RemarkFormat.h"
19 #include "llvm/Remarks/RemarkParser.h"
25 namespace remarks {
35 /// Temporary remark buffer used when the remarks are stored separately.
43 /// Wether the parser is ready to parse remarks.
83 } // end namespace remarks
H A DRemarkStreamer.cpp1 //===- llvm/Remarks/RemarkStreamer.cpp - Remark Streamer -*- C++ --------*-===//
13 #include "llvm/Remarks/RemarkStreamer.h"
18 using namespace llvm::remarks;
21 "remarks-section",
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 DRemarkFormat.cpp13 #include "llvm/Remarks/RemarkFormat.h"
15 #include "llvm/Remarks/BitstreamRemarkContainer.h"
18 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 DRemarkLinker.cpp13 #include "llvm/Remarks/RemarkLinker.h"
17 #include "llvm/Remarks/RemarkParser.h"
18 #include "llvm/Remarks/RemarkSerializer.h"
23 using namespace llvm::remarks;
33 // ELF -> .remarks, but there is no ELF support at this point. in getRemarksSectionName()
39 llvm::remarks::getRemarksSectionContents(const object::ObjectFile &Obj) { in getRemarksSectionContents()
61 auto Inserted = Remarks.insert(std::move(Remark)); in keep()
124 std::unique_ptr<remarks::RemarkSerializer> Serializer = in serialize()
127 for (const Remark &R : remarks()) in serialize()
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 DYAMLRemarkParser.h1 //===-- YAMLRemarkParser.h - Parser for YAML remarks ------------*- C++/-*-===//
16 #include "llvm/Remarks/Remark.h"
17 #include "llvm/Remarks/RemarkParser.h"
27 namespace remarks {
80 /// Parse a YAML remark to a remarks::Remark object.
114 } // end namespace remarks
H A DRemarkStringTable.cpp13 #include "llvm/Remarks/RemarkStringTable.h"
15 #include "llvm/Remarks/Remark.h"
16 #include "llvm/Remarks/RemarkParser.h"
21 using namespace llvm::remarks;
28 llvm_unreachable("Unexpected error while building remarks string table."); in StringTable()
H A DRemarkParser.cpp14 #include "llvm/Remarks/RemarkParser.h"
17 #include "llvm-c/Remarks.h"
22 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()
/freebsd/sys/contrib/x86emu/
H A Dx86emu.c173 * REMARKS:
208 * REMARKS:
220 * REMARKS:
275 * REMARKS:
290 * REMARKS:
311 * REMARKS:
331 * REMARKS:
351 * REMARKS:
371 * REMARKS:
523 * REMARKS:
[all …]

12345678