Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:UNDEF

110 /// BUILD_VECTOR where all of the elements are ~0 or undef.
120 // Skip over all of the undef values.
121 while (i != e && N->getOperand(i).getOpcode() == ISD::UNDEF)
124 // Do not accept an all-undef vector.
144 N->getOperand(i).getOpcode() != ISD::UNDEF)
151 /// BUILD_VECTOR where all of the elements are 0 or undef.
161 // Skip over all of the undef values.
162 while (i != e && N->getOperand(i).getOpcode() == ISD::UNDEF)
165 // Do not accept an all-undef vector.
184 N->getOperand(i).getOpcode() != ISD::UNDEF)
191 /// element is not an undef.
198 if (N->getOperand(0).getOpcode() == ISD::UNDEF)
205 if (V.getOpcode() != ISD::UNDEF)
1252 // Canonicalize shuffle undef, undef -> undef
1253 if (N1.getOpcode() == ISD::UNDEF && N2.getOpcode() == ISD::UNDEF)
1265 // Canonicalize shuffle v, v -> v, undef
1272 // Canonicalize shuffle undef, v -> v, undef. Commute the shuffle mask.
1273 if (N1.getOpcode() == ISD::UNDEF)
1276 // Canonicalize all index into lhs, -> shuffle lhs, undef
1277 // Canonicalize all index into rhs, -> shuffle rhs, undef
1279 bool N2Undef = N2.getOpcode() == ISD::UNDEF;
1299 // If Identity shuffle, or all shuffle in to undef, return that node.
2491 if (Operand.getOpcode() == ISD::UNDEF)
2506 else if (OpOpcode == ISD::UNDEF)
2507 // sext(undef) = 0, because the top bits will all be the same.
2523 else if (OpOpcode == ISD::UNDEF)
2524 // zext(undef) = 0, because the top bits will be zero.
2542 else if (OpOpcode == ISD::UNDEF)
2583 if (OpOpcode == ISD::UNDEF)
2593 if (OpOpcode == ISD::UNDEF)
2851 // EXTRACT_VECTOR_ELT of an UNDEF is an UNDEF.
2852 if (N1.getOpcode() == ISD::UNDEF)
3010 // Canonicalize an UNDEF to the RHS, even over a constant.
3011 if (N1.getOpcode() == ISD::UNDEF) {
3023 return N1; // fold op(undef, arg2) -> undef
3031 return getConstant(0, VT); // fold op(undef, arg2) -> 0
3039 // Fold a bunch of operators when the RHS is undef.
3040 if (N2.getOpcode() == ISD::UNDEF) {
3043 if (N1.getOpcode() == ISD::UNDEF)
3044 // Handle undef ^ undef -> 0 special case. This is a common
3056 return N2; // fold op(arg1, undef) -> undef
3070 return getConstant(0, VT); // fold op(arg1, undef) -> 0
3253 assert(Value.getOpcode() != ISD::UNDEF);
3421 // Turn a memcpy of undef to nop.
3422 if (Src.getOpcode() == ISD::UNDEF)
3516 // Turn a memmove of undef to nop.
3517 if (Src.getOpcode() == ISD::UNDEF)
3594 // Turn a memset of undef to nop.
3595 if (Src.getOpcode() == ISD::UNDEF)
4130 if (OffsetOp.getOpcode() == ISD::UNDEF)
4189 assert((Indexed || Offset.getOpcode() == ISD::UNDEF) &&
4217 SDValue Undef = getUNDEF(Ptr.getValueType());
4218 return getLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, VT, dl, Chain, Ptr, Undef,
4227 SDValue Undef = getUNDEF(Ptr.getValueType());
4228 return getLoad(ISD::UNINDEXED, ExtType, VT, dl, Chain, Ptr, Undef,
4238 assert(LD->getOffset().getOpcode() == ISD::UNDEF &&
4279 SDValue Undef = getUNDEF(Ptr.getValueType());
4280 SDValue Ops[] = { Chain, Val, Ptr, Undef };
4346 SDValue Undef = getUNDEF(Ptr.getValueType());
4347 SDValue Ops[] = { Chain, Val, Ptr, Undef };
4369 assert(ST->getOffset().getOpcode() == ISD::UNDEF &&
5948 case ISD::UNDEF: return "undef";
6665 // of the vector is an ISD::UNDEF value) are set in SplatUndef and cleared
6677 if (OpVal.getOpcode() == ISD::UNDEF)
6700 // If the two halves do not match (ignoring undef bits), stop here.
6716 // Find the first non-undef value in the shuffle mask.
6721 assert(i != e && "VECTOR_SHUFFLE node with all undef indices!");
6723 // Make sure all remaining elements are either undef or the same as the first
6724 // non-undef value.