Lines Matching refs:UndefValue

64     return UndefValue::get(VTy->getElementType());
89 return UndefValue::get(VTy->getElementType());
115 return ReplaceInstUsesWith(EI, UndefValue::get(EI.getType()));
180 return ReplaceInstUsesWith(EI, UndefValue::get(EI.getType()));
215 if (isa<UndefValue>(V)) {
216 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext())));
243 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector.
248 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext()));
294 if (isa<UndefValue>(V)) {
295 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext())));
360 if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp))
377 return ReplaceInstUsesWith(IE, UndefValue::get(IE.getType()));
390 if (RHS == 0) RHS = UndefValue::get(LHS->getType());
418 if (isa<UndefValue>(SVI.getOperand(2)))
419 return ReplaceInstUsesWith(SVI, UndefValue::get(SVI.getType()));
437 if (LHS == RHS || isa<UndefValue>(LHS)) {
438 if (isa<UndefValue>(LHS) && LHS == RHS) {
441 ? LHS : UndefValue::get(SVI.getType());
449 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext())));
453 if ((Mask[i] >= (int)e && isa<UndefValue>(RHS)) ||
454 (Mask[i] < (int)e && isa<UndefValue>(LHS))) {
456 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext())));
464 SVI.setOperand(1, UndefValue::get(RHS->getType()));
535 if (!isa<UndefValue>(LHSShuffle->getOperand(1)) && !isa<UndefValue>(RHS))
538 if (!isa<UndefValue>(RHSShuffle->getOperand(1)))
561 if (isa<UndefValue>(RHS)) {
610 if (eltMask >= (int)LHSOp0Width && isa<UndefValue>(LHSOp1))
620 if (isa<UndefValue>(RHS))
629 assert(isa<UndefValue>(RHSShuffle->getOperand(1))
661 Elts.push_back(UndefValue::get(Int32Ty));
667 newRHS = UndefValue::get(newLHS->getType());