Lines Matching refs:getArgOperand
318 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
332 CI->getArgOperand(0)->getType()); in ReplaceFPIntrinsicWithCall()
355 Value *V = CI->getArgOperand(0); in LowerIntrinsicCall()
389 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
393 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
397 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
402 Value *Src = CI->getArgOperand(0); in LowerIntrinsicCall()
479 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
482 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
483 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
485 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
490 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
493 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
494 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
496 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
500 Value *Op0 = CI->getArgOperand(0); in LowerIntrinsicCall()
502 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
507 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
511 ReplaceCallWith("memset", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
594 CI->getType() != CI->getArgOperand(0)->getType() || in LowerToByteSwap()
606 Value *Op = CI->getArgOperand(0); in LowerToByteSwap()