Home
last modified time | relevance | path

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

/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dstring_cast.inl185 std::string FormatStr(detail::format("%svec1(%s)", local
189 return detail::format(FormatStr.c_str(), x[0]);
200 std::string FormatStr(detail::format("%svec2(%s, %s)", local
204 return detail::format(FormatStr.c_str(), x[0], x[1]);
215 std::string FormatStr(detail::format("%svec3(%s, %s, %s)", local
219 return detail::format(FormatStr.c_str(), x[0], x[1], x[2]);
230 std::string FormatStr(detail::format("%svec4(%s, %s, %s, %s)", local
234 return detail::format(FormatStr.c_str(), x[0], x[1], x[2], x[3]);
246 std::string FormatStr(detail::format("%smat2x2((%s, %s), (%s, %s))", local
251 return detail::format(FormatStr.c_str(),
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
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()
/external/llvm-project/llvm/lib/Remarks/
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()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1587 StringRef FormatStr; in optimizePrintFString() local
1588 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) in optimizePrintFString()
1592 if (FormatStr.empty()) // Tolerate printf's declared void. in optimizePrintFString()
1602 if (FormatStr.size() == 1 || FormatStr == "%%") in optimizePrintFString()
1603 return emitPutChar(B.getInt32(FormatStr[0]), B, TLI); in optimizePrintFString()
1606 if (FormatStr == "%s" && CI->getNumArgOperands() > 1) { in optimizePrintFString()
1616 if (FormatStr[FormatStr.size() - 1] == '\n' && in optimizePrintFString()
1617 FormatStr.find('%') == StringRef::npos) { // No format characters. in optimizePrintFString()
1620 FormatStr = FormatStr.drop_back(); in optimizePrintFString()
1621 Value *GV = B.CreateGlobalString(FormatStr, "str"); in optimizePrintFString()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp2372 StringRef FormatStr; in optimizePrintFString() local
2373 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) in optimizePrintFString()
2377 if (FormatStr.empty()) // Tolerate printf's declared void. in optimizePrintFString()
2387 if (FormatStr.size() == 1 || FormatStr == "%%") in optimizePrintFString()
2388 return emitPutChar(B.getInt32(FormatStr[0]), B, TLI); in optimizePrintFString()
2391 if (FormatStr == "%s" && CI->getNumArgOperands() > 1) { in optimizePrintFString()
2401 if (FormatStr[FormatStr.size() - 1] == '\n' && in optimizePrintFString()
2402 FormatStr.find('%') == StringRef::npos) { // No format characters. in optimizePrintFString()
2405 FormatStr = FormatStr.drop_back(); in optimizePrintFString()
2406 Value *GV = B.CreateGlobalString(FormatStr, "str"); in optimizePrintFString()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp2377 StringRef FormatStr; in optimizePrintFString() local
2378 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) in optimizePrintFString()
2382 if (FormatStr.empty()) // Tolerate printf's declared void. in optimizePrintFString()
2392 if (FormatStr.size() == 1 || FormatStr == "%%") in optimizePrintFString()
2393 return emitPutChar(B.getInt32(FormatStr[0]), B, TLI); in optimizePrintFString()
2396 if (FormatStr == "%s" && CI->getNumArgOperands() > 1) { in optimizePrintFString()
2406 if (FormatStr[FormatStr.size() - 1] == '\n' && in optimizePrintFString()
2407 FormatStr.find('%') == StringRef::npos) { // No format characters. in optimizePrintFString()
2410 FormatStr = FormatStr.drop_back(); in optimizePrintFString()
2411 Value *GV = B.CreateGlobalString(FormatStr, "str"); in optimizePrintFString()
[all …]
/external/llvm-project/llvm/include/llvm/MC/
DLaneBitmask.h43 constexpr static const char *const FormatStr = "%016llX"; member
95 OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger()); in PrintLaneMask()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DLaneBitmask.h43 constexpr static const char *const FormatStr = "%08X"; member
95 OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger()); in PrintLaneMask()
/external/llvm-project/llvm/include/llvm/Remarks/
DRemarkFormat.h28 Expected<Format> parseFormat(StringRef FormatStr);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
DRemarkFormat.h28 Expected<Format> parseFormat(StringRef FormatStr);
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1345 OperandMatchResultTy parseSymbolicSplitFormat(StringRef FormatStr, SMLoc Loc, int64_t &Format);
1346 OperandMatchResultTy parseSymbolicUnifiedFormat(StringRef FormatStr, SMLoc Loc, int64_t &Format);
1351 bool matchDfmtNfmt(int64_t &Dfmt, int64_t &Nfmt, StringRef FormatStr, SMLoc Loc);
5266 StringRef FormatStr, in matchDfmtNfmt() argument
5271 Format = getDfmt(FormatStr); in matchDfmtNfmt()
5277 Format = getNfmt(FormatStr, getSTI()); in matchDfmtNfmt()
5288 AMDGPUAsmParser::parseSymbolicSplitFormat(StringRef FormatStr, in parseSymbolicSplitFormat() argument
5295 if (!matchDfmtNfmt(Dfmt, Nfmt, FormatStr, FormatLoc)) in parseSymbolicSplitFormat()
5332 AMDGPUAsmParser::parseSymbolicUnifiedFormat(StringRef FormatStr, in parseSymbolicUnifiedFormat() argument
5337 auto Id = getUnifiedFormat(FormatStr); in parseSymbolicUnifiedFormat()
[all …]
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFLinker.cpp2628 const char *FormatStr = "{0,-45} {1,10}b {2,10}b {3,8:P}\n"; in link() local
2644 FormatStr, sys::path::filename(E.first).take_back(45), E.second.Input, in link()
2650 llvm::outs() << formatv(FormatStr, "Total", InputTotal, OutputTotal, in link()