| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | DumpDataExtractorTest.cpp | 138 TestDump(-1, lldb::Format::eFormatEnum, "-1"); in TEST() 169 lldb::Format::eFormatVectorOfUInt32, in TEST() 174 lldb::Format::eFormatVectorOfUInt64, in TEST() 234 lldb::Format::eFormatVectorOfUInt128, in TEST() 356 16, lldb::Format::eFormatBoolean, in TEST() 361 18, lldb::Format::eFormatComplexInteger, in TEST() 367 34, lldb::Format::eFormatComplex, in TEST() 370 18, lldb::Format::eFormatFloat, in TEST() 375 14, lldb::Format::eFormatComplex, in TEST() 382 1, lldb::Format::eFormatHexFloat, in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Remarks/ |
| H A D | RemarksLinkingTest.cpp | 61 check(remarks::Format::YAML, in TEST() 68 remarks::Format::YAML, in TEST() 77 check(remarks::Format::YAML, in TEST() 83 remarks::Format::YAML, ""); in TEST() 86 check(remarks::Format::YAML, in TEST() 99 remarks::Format::YAML, in TEST() 110 check(remarks::Format::YAML, in TEST() 117 remarks::Format::Bitstream, in TEST() 131 check(remarks::Format::YAML, in TEST() 160 check(remarks::Format::YAML, in TEST() [all …]
|
| /llvm-project-15.0.7/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() 37 StringSwitch<Format>(MagicStr) in magicToFormat() 39 .StartsWith(remarks::Magic, Format::YAMLStrTab) in magicToFormat() 41 .Default(Format::Unknown); in magicToFormat() [all …]
|
| H A D | RemarkParser.cpp | 53 case Format::YAML: in createRemarkParser() 55 case Format::YAMLStrTab: in createRemarkParser() 59 case Format::Bitstream: in createRemarkParser() 61 case Format::Unknown: in createRemarkParser() 72 case Format::YAML: in createRemarkParser() 76 case Format::YAMLStrTab: in createRemarkParser() 78 case Format::Bitstream: in createRemarkParser() 80 case Format::Unknown: in createRemarkParser() 94 case Format::YAML: in createRemarkParserFromMeta() 98 case Format::Bitstream: in createRemarkParserFromMeta() [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-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstrFormats.td | 41 def MRM0m : Format<32>; def MRM1m : Format<33>; def MRM2m : Format<34>; 42 def MRM3m : Format<35>; def MRM4m : Format<36>; def MRM5m : Format<37>; 51 def MRM0r : Format<48>; def MRM1r : Format<49>; def MRM2r : Format<50>; 52 def MRM3r : Format<51>; def MRM4r : Format<52>; def MRM5r : Format<53>; 54 def MRM0X : Format<56>; def MRM1X : Format<57>; def MRM2X : Format<58>; 55 def MRM3X : Format<59>; def MRM4X : Format<60>; def MRM5X : Format<61>; 57 def MRM_C0 : Format<64>; def MRM_C1 : Format<65>; def MRM_C2 : Format<66>; 58 def MRM_C3 : Format<67>; def MRM_C4 : Format<68>; def MRM_C5 : Format<69>; 59 def MRM_C6 : Format<70>; def MRM_C7 : Format<71>; def MRM_C8 : Format<72>; 60 def MRM_C9 : Format<73>; def MRM_CA : Format<74>; def MRM_CB : Format<75>; [all …]
|
| /llvm-project-15.0.7/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>; 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>; 57 def MRM6m : Format<30>; def MRM7m : Format<31>; [all …]
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | FormatToken.cpp | 124 if (!Format) in formatAfterToken() 270 ColumnFormat Format; in precomputeFormattingInfos() local 271 Format.Columns = Columns; in precomputeFormattingInfos() 272 Format.ColumnSizes.resize(Columns); in precomputeFormattingInfos() 274 Format.LineCount = 1; in precomputeFormattingInfos() 280 ++Format.LineCount; in precomputeFormattingInfos() 287 Format.ColumnSizes[Column] = std::max(Format.ColumnSizes[Column], Length); in precomputeFormattingInfos() 298 Format.TotalWidth += Format.ColumnSizes[i]; in precomputeFormattingInfos() 315 Formats.push_back(Format); in precomputeFormattingInfos() 323 if (Format.TotalWidth <= RemainingCharacters || Format.Columns == 1) { in getColumnFormat() [all …]
|
| /llvm-project-15.0.7/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() 45 lldb::Format GetCurrentValue() const { return m_current_value; } in GetCurrentValue() 47 lldb::Format GetDefaultValue() const { return m_default_value; } in GetDefaultValue() 49 void SetCurrentValue(lldb::Format value) { m_current_value = value; } in SetCurrentValue() 51 void SetDefaultValue(lldb::Format value) { m_default_value = value; } in SetDefaultValue() 54 lldb::Format m_current_value; 55 lldb::Format m_default_value;
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | string_utils.cpp | 123 RAW_CHECK(Format); in formatString() 126 const char *Cur = Format; in formatString() 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 239 void ScopedString::append(const char *Format, ...) { in append() argument 241 va_start(Args, Format); in append() 242 append(Format, Args); in append() 246 void Printf(const char *Format, ...) { in Printf() argument 248 va_start(Args, Format); in Printf() [all …]
|
| H A D | string_utils.h | 28 void append(const char *Format, va_list Args); 29 void append(const char *Format, ...) FORMAT(2, 3); 36 int formatString(char *Buffer, uptr BufferLength, const char *Format, ...) 38 void Printf(const char *Format, ...) FORMAT(1, 2);
|
| /llvm-project-15.0.7/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-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ReplayInlineAdvisor.h | 22 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);
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | FormatVariadicTest.cpp | 18 struct Format : public FormatAdapter<int> { struct 19 Format(int N) : FormatAdapter<int>(std::move(N)) {} in Format() function 26 static_assert(uses_format_member<Format>::value, ""); 27 static_assert(uses_format_member<Format &>::value, ""); 28 static_assert(uses_format_member<Format &&>::value, ""); 29 static_assert(uses_format_member<const Format>::value, ""); 30 static_assert(uses_format_member<const Format &>::value, ""); 81 EXPECT_EQ(ReplacementType::Format, Replacements[0].Type); in TEST() 88 EXPECT_EQ(ReplacementType::Format, Replacements[0].Type); in TEST() 643 EXPECT_EQ("Format", formatv("{0}", Format(1)).str()); in TEST() [all …]
|
| /llvm-project-15.0.7/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-15.0.7/llvm/lib/IR/ |
| H A D | LLVMRemarkStreamer.cpp | 106 Expected<remarks::Format> Format = remarks::parseFormat(RemarksFormat); in setupLLVMOptimizationRemarks() local 107 if (Error E = Format.takeError()) in setupLLVMOptimizationRemarks() 111 auto Flags = *Format == remarks::Format::YAML ? sys::fs::OF_TextWithCRLF in setupLLVMOptimizationRemarks() 122 *Format, remarks::SerializerMode::Separate, RemarksFile->os()); in setupLLVMOptimizationRemarks() 150 Expected<remarks::Format> Format = remarks::parseFormat(RemarksFormat); in setupLLVMOptimizationRemarks() local 151 if (Error E = Format.takeError()) in setupLLVMOptimizationRemarks() 155 remarks::createRemarkSerializer(*Format, in setupLLVMOptimizationRemarks()
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/ |
| H A D | Debug.cpp | 34 int32_t omp_vprintf(const char *Format, void *Arguments, uint32_t); 41 int32_t omp_vprintf(const char *Format, void *Arguments, uint32_t) { in omp_vprintf() argument 42 return vprintf(Format, Arguments); in omp_vprintf() 50 int32_t omp_vprintf(const char *Format, void *Arguments, uint32_t) { in omp_vprintf() argument 56 int32_t __llvm_omp_vprintf(const char *Format, void *Arguments, uint32_t Size) { in __llvm_omp_vprintf() argument 57 return impl::omp_vprintf(Format, Arguments, Size); in __llvm_omp_vprintf()
|
| /llvm-project-15.0.7/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-15.0.7/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-15.0.7/libcxx/docs/Status/ |
| H A D | Format.rst | 4 libc++ Format Status 16 This document contains the status of the C++20 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
|
| /llvm-project-15.0.7/llvm/include/llvm/Remarks/ |
| H A D | RemarkParser.h | 41 Format ParserFormat; 45 RemarkParser(Format ParserFormat) : ParserFormat(ParserFormat) {} in RemarkParser() 78 Expected<std::unique_ptr<RemarkParser>> createRemarkParser(Format ParserFormat, 82 createRemarkParser(Format ParserFormat, StringRef Buf, 86 createRemarkParserFromMeta(Format ParserFormat, StringRef Buf,
|
| H A D | YAMLRemarkSerializer.h | 46 return S->SerializerFormat == Format::YAML; in classof() 50 YAMLRemarkSerializer(Format SerializerFormat, raw_ostream &OS, 73 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode) { in YAMLStrTabRemarkSerializer() 79 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode, std::move(StrTab)) {} in YAMLStrTabRemarkSerializer() 89 return S->SerializerFormat == Format::YAMLStrTab; in classof()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFExpression.h | 105 Optional<dwarf::DwarfFormat> Format); 120 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format); in iterator() 128 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format); 143 Optional<dwarf::DwarfFormat> Format = None) 144 : Data(Data), AddressSize(AddressSize), Format(Format) { in Data() 170 Optional<dwarf::DwarfFormat> Format; variable
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | Mips16InstrFormats.td | 32 // Base class for Mips 16 Format 52 // Generic Mips 16 Format 90 // Mips Pseudo Instructions Format 377 // Format i8_SVRS instruction class in Mips : 404 // Format JAL instruction class in Mips16 : 427 // Format EXT-I instruction class in Mips16 : 449 // Format ASMACRO instruction class in Mips16 : 478 // Format EXT-RI instruction class in Mips16 : 502 // Format EXT-RRI instruction class in Mips16 : 527 // Format EXT-RRI-A instruction class in Mips16 : [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfilingPort.h | 123 #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__);
|