Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2809 StringRef FormatStr; in optimizePrintFString() local
2810 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) in optimizePrintFString()
2814 if (FormatStr.empty()) // Tolerate printf's declared void. in optimizePrintFString()
2825 if (FormatStr.size() == 1 || FormatStr == "%%") { in optimizePrintFString()
2829 Value *IntChar = ConstantInt::get(IntTy, (unsigned char)FormatStr[0]); in optimizePrintFString()
2834 if (FormatStr == "%s" && CI->arg_size() > 1) { in optimizePrintFString()
2859 if (FormatStr.back() == '\n' && in optimizePrintFString()
2860 !FormatStr.contains('%')) { // No format characters. in optimizePrintFString()
2863 FormatStr = FormatStr.drop_back(); in optimizePrintFString()
2864 Value *GV = B.CreateGlobalString(FormatStr, "str"); in optimizePrintFString()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp195 StringRef FormatStr; in lowerPrintfForGpu() local
196 if (!getConstantStringInfo(Op, FormatStr)) { in lowerPrintfForGpu()
205 getConversionSpecifiers(OpConvSpecifiers, FormatStr, NumOps - 1); in lowerPrintfForGpu()
266 LLVM_DEBUG(dbgs() << "Printf format string in source = " << FormatStr in lowerPrintfForGpu()
268 for (char C : FormatStr) { in lowerPrintfForGpu()
/openbsd-src/gnu/llvm/llvm/include/llvm/Remarks/
H A DRemarkFormat.h28 Expected<Format> parseFormat(StringRef FormatStr);
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1576 OperandMatchResultTy parseSymbolicSplitFormat(StringRef FormatStr, SMLoc Loc, int64_t &Format);
1577 OperandMatchResultTy parseSymbolicUnifiedFormat(StringRef FormatStr, SMLoc Loc, int64_t &Format);
1584 bool matchDfmtNfmt(int64_t &Dfmt, int64_t &Nfmt, StringRef FormatStr, SMLoc Loc);
6181 StringRef FormatStr, in matchDfmtNfmt() argument
6186 Format = getDfmt(FormatStr); in matchDfmtNfmt()
6192 Format = getNfmt(FormatStr, getSTI()); in matchDfmtNfmt()
6203 AMDGPUAsmParser::parseSymbolicSplitFormat(StringRef FormatStr, in parseSymbolicSplitFormat() argument
6210 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseSymbolicSplitFormat()
6247 AMDGPUAsmParser::parseSymbolicUnifiedFormat(StringRef FormatStr, in parseSymbolicUnifiedFormat() argument
6252 auto Id = getUnifiedFormat(FormatStr, getSTI()); in parseSymbolicUnifiedFormat()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp2746 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; in link() local
2762 FormatStr, sys::path::filename(E.first).take_back(45), E.second.Input, in link()
2768 llvm::outs() << formatv(FormatStr, "Total", InputTotal, OutputTotal, in link()