Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Op0

386 static Value *SimplifyX86extrq(IntrinsicInst &II, Value *Op0,
397 Constant *C0 = dyn_cast<Constant>(Op0);
448 Builder.CreateBitCast(Op0, ShufTy),
463 Value *Args[] = {Op0, CILength, CIIndex};
479 static Value *SimplifyX86insertq(IntrinsicInst &II, Value *Op0, Value *Op1,
528 Value *SV = Builder.CreateShuffleVector(Builder.CreateBitCast(Op0, ShufTy),
535 Constant *C0 = dyn_cast<Constant>(Op0);
565 Value *Args[] = {Op0, Op1, CILength, CIIndex};
1208 Value *Op0 = II->getArgOperand(0);
1210 unsigned VWidth0 = Op0->getType()->getVectorNumElements();
1212 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 &&
1226 if (Value *V = SimplifyX86extrq(*II, Op0, CILength, CIIndex, *Builder))
1231 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth0, 1)) {
1245 Value *Op0 = II->getArgOperand(0);
1246 unsigned VWidth = Op0->getType()->getVectorNumElements();
1247 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 &&
1255 if (Value *V = SimplifyX86extrq(*II, Op0, CILength, CIIndex, *Builder))
1260 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth, 1)) {
1268 Value *Op0 = II->getArgOperand(0);
1270 unsigned VWidth = Op0->getType()->getVectorNumElements();
1271 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 &&
1287 if (Value *V = SimplifyX86insertq(*II, Op0, Op1, Len, Idx, *Builder))
1293 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth, 1)) {
1304 Value *Op0 = II->getArgOperand(0);
1306 unsigned VWidth0 = Op0->getType()->getVectorNumElements();
1308 Op0->getType()->getPrimitiveSizeInBits() == 128 &&
1320 if (Value *V = SimplifyX86insertq(*II, Op0, Op1, Len, Idx, *Builder))
1326 if (Value *V = SimplifyDemandedVectorEltsLow(Op0, VWidth0, 1)) {
1349 Value *Op0 = II->getArgOperand(0);
1354 if (Op0 == Op1)
1355 return ReplaceInstUsesWith(CI, Op0);
1359 return ReplaceInstUsesWith(CI, Op0);
1384 return SelectInst::Create(NewSelector, Op1, Op0, "blendv");
1517 Value *Op0 = Builder->CreateBitCast(II->getArgOperand(0),
1521 Value *Result = UndefValue::get(Op0->getType());
1537 Value *Op0ToUse = (DL.isLittleEndian()) ? Op1 : Op0;
1538 Value *Op1ToUse = (DL.isLittleEndian()) ? Op0 : Op1;