Home
last modified time | relevance | path

Searched refs:Format (Results 1 – 25 of 657) sorted by relevance

12345678910>>...27

/openbsd-src/gnu/llvm/llvm/lib/Remarks/
H A DRemarkFormat.cpp20 Expected<Format> llvm::remarks::parseFormat(StringRef FormatStr) { in parseFormat()
21 auto Result = StringSwitch<Format>(FormatStr) in parseFormat()
22 .Cases("", "yaml", Format::YAML) in parseFormat()
23 .Case("yaml-strtab", Format::YAMLStrTab) in parseFormat()
24 .Case("bitstream", Format::Bitstream) in parseFormat()
25 .Default(Format::Unknown); in parseFormat()
27 if (Result == Format::Unknown) in parseFormat()
35 Expected<Format> llvm::remarks::magicToFormat(StringRef MagicStr) { in magicToFormat()
37 StringSwitch<Format>(MagicStr) in magicToFormat()
38 .StartsWith("--- ", Format::YAML) // This is only an assumption. in magicToFormat()
[all …]
H A DRemarkParser.cpp52 llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf) { in createRemarkParser()
54 case Format::YAML: in createRemarkParser()
56 case Format::YAMLStrTab: in createRemarkParser()
60 case Format::Bitstream: in createRemarkParser()
62 case Format::Unknown: in createRemarkParser()
70 llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf, in createRemarkParser()
73 case Format::YAML: in createRemarkParser()
77 case Format::YAMLStrTab: in createRemarkParser()
79 case Format::Bitstream: in createRemarkParser()
81 case Format::Unknown: in createRemarkParser()
[all …]
H A DRemarkSerializer.cpp21 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer()
24 case Format::Unknown: in createRemarkSerializer()
27 case Format::YAML: in createRemarkSerializer()
29 case Format::YAMLStrTab: in createRemarkSerializer()
31 case Format::Bitstream: in createRemarkSerializer()
38 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer()
41 case Format::Unknown: in createRemarkSerializer()
44 case Format::YAML: in createRemarkSerializer()
46 case Format::YAMLStrTab: in createRemarkSerializer()
49 case Format::Bitstream: in createRemarkSerializer()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrFormats.td10 // X86 Instruction Format Definitions.
13 // Format specifies the encoding used by the instruction. This is part of the
16 class Format<bits<7> val> {
20 def Pseudo : Format<0>;
21 def RawFrm : Format<1>;
22 def AddRegFrm : Format<2>;
23 def RawFrmMemOffs : Format<3>;
24 def RawFrmSrc : Format<4>;
25 def RawFrmDst : Format<5>;
26 def RawFrmDstSrc : Format<6>;
[all …]
/openbsd-src/lib/libssl/doc/
H A Dstandards.txt31 (Format: TXT=25661 bytes) (Status: INFORMATIONAL)
33 1320 The MD4 Message-Digest Algorithm. R. Rivest. April 1992. (Format:
36 1321 The MD5 Message-Digest Algorithm. R. Rivest. April 1992. (Format:
40 (Format: TXT=170401 bytes) (Status: PROPOSED STANDARD)
43 January 1998. (Format: TXT=19048 bytes) (Status: INFORMATIONAL)
46 March 1998. (Format: TXT=69679 bytes) (Status: INFORMATIONAL)
54 C. Adams. June 1999. (Format: TXT=43243 bytes) (Status: PROPOSED
58 (TLS). A. Medvinsky, M. Hur. October 1999. (Format: TXT=13763 bytes)
62 B. Kaliski. September 2000. (Format: TXT=68692 bytes) (Status:
66 M. Nystrom, B. Kaliski. November 2000. (Format: TXT=27794 bytes)
[all …]
/openbsd-src/gnu/llvm/clang/lib/Format/
H A DFormatToken.cpp120 const ColumnFormat *Format = getColumnFormat(RemainingCodePoints); in formatAfterToken() local
125 if (!Format) in formatAfterToken()
139 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item]; in formatAfterToken()
145 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
271 ColumnFormat Format; in precomputeFormattingInfos() local
272 Format.Columns = Columns; in precomputeFormattingInfos()
273 Format.ColumnSizes.resize(Columns); in precomputeFormattingInfos()
275 Format.LineCount = 1; in precomputeFormattingInfos()
281 ++Format.LineCount; in precomputeFormattingInfos()
288 Format.ColumnSizes[Column] = std::max(Format.ColumnSizes[Column], Length); in precomputeFormattingInfos()
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Interpreter/
H A DOptionValueFormat.h19 OptionValueFormat(lldb::Format value) in OptionValueFormat()
22 OptionValueFormat(lldb::Format current_value, lldb::Format default_value) in OptionValueFormat()
47 lldb::Format GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
49 lldb::Format GetDefaultValue() const { return m_default_value; } in GetDefaultValue()
51 void SetCurrentValue(lldb::Format value) { m_current_value = value; } in SetCurrentValue()
53 void SetDefaultValue(lldb::Format value) { m_default_value = value; } in SetDefaultValue()
56 lldb::Format m_current_value;
57 lldb::Format m_default_value;
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp118 static int formatString(char *Buffer, uptr BufferLength, const char *Format, in formatString() argument
123 RAW_CHECK(Format); in formatString()
126 const char *Cur = Format; in formatString()
213 int formatString(char *Buffer, uptr BufferLength, const char *Format, ...) { in formatString() argument
215 va_start(Args, Format); in formatString()
216 int Res = formatString(Buffer, BufferLength, Format, Args); in formatString()
221 void ScopedString::append(const char *Format, va_list Args) { in append() argument
229 static_cast<uptr>(formatString(C, sizeof(C), Format, Args)) + 1; in append()
233 String.data() + Length, String.size() - Length, Format, ArgsCopy)); in append()
239 void ScopedString::append(const char *Format, ...) { in append() argument
[all …]
H A Dstring_utils.h28 void append(const char *Format, va_list Args);
29 void append(const char *Format, ...) FORMAT(2, 3);
37 int formatString(char *Buffer, uptr BufferLength, const char *Format, ...)
39 void Printf(const char *Format, ...) FORMAT(1, 2);
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCompression.h76 enum class Format { enum
81 inline Format formatFor(DebugCompressionType Type) { in formatFor()
86 return Format::Zlib; in formatFor()
88 return Format::Zstd; in formatFor()
94 constexpr Params(Format F) in Params()
95 : format(F), level(F == Format::Zlib ? zlib::DefaultCompression in Params()
99 Format format;
109 const char *getReasonIfUnsupported(Format F);
119 Error decompress(Format F, ArrayRef<uint8_t> Input,
/openbsd-src/gnu/llvm/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp54 static constexpr Format InputFormat = Format::YAML;
56 static constexpr Format OutputFormat = Format::Bitstream;
62 static constexpr Format InputFormat = Format::Bitstream;
64 static constexpr Format OutputFormat = Format::YAML;
69 static cl::opt<Format> InputFormat(
71 cl::values(clEnumValN(Format::YAML, "yaml", "YAML"),
72 clEnumValN(Format::Bitstream, "bitstream", "Bitstream")),
110 getOutputFileForRemarks(StringRef OutputFileName, Format OutputFormat) { in getOutputFileForRemarks()
111 assert((OutputFormat == Format::YAML || OutputFormat == Format::Bitstream) && in getOutputFileForRemarks()
113 return getOutputFileWithFlags(OutputFileName, OutputFormat == Format::YAML in getOutputFileForRemarks()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFListTable.cpp24 std::tie(HeaderData.Length, Format) = Data.getInitialLength(OffsetPtr, &Err); in extract()
30 uint8_t OffsetByteSize = Format == dwarf::DWARF64 ? 8 : 4; in extract()
32 HeaderData.Length + dwarf::getUnitLengthFieldByteSize(Format); in extract()
33 if (FullLength < getHeaderSize(Format)) in extract()
67 if (End < HeaderOffset + getHeaderSize(Format) + in extract()
82 int OffsetDumpWidth = 2 * dwarf::getDwarfOffsetByteSize(Format); in dump()
85 << ", format = " << dwarf::FormatString(Format) in dump()
99 Off + HeaderOffset + getHeaderSize(Format)); in dump()
108 return HeaderData.Length + dwarf::getUnitLengthFieldByteSize(Format); in length()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DReplayInlineAdvisor.h22 enum class Format : int { enum
30 return OutputFormat == Format::LineColumn || in outputColumn()
31 OutputFormat == Format::LineColumnDiscriminator; in outputColumn()
35 return OutputFormat == Format::LineDiscriminator || in outputDiscriminator()
36 OutputFormat == Format::LineColumnDiscriminator; in outputDiscriminator()
39 Format OutputFormat;
54 std::string formatCallSiteLocation(DebugLoc DLoc, const CallSiteFormat &Format);
/openbsd-src/gnu/llvm/llvm/tools/llvm-diff/lib/
H A DDiffLog.h35 StringRef Format; variable
40 LogBuilder(Consumer &c, StringRef Format) : consumer(&c), Format(Format) {} in LogBuilder() argument
42 : consumer(L.consumer), Format(L.Format), in LogBuilder()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp107 Expected<remarks::Format> Format = remarks::parseFormat(RemarksFormat); in setupLLVMOptimizationRemarks() local
108 if (Error E = Format.takeError()) in setupLLVMOptimizationRemarks()
112 auto Flags = *Format == remarks::Format::YAML ? sys::fs::OF_TextWithCRLF in setupLLVMOptimizationRemarks()
123 *Format, remarks::SerializerMode::Separate, RemarksFile->os()); in setupLLVMOptimizationRemarks()
151 Expected<remarks::Format> Format = remarks::parseFormat(RemarksFormat); in setupLLVMOptimizationRemarks() local
152 if (Error E = Format.takeError()) in setupLLVMOptimizationRemarks()
156 remarks::createRemarkSerializer(*Format, in setupLLVMOptimizationRemarks()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DCompression.cpp30 const char *compression::getReasonIfUnsupported(compression::Format F) { in getReasonIfUnsupported()
32 case compression::Format::Zlib: in getReasonIfUnsupported()
37 case compression::Format::Zstd: in getReasonIfUnsupported()
49 case compression::Format::Zlib: in compress()
52 case compression::Format::Zstd: in compress()
61 case compression::Format::Zlib: in decompress()
63 case compression::Format::Zstd: in decompress()
69 Error compression::decompress(compression::Format F, ArrayRef<uint8_t> Input, in decompress()
73 case compression::Format::Zlib: in decompress()
75 case compression::Format::Zstd: in decompress()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flag_parser.h28 virtual bool Format(char *buffer, uptr size) { in Format() function
51 bool Format(char *buffer, uptr size) final;
78 inline bool FlagHandler<bool>::Format(char *buffer, uptr size) { in Format() function
99 inline bool FlagHandler<HandleSignalMode>::Format(char *buffer, uptr size) { in Format() function
111 inline bool FlagHandler<const char *>::Format(char *buffer, uptr size) { in Format() function
125 inline bool FlagHandler<int>::Format(char *buffer, uptr size) { in Format() function
140 inline bool FlagHandler<uptr>::Format(char *buffer, uptr size) { in Format() function
155 inline bool FlagHandler<s64>::Format(char *buffer, uptr size) { in Format() function
/openbsd-src/gnu/llvm/libcxx/docs/Status/
H A DFormat.rst4 libc++ Format Status
16 This document contains the status of the Format library in libc++. It is used to
17 track both the status of the sub-projects of the Format library and who is assigned to
22 If you are interested in contributing to the libc++ Format library, please send
27 Sub-Projects in the Format library
39 (Please mark all Format-related TODO comments with the string ``TODO FMT``, so we
/openbsd-src/gnu/llvm/llvm/include/llvm/Remarks/
H A DRemarkParser.h42 Format ParserFormat;
46 RemarkParser(Format ParserFormat) : ParserFormat(ParserFormat) {} in RemarkParser()
79 Expected<std::unique_ptr<RemarkParser>> createRemarkParser(Format ParserFormat,
83 createRemarkParser(Format ParserFormat, StringRef Buf,
87 Format ParserFormat, StringRef Buf,
H A DYAMLRemarkSerializer.h47 return S->SerializerFormat == Format::YAML; in classof()
51 YAMLRemarkSerializer(Format SerializerFormat, raw_ostream &OS,
74 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode) { in YAMLStrTabRemarkSerializer()
80 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode, std::move(StrTab)) {} in YAMLStrTabRemarkSerializer()
90 return S->SerializerFormat == Format::YAMLStrTab; in classof()
H A DRemarkSerializer.h44 Format SerializerFormat;
53 RemarkSerializer(Format SerializerFormat, raw_ostream &OS, in RemarkSerializer()
81 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode,
86 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode,
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMips16InstrFormats.td32 // Base class for Mips 16 Format
52 // Generic Mips 16 Format
90 // Mips Pseudo Instructions Format
99 // Format I instruction class in Mips : <|opcode|imm11|>
114 // Format RI instruction class in Mips : <|opcode|rx|imm8|>
131 // Format RR instruction class in Mips : <|opcode|rx|ry|funct|>
228 // Format RRI instruction class in Mips : <|opcode|rx|ry|imm5|>
248 // Format RRR instruction class in Mips : <|opcode|rx|ry|rz|f|>
270 // Format RRI-A instruction class in Mips : <|opcode|rx|ry|f|imm4|>
292 // Format Shift instruction class in Mips : <|opcode|rx|ry|sa|f|>
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingPort.h123 #define PROF_ERR(Format, ...) \ argument
124 fprintf(stderr, "LLVM Profile Error: " Format, __VA_ARGS__);
126 #define PROF_WARN(Format, ...) \ argument
127 fprintf(stderr, "LLVM Profile Warning: " Format, __VA_ARGS__);
129 #define PROF_NOTE(Format, ...) \ argument
130 fprintf(stderr, "LLVM Profile Note: " Format, __VA_ARGS__);
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFExpression.h103 std::optional<dwarf::DwarfFormat> Format);
118 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format); in iterator()
126 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format);
141 std::optional<dwarf::DwarfFormat> Format = std::nullopt)
142 : Data(Data), AddressSize(AddressSize), Format(Format) { in Data()
173 std::optional<dwarf::DwarfFormat> Format; variable
/openbsd-src/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPT.cpp253 s.Format("\nthread #{0}: tid = {1}", thread.GetIndexID(), thread.GetID()); in DumpTraceInfo()
270 s.Format(" {0}\n", toString(raw_size_or_error.takeError())); in DumpTraceInfo()
275 s.Format("\n Trace technology: {0}\n", GetPluginName()); in DumpTraceInfo()
282 s.Format("\n Total number of trace items: {0}\n", items_count); in DumpTraceInfo()
286 s.Format(" Raw trace size: {0} KiB\n", *raw_size / 1024); in DumpTraceInfo()
288 s.Format( in DumpTraceInfo()
292 s.Format(" Average memory usage per item (excluding raw trace): " in DumpTraceInfo()
302 s.Format(" {0}: {1:2}s\n", name, duration.count() / 1000.0); in DumpTraceInfo()
315 s.Format(" Number of individual events: {0}\n", in DumpTraceInfo()
318 s.Format(" {0}: {1}\n", in DumpTraceInfo()
[all …]

12345678910>>...27