reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/SimplifyLibCalls.cpp
 2418   if (!getConstantStringInfo(CI->getArgOperand(1), FormatStr))
 2422   if (CI->getNumArgOperands() == 2) {
 2429     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1,
 2429     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1,
 2430                    ConstantInt::get(DL.getIntPtrType(CI->getContext()),
 2432     return ConstantInt::get(CI->getType(), FormatStr.size());
 2438       CI->getNumArgOperands() < 3)
 2444     if (!CI->getArgOperand(2)->getType()->isIntegerTy())
 2446     Value *V = B.CreateTrunc(CI->getArgOperand(2), B.getInt8Ty(), "char");
 2447     Value *Ptr = castToCStr(CI->getArgOperand(0), B);
 2452     return ConstantInt::get(CI->getType(), 1);
 2458     if (!CI->getArgOperand(2)->getType()->isPointerTy())
 2461     Value *Len = emitStrLen(CI->getArgOperand(2), B, DL, TLI);
 2466     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(2), 1, IncLen);
 2466     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(2), 1, IncLen);
 2469     return B.CreateIntCast(Len, CI->getType(), false);