Home
last modified time | relevance | path

Searched refs:FormatStr (Results 1 – 9 of 9) 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()
30 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.cpp163 StringRef FormatStr; in lowerPrintfForGpu() local
164 if (!getConstantStringInfo(Op, FormatStr)) { in lowerPrintfForGpu()
173 getConversionSpecifiers(OpConvSpecifiers, FormatStr, NumOps - 1); in lowerPrintfForGpu()
234 LLVM_DEBUG(dbgs() << "Printf format string in source = " << FormatStr in lowerPrintfForGpu()
236 for (char C : FormatStr) { in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3166 StringRef FormatStr; in optimizePrintFString() local
3167 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) in optimizePrintFString()
3171 if (FormatStr.empty()) // Tolerate printf's declared void. in optimizePrintFString()
3182 if (FormatStr.size() == 1 || FormatStr == "%%") { in optimizePrintFString()
3186 Value *IntChar = ConstantInt::get(IntTy, (unsigned char)FormatStr[0]); in optimizePrintFString()
3191 if (FormatStr == "%s" && CI->arg_size() > 1) { in optimizePrintFString()
3216 if (FormatStr.back() == '\n' && in optimizePrintFString()
3217 !FormatStr.contains('%')) { // No format characters. in optimizePrintFString()
3220 FormatStr = FormatStr.drop_back(); in optimizePrintFString()
3221 Value *GV = B.CreateGlobalString(FormatStr, "str"); in optimizePrintFString()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkFormat.h28 Expected<Format> parseFormat(StringRef FormatStr);
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp918 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; in printStatistic() local
934 FormatStr, sys::path::filename(E.first).take_back(45), E.second.Input, in printStatistic()
940 llvm::outs() << formatv(FormatStr, "Total", InputTotal, OutputTotal, in printStatistic()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1647 ParseStatus parseSymbolicSplitFormat(StringRef FormatStr, SMLoc Loc,
1649 ParseStatus parseSymbolicUnifiedFormat(StringRef FormatStr, SMLoc Loc,
1658 bool matchDfmtNfmt(int64_t &Dfmt, int64_t &Nfmt, StringRef FormatStr, SMLoc Loc);
6820 StringRef FormatStr, in matchDfmtNfmt() argument
6825 Format = getDfmt(FormatStr); in matchDfmtNfmt()
6831 Format = getNfmt(FormatStr, getSTI()); in matchDfmtNfmt()
6841 ParseStatus AMDGPUAsmParser::parseSymbolicSplitFormat(StringRef FormatStr, in parseSymbolicSplitFormat() argument
6848 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseSymbolicSplitFormat()
6878 ParseStatus AMDGPUAsmParser::parseSymbolicUnifiedFormat(StringRef FormatStr, in parseSymbolicUnifiedFormat() argument
6883 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.cpp2983 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; in link() local
2999 FormatStr, sys::path::filename(E.first).take_back(45), E.second.Input, in link()
3005 llvm::outs() << formatv(FormatStr, "Total", InputTotal, OutputTotal, in link()