| /llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrFormats.td | 10 // 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< [all...] |
| H A D | X86InstrUtils.td | 391 class I<bits<8> o, Format f, dag outs, dag ins, string asm, 396 class Ii8<bits<8> o, Format f, dag outs, dag ins, string asm, 401 class Ii8Reg<bits<8> o, Format f, dag outs, dag ins, string asm, 406 class Ii8PCRel<bits<8> o, Format f, dag outs, dag ins, string asm, 411 class Ii16<bits<8> o, Format f, dag outs, dag ins, string asm, 416 class Ii32<bits<8> o, Format f, dag outs, dag ins, string asm, 421 class Ii32S<bits<8> o, Format f, dag outs, dag ins, string asm, 427 class Ii64<bits<8> o, Format f, dag outs, dag ins, string asm, 433 class Ii16PCRel<bits<8> o, Format f, dag outs, dag ins, string asm, 439 class Ii32PCRel<bits<8> o, Format [all...] |
| /llvm-project/lldb/unittests/Core/ |
| H A D | DumpDataExtractorTest.cpp | 45 DumpDataExtractor(extractor, &result, 0, lldb::Format::eFormatHex, in TestDumpWithAddress() 66 DumpDataExtractor(extractor, &result, start_offset, lldb::Format::eFormatHex, in TestDumpWithOffset() 89 DumpDataExtractor(extractor, nullptr, 0, lldb::Format::eFormatHex, in TEST_F() 98 lldb::Format format, llvm::StringRef expected) { in TestDumpImpl() 110 static void TestDump(T data, lldb::Format format, llvm::StringRef expected) { in TestDump() 115 static void TestDump(llvm::StringRef str, lldb::Format format, in TestDump() 124 static void TestDump(const std::vector<T> data, lldb::Format format, in TestDump() 151 TestDump(llvm::StringRef("aardvark"), lldb::Format::eFormatCString, in TEST_F() 154 TestDump(llvm::StringRef("\xcf\xfa\xed\xfe\f"), lldb::Format::eFormatCString, in TEST_F() 157 TestDump(llvm::StringRef("\xcf\xfa\ffoo"), lldb::Format::eFormatCString, in TEST_F() [all …]
|
| /llvm-project/llvm/unittests/Remarks/ |
| H A D | RemarksLinkingTest.cpp | 19 remarks::Format OutputFormat, in serializeAndCheck() 30 if (OutputFormat == remarks::Format::Bitstream) { in serializeAndCheck() 43 static void check(remarks::Format InputFormat, StringRef Input, in check() 44 remarks::Format OutputFormat, StringRef ExpectedOutput, in check() 53 static void check(remarks::Format InputFormat, StringRef Input, in check() 54 remarks::Format InputFormat2, StringRef Input2, in check() 55 remarks::Format OutputFormat, StringRef ExpectedOutput) { in check() 64 check(remarks::Format::YAML, in TEST() 71 remarks::Format::YAML, in TEST() 81 check(remarks::Format::YAML, in TEST() [all …]
|
| /llvm-project/llvm/lib/Remarks/ |
| H A D | RemarkFormat.cpp | 20 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 D | RemarkParser.cpp | 52 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 D | RemarkSerializer.cpp | 21 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()
|
| /llvm-project/llvm/test/TableGen/ |
| H A D | TargetInstrInfo.td | 44 class Format<bits<5> val> { 48 def Pseudo : Format<0>; def RawFrm : Format<1>; 49 def AddRegFrm : Format<2>; def MRMDestReg : Format<3>; 50 def MRMDestMem : Format<4>; def MRMSrcReg : Format<5>; 51 def MRMSrcMem : Format<6>; 52 def MRM0r : Format<16>; def MRM1r : Format<17>; def MRM2r : Format<18>; 53 def MRM3r : Format<19>; def MRM4r : Format<20>; def MRM5r : Format<21>; 54 def MRM6r : Format<22>; def MRM7r : Format<23>; 55 def MRM0m : Format<24>; def MRM1m : Format<25>; def MRM2m : Format<26>; 56 def MRM3m : Format<27>; def MRM4m : Format<28>; def MRM5m : Format<29>; [all …]
|
| /llvm-project/clang/lib/Format/ |
| H A D | FormatToken.cpp | 1 //===--- FormatToken.cpp - Format C++ code --------------------------------===// 112 const ColumnFormat *Format = getColumnFormat(RemainingCodePoints); in formatAfterToken() local 117 if (!Format) in formatAfterToken() 120 // Format the entire list. in formatAfterToken() 131 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item]; in formatAfterToken() 137 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken() 263 ColumnFormat Format; in precomputeFormattingInfos() local 264 Format.Columns = Columns; in precomputeFormattingInfos() 265 Format.ColumnSizes.resize(Columns); in precomputeFormattingInfos() 267 Format in precomputeFormattingInfos() 315 for (const ColumnFormat &Format : llvm::reverse(Formats)) { getColumnFormat() local [all...] |
| /llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueFormat.h | 19 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;
|
| /llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | OutputSections.h | 156 dwarf::FormParams Format, llvm::endianness Endianess) in SectionDescriptor() 157 : SectionDescriptorBase(SectionKind, Format, Endianess), OS(Contents), in SectionDescriptor() 237 if (getFormParams().Format != dwarf::DWARF64) in maybeEmitDwarf64Mark() 283 void setOutputFormat(dwarf::FormParams Format, llvm::endianness Endianess) { in setOutputFormat() 284 this->Format = Format; in setOutputFormat() 308 void setOutputFormat(dwarf::FormParams Format, llvm::endianness Endianness) { in setOutputFormat() argument 309 this->Format = Format; in setOutputFormat() 378 Format, Endiannes in getOrCreateSectionDescriptor() 459 dwarf::FormParams Format = {4, 4, dwarf::DWARF32}; global() variable [all...] |
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | Compression.h | 76 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() 97 constexpr Params(Format F, int L, bool Ldm = false) 101 Format format; 112 const char *getReasonIfUnsupported(Format F); 122 Error decompress(Format F, ArrayRef<uint8_t> Input,
|
| /llvm-project/clang-tools-extra/docs/clang-tidy/checks/objc/ |
| H A D | nsdate-formatter.rst | 14 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `yyyy-ww`; 17 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `dd-MM-yyyy (ww-YYYY)`; 22 * | **Example:** Input Date: `29 December 2014` ; Format String: `F-MM`; 27 * | **Example:** Input Date: `29 December 2014` ; Format String: `F-EE` 32 * | **Example:** Input Date: `29 December 2014` ; Format String: `WW-yyyy` 37 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `YYYY-QQ` 40 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `ww-YYYY (QQ-yyyy)` 45 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `YYYY-MM` 48 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `ww-YYYY (MM-yyyy)` 53 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `YYYY-DD` [all …]
|
| /llvm-project/offload/DeviceRTL/src/ |
| H A D | LibC.cpp | 37 [[gnu::weak]] int printf(const char *Format, ...) { in omp_vprintf() 39 __builtin_va_start(vlist, Format); 40 return ::vprintf(Format, vlist); 45 [[clang::no_builtin("printf")]] int printf(const char *Format, ...) { in omp_vprintf() 47 __builtin_va_start(vlist, Format); 48 return ::vprintf(Format, vlist); 22 omp_vprintf(const char * Format,void * Arguments,uint32_t) omp_vprintf() argument 36 omp_vprintf(const char * Format,void * Arguments,uint32_t Size) omp_vprintf() argument 43 omp_vprintf(const char * Format,void * Arguments,uint32_t) omp_vprintf() argument 70 __llvm_omp_vprintf(const char * Format,void * Arguments,uint32_t Size) __llvm_omp_vprintf() argument
|
| /llvm-project/llvm/unittests/Support/ |
| H A D | FormatVariadicTest.cpp | 20 struct Format : public FormatAdapter<int> { in format() argument 21 Format(int N) : FormatAdapter<int>(std::move(N)) {} 22 void format(raw_ostream &OS, StringRef Opt) override { OS << "Format"; } 28 static_assert(uses_format_member<Format>::value, ""); 29 static_assert(uses_format_member<Format &>::value, ""); 30 static_assert(uses_format_member<Format &&>::value, ""); 31 static_assert(uses_format_member<const Format>::value, ""); 32 static_assert(uses_format_member<const Format &>::value, ""); 33 static_assert(uses_format_member<const volatile Format>::value, ""); 34 static_assert(uses_format_member<const volatile Format 18 struct Format : public FormatAdapter<int> { global() struct 19 Format__anon4108b4770111::Format Format() argument [all...] |
| /llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFListTable.cpp | 24 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()
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ReplayInlineAdvisor.h | 21 enum class Format : int { 29 return OutputFormat == Format::LineColumn || in outputColumn() 30 OutputFormat == Format::LineColumnDiscriminator; in outputColumn() 34 return OutputFormat == Format::LineDiscriminator || in outputDiscriminator() 35 OutputFormat == Format::LineColumnDiscriminator; in outputDiscriminator() 38 Format OutputFormat; 53 std::string formatCallSiteLocation(DebugLoc DLoc, const CallSiteFormat &Format); 22 enum class Format : int { global() enum
|
| /llvm-project/llvm/lib/IR/ |
| H A D | LLVMRemarkStreamer.cpp | 107 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()
|
| /llvm-project/llvm/tools/llvm-remarkutil/ |
| H A D | RemarkConvert.cpp | 30 static constexpr Format InputFormat = Format::YAML; 32 static constexpr Format OutputFormat = Format::Bitstream; 38 static constexpr Format InputFormat = Format::Bitstream; 40 static constexpr Format OutputFormat = Format::YAML;
|
| /llvm-project/llvm/tools/llvm-diff/lib/ |
| H A D | DiffLog.h | 35 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()
|
| /llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | string_utils.cpp | 107 void ScopedString::vappend(const char *Format, va_list &Args) { in vappend() argument 116 RAW_CHECK(Format); in vappend() 117 const char *Cur = Format; in vappend() 225 void ScopedString::append(const char *Format, ...) { in append() argument 227 va_start(Args, Format); in append() 228 vappend(Format, Args); in append() 232 void Printf(const char *Format, ...) { in Printf() argument 234 va_start(Args, Format); in Printf() 236 Msg.vappend(Format, Args); in Printf()
|
| /llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flag_parser.h | 28 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
|
| /llvm-project/clang/test/SemaObjCXX/ |
| H A D | format-strings.mm | 13 @interface Format interface 21 [Format print:@"%d", arg]; 26 …[Format print:@"%d", arg]; // expected-warning {{format specifies type 'int' but the argument has … 38 [Format print:@"%d", arg]; // no-warning 46 …[Format print:@"%d", arg]; // expected-warning {{format specifies type 'int' but the argument has … 61 [Format print:@"%d", arg]; // no-warning 72 …[Format print:@"%d", arg]; // expected-warning {{format specifies type 'int' but the argument has …
|
| /llvm-project/llvm/lib/Support/ |
| H A D | Compression.cpp | 30 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 in decompress() [all...] |
| /llvm-project/libcxx/docs/Status/ |
| H A D | Format.rst | 4 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
|