Lines Matching refs:isUndef

193   while (i != e && N->getOperand(i).isUndef())  in isConstantSplatVectorAllOnes()
222 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes()
241 if (Op.isUndef()) in isConstantSplatVectorAllZeros()
282 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes()
295 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes()
325 if (Op.isUndef()) in isVectorShrinkable()
346 return all_of(N->op_values(), [](SDValue Op) { return Op.isUndef(); }); in allOperandsUndef()
350 return N->getOpcode() == ISD::FREEZE && N->getOperand(0).isUndef(); in isFreezeUndef()
368 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicateImpl()
408 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
409 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
2056 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
2077 if (N1.isUndef()) in getVectorShuffle()
2113 bool N2Undef = N2.isUndef(); in getVectorShuffle()
2133 N2Undef = N2.isUndef(); in getVectorShuffle()
2135 if (N1.isUndef() && N2Undef) in getVectorShuffle()
2161 if (Splat && Splat.isUndef()) in getVectorShuffle()
2527 if ((N1.isUndef() || N2.isUndef()) && in FoldSetCC()
2533 if (N1.isUndef() && N2.isUndef()) in FoldSetCC()
2538 if (N1.isUndef() || N2.isUndef() || N1 == N2) in FoldSetCC()
2611 } else if (N1CFP && OpVT.isSimple() && !N2.isUndef()) { in FoldSetCC()
2618 (OpVT.isFloatingPoint() && (N1.isUndef() || N2.isUndef()))) { in FoldSetCC()
2720 UndefElts = V.getOperand(0).isUndef() in isSplatValue()
2766 if (Op.isUndef()) { in isSplatValue()
5446 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in FoldBUILD_VECTOR()
5488 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in foldCONCAT_VECTORS()
5527 if (Op.isUndef()) in foldCONCAT_VECTORS()
5542 if (Op.isUndef()) in foldCONCAT_VECTORS()
5661 if (N1.isUndef()) in getNode()
5666 if (N1.isUndef()) in getNode()
5672 if (N1.isUndef()) in getNode()
6026 bool SelectionDAG::isUndef(unsigned Opcode, ArrayRef<SDValue> Ops) { in isUndef() function in SelectionDAG
6036 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef()
6041 [](SDValue V) { return V.isUndef() || in isUndef()
6066 if (isUndef(Opcode, Ops)) in FoldConstantArithmetic()
6336 return Op.isUndef() || Op.getOpcode() == ISD::CONDCODE || in FoldConstantArithmetic()
6379 if (Op.isUndef()) in FoldConstantArithmetic()
6397 if (NewNodesMustHaveLegalTypes && !ScalarOp.isUndef() && in FoldConstantArithmetic()
6416 if (!ScalarResult.isUndef() && ScalarResult.getOpcode() != ISD::Constant && in FoldConstantArithmetic()
6489 if (N1C && N1C->getValueAPF().isNegZero() && N2.isUndef()) in foldConstantFPMath()
6499 if (N1.isUndef() && N2.isUndef()) in foldConstantFPMath()
6501 if (N1.isUndef() || N2.isUndef()) in foldConstantFPMath()
6790 if (Op.isUndef()) { in getNode()
6831 if (N1.isUndef() || N2.isUndef()) in getNode()
6958 if (N1.isUndef()) in getNode()
6983 if (N1.isUndef()) { in getNode()
7003 if (N2.isUndef()) { in getNode()
7006 if (N1.isUndef()) in getNode()
7151 if (N3.isUndef()) in getNode()
7155 if (N2.isUndef()) in getNode()
7162 if (N1.isUndef() && N2.isUndef()) in getNode()
7193 if (N1.isUndef() && N2.getOpcode() == ISD::EXTRACT_SUBVECTOR && in getNode()
7278 assert(!Value.isUndef()); in getMemsetValue()
7446 if (Src.isUndef()) in getMemcpyLoadsAndStores()
7649 if (Src.isUndef()) in getMemmoveLoadsAndStores()
7772 if (Src.isUndef()) in getMemsetStores()
8471 if (OffsetOp.isUndef()) in InferPointerInfo()
8522 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoad()
8590 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoad()
8723 assert(ST->getOffset().isUndef() && "Store is already a indexed store!"); in getIndexedStore()
8778 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoadVP()
8853 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoadVP()
8872 assert((Indexed || Offset.isUndef()) && "Unindexed vp_store with an offset!"); in getStoreVP()
8975 assert(ST->getOffset().isUndef() && "Store is already an indexed store!"); in getIndexedStoreVP()
9029 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getStridedLoadVP()
9104 assert(SLD->getOffset().isUndef() && in getIndexedStridedLoadVP()
9126 assert((Indexed || Offset.isUndef()) && "Unindexed vp_store with an offset!"); in getStridedStoreVP()
9227 assert(SST->getOffset().isUndef() && in getIndexedStridedStoreVP()
9348 assert((Indexed || Offset.isUndef()) && in getMaskedLoad()
9380 assert(LD->getOffset().isUndef() && "Masked load is already a indexed load!"); in getIndexedMaskedLoad()
9396 assert((Indexed || Offset.isUndef()) && in getMaskedStore()
9429 assert(ST->getOffset().isUndef() && in getIndexedMaskedStore()
9587 if (Cond.isUndef()) in simplifySelect()
9589 if (T.isUndef()) in simplifySelect()
9591 if (F.isUndef()) in simplifySelect()
9615 if (X.isUndef()) in simplifyShift()
9618 if (Y.isUndef()) in simplifyShift()
9649 if (Flags.hasNoNaNs() && (HasNan || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
9652 if (Flags.hasNoInfs() && (HasInf || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
12424 if (OpVal.isUndef()) in isConstantSplat()
12486 if (Op.isUndef()) { in getSplatValue()
12498 assert(getOperand(FirstDemandedIdx).isUndef() && in getSplatValue()
12527 if (DemandedElts[I] && getOperand(I).isUndef()) in getRepeatedSequence()
12538 if (Op.isUndef()) { in getRepeatedSequence()
12543 if (SeqOp && !SeqOp.isUndef() && SeqOp != Op) { in getRepeatedSequence()
12624 if (Op.isUndef()) { in getConstantRawBits()