• Home
  • Raw
  • Download

Lines Matching refs:getArgOperand

603   Value *Op0 = CI.getArgOperand(0);  in upgradeIntMinMax()
604 Value *Op1 = CI.getArgOperand(1); in upgradeIntMinMax()
611 Value *Op0 = CI.getArgOperand(0); in upgradeMaskedCompare()
613 Value *Cmp = Builder.CreateICmp(Pred, Op0, CI.getArgOperand(1)); in upgradeMaskedCompare()
615 Value *Mask = CI.getArgOperand(2); in upgradeMaskedCompare()
659 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
664 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
697 Value *Src = CI->getArgOperand(0); in UpgradeIntrinsicCall()
700 Rep = CI->getArgOperand(0); in UpgradeIntrinsicCall()
718 Value *Src = CI->getArgOperand(0); in UpgradeIntrinsicCall()
728 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
729 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
753 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
754 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
769 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
770 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
786 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
787 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
802 UpgradeMaskedStore(Builder, CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
803 CI->getArgOperand(2), /*Aligned*/false); in UpgradeIntrinsicCall()
813 UpgradeMaskedStore(Builder, CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
814 CI->getArgOperand(2), /*Aligned*/true); in UpgradeIntrinsicCall()
824 Rep = UpgradeMaskedLoad(Builder, CI->getArgOperand(0), in UpgradeIntrinsicCall()
825 CI->getArgOperand(1), CI->getArgOperand(2), in UpgradeIntrinsicCall()
832 Rep = UpgradeMaskedLoad(Builder, CI->getArgOperand(0), in UpgradeIntrinsicCall()
833 CI->getArgOperand(1),CI->getArgOperand(2), in UpgradeIntrinsicCall()
879 Builder.CreateCall(VPCOM, {CI->getArgOperand(0), CI->getArgOperand(1), in UpgradeIntrinsicCall()
882 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
883 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
884 Value *Sel = CI->getArgOperand(2); in UpgradeIntrinsicCall()
894 Value *Trunc0 = Builder.CreateTrunc(CI->getArgOperand(0), Type::getInt32Ty(C)); in UpgradeIntrinsicCall()
895 Rep = Builder.CreateCall(CRC32, {Trunc0, CI->getArgOperand(1)}); in UpgradeIntrinsicCall()
902 Value *Cast = Builder.CreateBitCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
914 VectorType *SrcTy = cast<VectorType>(CI->getArgOperand(0)->getType()); in UpgradeIntrinsicCall()
924 CI->getArgOperand(0), UndefValue::get(SrcTy), ShuffleMask); in UpgradeIntrinsicCall()
932 Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
943 Value *Op = CI->getArgOperand(0); in UpgradeIntrinsicCall()
950 Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep, in UpgradeIntrinsicCall()
951 CI->getArgOperand(1)); in UpgradeIntrinsicCall()
953 Rep = UpgradeX86PALIGNRIntrinsics(Builder, CI->getArgOperand(0), in UpgradeIntrinsicCall()
954 CI->getArgOperand(1), in UpgradeIntrinsicCall()
955 CI->getArgOperand(2), in UpgradeIntrinsicCall()
956 CI->getArgOperand(3), in UpgradeIntrinsicCall()
957 CI->getArgOperand(4)); in UpgradeIntrinsicCall()
961 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
962 Rep = UpgradeX86PSLLDQIntrinsics(Builder, CI->getArgOperand(0), in UpgradeIntrinsicCall()
967 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
968 Rep = UpgradeX86PSRLDQIntrinsics(Builder, CI->getArgOperand(0), in UpgradeIntrinsicCall()
974 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
975 Rep = UpgradeX86PSLLDQIntrinsics(Builder, CI->getArgOperand(0), Shift); in UpgradeIntrinsicCall()
980 unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
981 Rep = UpgradeX86PSRLDQIntrinsics(Builder, CI->getArgOperand(0), Shift); in UpgradeIntrinsicCall()
987 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
988 Value *Op1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
989 unsigned Imm = cast <ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall()
1000 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1001 Value *Op1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
1002 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall()
1038 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1039 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
1058 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1059 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
1070 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1071 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1076 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1077 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
1094 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1095 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1098 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1099 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
1113 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1114 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1117 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1118 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall()
1132 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1133 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1137 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1154 Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep, in UpgradeIntrinsicCall()
1155 CI->getArgOperand(1)); in UpgradeIntrinsicCall()
1158 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1159 Value *Op1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
1170 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1171 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1174 Value *Op0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1175 Value *Op1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()
1186 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1187 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1189 Rep = Builder.CreateAnd(CI->getArgOperand(0), CI->getArgOperand(1)); in UpgradeIntrinsicCall()
1190 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1191 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1193 Rep = Builder.CreateAnd(Builder.CreateNot(CI->getArgOperand(0)), in UpgradeIntrinsicCall()
1194 CI->getArgOperand(1)); in UpgradeIntrinsicCall()
1195 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1196 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1198 Rep = Builder.CreateOr(CI->getArgOperand(0), CI->getArgOperand(1)); in UpgradeIntrinsicCall()
1199 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1200 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1202 Rep = Builder.CreateXor(CI->getArgOperand(0), CI->getArgOperand(1)); in UpgradeIntrinsicCall()
1203 Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, in UpgradeIntrinsicCall()
1204 CI->getArgOperand(2)); in UpgradeIntrinsicCall()
1255 NewFn, {CI->getArgOperand(0), Builder.getFalse()}, Name)); in UpgradeIntrinsicCall()
1261 NewFn, {CI->getArgOperand(0), CI->getArgOperand(1)}, Name)); in UpgradeIntrinsicCall()
1266 CI->replaceAllUsesWith(Builder.CreateCall(NewFn, {CI->getArgOperand(0)})); in UpgradeIntrinsicCall()
1274 Builder.CreateCall(NewFn, {CI->getArgOperand(1)}, Name)); in UpgradeIntrinsicCall()
1299 Value *Arg0 = CI->getArgOperand(0); in UpgradeIntrinsicCall()
1304 Value *Arg1 = CI->getArgOperand(1); in UpgradeIntrinsicCall()