Home
last modified time | relevance | path

Searched refs:FormatStr (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkFormat.cpp20 Expected<Format> llvm::remarks::parseFormat(StringRef FormatStr) { in parseFormat() argument
21 auto Result = StringSwitch<Format>(FormatStr) in parseFormat()
29 FormatStr.data()); in parseFormat()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DLaneBitmask.h44 constexpr static const char *const FormatStr = "%016llX"; member
94 OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger()); in PrintLaneMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp156 StringRef FormatStr; in lowerPrintfForGpu() local
157 if (!getConstantStringInfo(Op, FormatStr)) { in lowerPrintfForGpu()
166 getConversionSpecifiers(OpConvSpecifiers, FormatStr, NumOps - 1); in lowerPrintfForGpu()
227 LLVM_DEBUG(dbgs() << "Printf format string in source = " << FormatStr in lowerPrintfForGpu()
229 for (char C : FormatStr) { in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3280 StringRef FormatStr; in optimizePrintFString() local
3281 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) in optimizePrintFString()
3285 if (FormatStr.empty()) // Tolerate printf's declared void. in optimizePrintFString()
3296 if (FormatStr.size() == 1 || FormatStr == "%%") { in optimizePrintFString()
3300 Value *IntChar = ConstantInt::get(IntTy, (unsigned char)FormatStr[0]); in optimizePrintFString()
3305 if (FormatStr == "%s" && CI->arg_size() > 1) { in optimizePrintFString()
3330 if (FormatStr.back() == '\n' && in optimizePrintFString()
3331 !FormatStr.contains('%')) { // No format characters. in optimizePrintFString()
3334 FormatStr = FormatStr.drop_back(); in optimizePrintFString()
3335 Value *GV = B.CreateGlobalString(FormatStr, "str"); in optimizePrintFString()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkFormat.h29 LLVM_ABI Expected<Format> parseFormat(StringRef FormatStr);
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp916 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; in printStatistic() local
932 FormatStr, sys::path::filename(E.first).take_back(45), E.second.Input, in printStatistic()
938 llvm::outs() << formatv(FormatStr, "Total", InputTotal, OutputTotal, in printStatistic()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1720 ParseStatus parseSymbolicSplitFormat(StringRef FormatStr, SMLoc Loc,
1722 ParseStatus parseSymbolicUnifiedFormat(StringRef FormatStr, SMLoc Loc,
1731 bool matchDfmtNfmt(int64_t &Dfmt, int64_t &Nfmt, StringRef FormatStr, SMLoc Loc);
7245 StringRef FormatStr, in matchDfmtNfmt() argument
7250 Format = getDfmt(FormatStr); in matchDfmtNfmt()
7256 Format = getNfmt(FormatStr, getSTI()); in matchDfmtNfmt()
7266 ParseStatus AMDGPUAsmParser::parseSymbolicSplitFormat(StringRef FormatStr, in parseSymbolicSplitFormat() argument
7273 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseSymbolicSplitFormat()
7303 ParseStatus AMDGPUAsmParser::parseSymbolicUnifiedFormat(StringRef FormatStr, in parseSymbolicUnifiedFormat() argument
7308 auto Id = getUnifiedFormat(FormatStr, getSTI()); in parseSymbolicUnifiedFormat()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp3100 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; in link() local
3116 FormatStr, sys::path::filename(E.first).take_back(45), E.second.Input, in link()
3122 llvm::outs() << formatv(FormatStr, "Total", InputTotal, OutputTotal, in link()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp3922 StringLiteral *FormatStr) { in mergeFormatMatchesAttr() argument
3927 F->getFormatString(), FormatStr)) in mergeFormatMatchesAttr()
3939 FormatMatchesAttr(Context, CI, Format, FormatIdx, FormatStr); in mergeFormatMatchesAttr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4941 StringLiteral *FormatStr);