Lines Matching refs:getArgOperand
321 switch (CI->getArgOperand(0)->getType()->getTypeID()) {
335 CI->getArgOperand(0)->getType());
358 Value *V = CI->getArgOperand(0);
392 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI));
396 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI));
400 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI));
405 Value *Src = CI->getArgOperand(0);
475 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
478 Ops[0] = CI->getArgOperand(0);
479 Ops[1] = CI->getArgOperand(1);
481 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
486 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
489 Ops[0] = CI->getArgOperand(0);
490 Ops[1] = CI->getArgOperand(1);
492 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
496 Value *Op0 = CI->getArgOperand(0);
498 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
503 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1),
507 ReplaceCallWith("memset", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
590 CI->getType() != CI->getArgOperand(0)->getType() ||
602 Value *Op = CI->getArgOperand(0);