Lines Matching refs:getArgOperand
205 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
219 CI->getArgOperand(0)->getType()); in ReplaceFPIntrinsicWithCall()
241 Value *V = CI->getArgOperand(0); in LowerIntrinsicCall()
247 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
251 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
255 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
260 Value *Src = CI->getArgOperand(0); in LowerIntrinsicCall()
337 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
340 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
341 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
343 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
348 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
351 Ops[0] = CI->getArgOperand(0); in LowerIntrinsicCall()
352 Ops[1] = CI->getArgOperand(1); in LowerIntrinsicCall()
354 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
358 Value *Op0 = CI->getArgOperand(0); in LowerIntrinsicCall()
360 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
365 Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1), in LowerIntrinsicCall()
369 ReplaceCallWith("memset", CI, Ops, Ops+3, CI->getArgOperand(0)->getType()); in LowerIntrinsicCall()
456 CI->getType() != CI->getArgOperand(0)->getType() || in LowerToByteSwap()
468 Value *Op = CI->getArgOperand(0); in LowerToByteSwap()