reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2328 if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr)) 2332 if (FormatStr.empty()) // Tolerate printf's declared void. 2342 if (FormatStr.size() == 1 || FormatStr == "%%") 2342 if (FormatStr.size() == 1 || FormatStr == "%%") 2343 return emitPutChar(B.getInt32(FormatStr[0]), B, TLI); 2346 if (FormatStr == "%s" && CI->getNumArgOperands() > 1) { 2356 if (FormatStr[FormatStr.size() - 1] == '\n' && 2356 if (FormatStr[FormatStr.size() - 1] == '\n' && 2357 FormatStr.find('%') == StringRef::npos) { // No format characters. 2360 FormatStr = FormatStr.drop_back(); 2360 FormatStr = FormatStr.drop_back(); 2361 Value *GV = B.CreateGlobalString(FormatStr, "str"); 2367 if (FormatStr == "%c" && CI->getNumArgOperands() > 1 && 2372 if (FormatStr == "%s\n" && CI->getNumArgOperands() > 1 &&