Lines Matching refs:getArgOperand
379 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
385 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
401 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
402 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
459 Builder.CreateCall(VPCOM, {CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
462 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
463 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
464 Value *Sel = CI->getArgOperand(2); in UpgradeIntrinsicCall()
474 Value *Trunc0 = Builder.CreateTrunc(CI->getArgOperand(0), Type::getInt32Ty(C)); in UpgradeIntrinsicCall()
475 Rep = Builder.CreateCall(CRC32, {Trunc0, CI->getArgOperand(1)}); in UpgradeIntrinsicCall()
482 Value *Cast = Builder.CreateBitCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
491 VectorType *SrcTy = cast<VectorType>(CI->getArgOperand(0)->getType()); in UpgradeIntrinsicCall()
501 CI->getArgOperand(0), UndefValue::get(SrcTy), ShuffleMask); in UpgradeIntrinsicCall()
506 Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
515 Value *Op = CI->getArgOperand(0); in UpgradeIntrinsicCall()
522 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
523 Rep = UpgradeX86PSLLDQIntrinsics(Builder, C, CI->getArgOperand(0), 1, in UpgradeIntrinsicCall()
527 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
528 Rep = UpgradeX86PSRLDQIntrinsics(Builder, C, CI->getArgOperand(0), 1, in UpgradeIntrinsicCall()
532 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
533 Rep = UpgradeX86PSLLDQIntrinsics(Builder, C, CI->getArgOperand(0), 2, in UpgradeIntrinsicCall()
537 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
538 Rep = UpgradeX86PSRLDQIntrinsics(Builder, C, CI->getArgOperand(0), 2, in UpgradeIntrinsicCall()
542 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
543 Rep = UpgradeX86PSLLDQIntrinsics(Builder, C, CI->getArgOperand(0), 1, in UpgradeIntrinsicCall()
547 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
548 Rep = UpgradeX86PSRLDQIntrinsics(Builder, C, CI->getArgOperand(0), 1, in UpgradeIntrinsicCall()
552 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
553 Rep = UpgradeX86PSLLDQIntrinsics(Builder, C, CI->getArgOperand(0), 2, in UpgradeIntrinsicCall()
557 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
558 Rep = UpgradeX86PSRLDQIntrinsics(Builder, C, CI->getArgOperand(0), 2, in UpgradeIntrinsicCall()
568 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
569 Value *Op1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
570 unsigned Imm = cast <ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall()
585 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
586 Value *Op1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
587 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall()
631 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
632 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
660 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
661 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
726 NewFn, {CI->getArgOperand(0), Builder.getFalse()}, Name)); in UpgradeIntrinsicCall()
732 NewFn, {CI->getArgOperand(0), CI->getArgOperand(1)}, Name)); in UpgradeIntrinsicCall()
737 CI->replaceAllUsesWith(Builder.CreateCall(NewFn, {CI->getArgOperand(0)})); in UpgradeIntrinsicCall()
745 Builder.CreateCall(NewFn, {CI->getArgOperand(1)}, Name)); in UpgradeIntrinsicCall()
756 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
761 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()