Lines Matching defs:NewC
1397 // Find constant NewC that has property:
1398 // shuffle(NewC, ShMask) = C
1401 // ShMask = <1,1,2,2> and C = <5,5,6,6> --> NewC = <undef,5,6,undef>
1420 Constant *NewC = ConstantVector::get(NewVecC);
1426 NewC = getSafeVectorConstantForBinop(Inst.getOpcode(), NewC, ConstOp1);
1428 // Op(shuffle(V1, Mask), C) -> shuffle(Op(V1, NewC), Mask)
1429 // Op(C, shuffle(V1, Mask)) -> shuffle(Op(NewC, V1), Mask)
1430 Value *NewLHS = isa<Constant>(LHS) ? NewC : V1;
1431 Value *NewRHS = isa<Constant>(LHS) ? V1 : NewC;