Lines Matching refs:getArgOperand
321 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
335 CI->getArgOperand(0)->getType()); in ReplaceFPIntrinsicWithCall()
358 Value *V = CI->getArgOperand(0); in LowerIntrinsicCall()
392 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
396 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
400 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
405 Value *Src = CI->getArgOperand(0); in LowerIntrinsicCall()
466 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
469 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
470 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
472 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
477 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
480 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
481 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
483 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
488 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
491 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
493 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
497 ReplaceCallWith("memset", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
552 CI->getType() != CI->getArgOperand(0)->getType() || in LowerToByteSwap()
564 Value *Op = CI->getArgOperand(0); in LowerToByteSwap()