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);
467 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
470 Ops[0] = CI->getArgOperand(0);
471 Ops[1] = CI->getArgOperand(1);
473 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
478 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
481 Ops[0] = CI->getArgOperand(0);
482 Ops[1] = CI->getArgOperand(1);
484 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
489 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
492 Ops[0] = CI->getArgOperand(0);
494 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1),
498 ReplaceCallWith("memset", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
553 CI->getType() != CI->getArgOperand(0)->getType() ||
565 Value *Op = CI->getArgOperand(0);