Home
last modified time | relevance | path

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

/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()
/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()
/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()
/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3274 StringRef FormatStr; in optimizeSPrintFString()
3275 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) in optimizeSPrintFString()
3279 if (FormatStr.empty()) // Tolerate printf's declared void. in optimizeSPrintFString()
3290 if (FormatStr.size() == 1 || FormatStr == "%%") { in optimizeSPrintFString()
3294 Value *IntChar = ConstantInt::get(IntTy, (unsigned char)FormatStr[0]); in optimizeSPrintFString()
3299 if (FormatStr == "%s" && CI->arg_size() > 1) { in optimizeSPrintFString()
3324 if (FormatStr.back() == '\n' && in optimizeSPrintFString()
3325 !FormatStr.contains('%')) { // No format characters. in optimizeSPrintFString()
3328 FormatStr in optimizeSPrintFString()
3137 StringRef FormatStr; optimizePrintFString() local
3254 StringRef FormatStr; optimizeSPrintFString() local
3444 StringRef FormatStr; optimizeSnPrintFString() local
3511 StringRef FormatStr; optimizeFPrintFString() local
[all...]
/llvm-project/llvm/include/llvm/Remarks/
H A DRemarkFormat.h28 Expected<Format> parseFormat(StringRef FormatStr);
/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()
/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1675 ParseStatus parseSymbolicSplitFormat(StringRef FormatStr, SMLoc Loc,
1677 ParseStatus parseSymbolicUnifiedFormat(StringRef FormatStr, SMLoc Loc,
1686 bool matchDfmtNfmt(int64_t &Dfmt, int64_t &Nfmt, StringRef FormatStr, SMLoc Loc);
6934 StringRef FormatStr, in parseFORMAT()
6939 Format = getDfmt(FormatStr); in parseFORMAT()
6945 Format = getNfmt(FormatStr, getSTI()); in parseFORMAT()
6955 ParseStatus AMDGPUAsmParser::parseSymbolicSplitFormat(StringRef FormatStr, in parseFORMAT()
6962 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseFORMAT()
6992 ParseStatus AMDGPUAsmParser::parseSymbolicUnifiedFormat(StringRef FormatStr,
6997 auto Id = getUnifiedFormat(FormatStr, getST in parseBLGP()
6811 matchDfmtNfmt(int64_t & Dfmt,int64_t & Nfmt,StringRef FormatStr,SMLoc Loc) matchDfmtNfmt() argument
6832 parseSymbolicSplitFormat(StringRef FormatStr,SMLoc FormatLoc,int64_t & Format) parseSymbolicSplitFormat() argument
6869 parseSymbolicUnifiedFormat(StringRef FormatStr,SMLoc Loc,int64_t & Format) parseSymbolicUnifiedFormat() argument
6904 StringRef FormatStr; parseSymbolicOrNumericFormat() local
[all...]
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp3000 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; in cloneModuleUnit()
3016 FormatStr, sys::path::filename(E.first).take_back(45), E.second.Input, in cloneModuleUnit()
3022 llvm::outs() << formatv(FormatStr, "Total", InputTotal, OutputTotal, in cloneModuleUnit()
2969 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; link() local
/llvm-project/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp73 static CallInst *createPrintfCall(IRBuilder<> &Builder, StringRef FormatStr, in verifyDFSOrder()
77 GlobalVariable *GV = Builder.CreateGlobalString(FormatStr, "", 0, M); in verifyDFSOrder()
35 createPrintfCall(IRBuilder<> & Builder,StringRef FormatStr,ArrayRef<Value * > Values) createPrintfCall() argument