Searched refs:LenOp (Results 1 – 3 of 3) sorted by relevance
479 Value *LenOp = CI->getArgOperand(2); in CallOptimizer() local488 B.CreateMemSet(Dst, B.getInt8('\0'), LenOp, 1); in CallOptimizer()493 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(LenOp)) in CallOptimizer()
366 Value *LenOp = CI->getArgOperand(2); in optimizeStrNCpy() local376 B.CreateMemSet(Dst, B.getInt8('\0'), LenOp, 1); in optimizeStrNCpy()381 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(LenOp)) in optimizeStrNCpy()
412 Value *LenOp = CI->getArgOperand(2); in optimizeStrNCpy() local422 B.CreateMemSet(Dst, B.getInt8('\0'), LenOp, 1); in optimizeStrNCpy()427 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(LenOp)) in optimizeStrNCpy()