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

References

lib/Transforms/Utils/SimplifyLibCalls.cpp
 2429     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1,
 2446     Value *V = B.CreateTrunc(CI->getArgOperand(2), B.getInt8Ty(), "char");
 2446     Value *V = B.CreateTrunc(CI->getArgOperand(2), B.getInt8Ty(), "char");
 2447     Value *Ptr = castToCStr(CI->getArgOperand(0), B);
 2448     B.CreateStore(V, Ptr);
 2449     Ptr = B.CreateGEP(B.getInt8Ty(), Ptr, B.getInt32(1), "nul");
 2449     Ptr = B.CreateGEP(B.getInt8Ty(), Ptr, B.getInt32(1), "nul");
 2449     Ptr = B.CreateGEP(B.getInt8Ty(), Ptr, B.getInt32(1), "nul");
 2450     B.CreateStore(B.getInt8(0), Ptr);
 2450     B.CreateStore(B.getInt8(0), Ptr);
 2461     Value *Len = emitStrLen(CI->getArgOperand(2), B, DL, TLI);
 2465         B.CreateAdd(Len, ConstantInt::get(Len->getType(), 1), "leninc");
 2466     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(2), 1, IncLen);
 2469     return B.CreateIntCast(Len, CI->getType(), false);