| /llvm-project/polly/lib/CodeGen/ |
| H A D | RuntimeDebugBuilder.cpp | 64 std::string FormatString; in prepareValuesForPrinting() local 92 FormatString += "%f"; in prepareValuesForPrinting() 94 FormatString += "%ld"; in prepareValuesForPrinting() 96 FormatString += "%s"; in prepareValuesForPrinting() 101 return std::make_tuple(FormatString, ValuesToPrint); in prepareValuesForPrinting() 107 std::string FormatString; in createCPUPrinterT() local 110 std::tie(FormatString, ValuesToPrint) = in createCPUPrinterT() 113 createPrintF(Builder, FormatString, ValuesToPrint); in createCPUPrinterT() 134 Value *FormatString = Builder.CreateGlobalString(Format); in createPrintF() local 137 Arguments.push_back(FormatString); in createPrintF() [all...] |
| /llvm-project/third-party/benchmark/src/ |
| H A D | colorprint.cc | 85 std::string FormatString(const char* msg, va_list args) { in FormatString() function 113 std::string FormatString(const char* msg, ...) { in FormatString() function 116 auto tmp = FormatString(msg, args); in FormatString() 146 out << FormatString(fmt, args); in ColorPrintf() 153 if (color_code) out << FormatString("\033[0;3%sm", color_code); in ColorPrintf() 154 out << FormatString(fmt, args) << "\033[m"; in ColorPrintf()
|
| H A D | console_reporter.cc | 63 FormatString("%-*s %13s %15s %12s", static_cast<int>(name_field_width_), in PrintHeader() 68 str += FormatString(" %10s", c.first.c_str()); in PrintHeader() 104 out << FormatString(fmt, args); in IgnoreColorPrint() 114 return FormatString("%10.3f", time); in FormatTime() 117 return FormatString("%10.2f", time); in FormatTime() 120 return FormatString("%10.1f", time); in FormatTime() 125 return FormatString("%1.4e", time); in FormatTime() 127 return FormatString("%10.0f", time); in FormatTime()
|
| H A D | colorprint.h | 20 std::string FormatString(const char* msg, va_list args); 21 std::string FormatString(const char* msg, ...);
|
| /llvm-project/libcxx/test/std/utilities/format/format.syn/ |
| H A D | runtime_format_string.pass.cpp | 56 using FormatString = decltype(format_string); in main() typedef 57 LIBCPP_ASSERT((std::same_as<FormatString, std::__runtime_format_string<char>>)); in main() 58 test_properties<FormatString, char>(); in main()
|
| /llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.cpp | 141 static void formatErrorString(StringRef FormatString, in formatErrorString() argument 144 while (!FormatString.empty()) { in formatErrorString() 145 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); in formatErrorString() 150 FormatString = Pieces.second.drop_front(); in formatErrorString()
|
| /llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flag_parser.h | 37 inline bool FormatString(char *buffer, uptr size, const char *str_to_use) { in FormatString() function 79 return FormatString(buffer, size, *t_ ? "true" : "false"); in Format() 112 return FormatString(buffer, size, *t_); in Format()
|
| H A D | sanitizer_flags.cpp | 106 return FormatString(buffer, size, original_path_); in Format()
|
| /llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFTypeUnit.cpp | 33 << ", format = " << dwarf::FormatString(getFormat()) in dump()
|
| H A D | DWARFCompileUnit.cpp | 24 << ", format = " << dwarf::FormatString(getFormat()) in dump()
|
| H A D | DWARFDebugPubTable.cpp | 97 OS << ", format = " << dwarf::FormatString(S.Format); in dump()
|
| H A D | DWARFListTable.cpp | 85 << ", format = " << dwarf::FormatString(Format) in dump()
|
| H A D | DWARFDebugArangeSet.cpp | 169 << "format = " << dwarf::FormatString(HeaderData.Format) << ", " in dump()
|
| H A D | DWARFDebugAddr.cpp | 143 << ", format = " << dwarf::FormatString(Format) in dump()
|
| H A D | DWARFDebugMacro.cpp | 35 << ", format = " << FormatString(getDwarfFormat()); in dumpMacroHeader()
|
| H A D | DWARFDebugFrame.cpp | 988 << " Format: " << FormatString(IsDWARF64) << "\n"; in dump() 1035 OS << " Format: " << FormatString(IsDWARF64) << "\n"; in dumpDataAux()
|
| /llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 784 auto FormatString = in checkDeprecatedOrUnsafeBufferHandling() local 786 if (FormatString && !FormatString->getString().contains("%s") && in checkDeprecatedOrUnsafeBufferHandling() 787 !FormatString->getString().contains("%[")) in checkDeprecatedOrUnsafeBufferHandling()
|
| /llvm-project/llvm/lib/BinaryFormat/ |
| H A D | Dwarf.cpp | 868 StringRef llvm::dwarf::FormatString(DwarfFormat Format) { in FormatString() function in llvm::dwarf 878 StringRef llvm::dwarf::FormatString(bool IsDWARF64) { in FormatString() function in llvm::dwarf 879 return FormatString(IsDWARF64 ? DWARF64 : DWARF32); in FormatString()
|
| /llvm-project/clang/lib/AST/ |
| H A D | CMakeLists.txt | 66 FormatString.cpp
|
| /llvm-project/clang/include/clang/Basic/ |
| H A D | DiagnosticIDs.h | |
| H A D | Diagnostic.h | 895 /// \param FormatString A fixed diagnostic format string that will be hashed 900 unsigned getCustomDiagID(Level L, const char (&FormatString)[N]) { 902 StringRef(FormatString, N - 1));
|
| /llvm-project/llvm/utils/gn/secondary/clang/lib/AST/ |
| H A D | BUILD.gn | 122 "FormatString.cpp",
|
| /llvm-project/clang/lib/Basic/ |
| H A D | DiagnosticIDs.cpp | 382 /// \param FormatString A fixed diagnostic format string that will be hashed and in getOrCreateDiagID() 415 getCustomDiagID(Level L,StringRef FormatString) getCustomDiagID() argument
|
| /llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | Dwarf.h | 1003 StringRef FormatString(DwarfFormat Format); 1004 StringRef FormatString(bool IsDWARF64);
|
| /llvm-project/clang/lib/Sema/ |
| H A D | SemaObjC.cpp | 2292 const StringLiteral *FormatString; in DiagnoseCStringFormatDirectiveInCFAPI() 2295 FormatString = OSL->getString(); in DiagnoseCStringFormatDirectiveInCFAPI() 2297 FormatString = dyn_cast<StringLiteral>(FormatExpr->IgnoreParenImpCasts()); in DiagnoseCStringFormatDirectiveInCFAPI() 2298 if (!FormatString) in DiagnoseCStringFormatDirectiveInCFAPI() 2300 if (SemaRef.FormatStringHasSArg(FormatString)) { in DiagnoseCStringFormatDirectiveInCFAPI() 2291 const StringLiteral *FormatString; DiagnoseCStringFormatDirectiveInCFAPI() local
|