Lines Matching refs:isUndef

195   while (i != e && N->getOperand(i).isUndef())  in isConstantSplatVectorAllOnes()
224 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes()
243 if (Op.isUndef()) in isConstantSplatVectorAllZeros()
284 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes()
297 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes()
327 if (Op.isUndef()) in isVectorShrinkable()
348 return all_of(N->op_values(), [](SDValue Op) { return Op.isUndef(); }); in allOperandsUndef()
352 return N->getOpcode() == ISD::FREEZE && N->getOperand(0).isUndef(); in isFreezeUndef()
370 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicateImpl()
410 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
411 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
2093 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
2114 if (N1.isUndef()) in getVectorShuffle()
2150 bool N2Undef = N2.isUndef(); in getVectorShuffle()
2170 N2Undef = N2.isUndef(); in getVectorShuffle()
2172 if (N1.isUndef() && N2Undef) in getVectorShuffle()
2198 if (Splat && Splat.isUndef()) in getVectorShuffle()
2568 if ((N1.isUndef() || N2.isUndef()) && in FoldSetCC()
2574 if (N1.isUndef() && N2.isUndef()) in FoldSetCC()
2579 if (N1.isUndef() || N2.isUndef() || N1 == N2) in FoldSetCC()
2652 } else if (N1CFP && OpVT.isSimple() && !N2.isUndef()) { in FoldSetCC()
2659 (OpVT.isFloatingPoint() && (N1.isUndef() || N2.isUndef()))) { in FoldSetCC()
2761 UndefElts = V.getOperand(0).isUndef() in isSplatValue()
2807 if (Op.isUndef()) { in isSplatValue()
5770 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in FoldBUILD_VECTOR()
5812 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in foldCONCAT_VECTORS()
5851 if (Op.isUndef()) in foldCONCAT_VECTORS()
5866 if (Op.isUndef()) in foldCONCAT_VECTORS()
5985 if (N1.isUndef()) in getNode()
5990 if (N1.isUndef()) in getNode()
5996 if (N1.isUndef()) in getNode()
6347 bool SelectionDAG::isUndef(unsigned Opcode, ArrayRef<SDValue> Ops) { in isUndef() function in SelectionDAG
6357 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef()
6362 [](SDValue V) { return V.isUndef() || in isUndef()
6388 if (isUndef(Opcode, Ops)) in FoldConstantArithmetic()
6665 return Op.isUndef() || Op.getOpcode() == ISD::CONDCODE || in FoldConstantArithmetic()
6708 if (Op.isUndef()) in FoldConstantArithmetic()
6726 if (NewNodesMustHaveLegalTypes && !ScalarOp.isUndef() && in FoldConstantArithmetic()
6745 if (!ScalarResult.isUndef() && ScalarResult.getOpcode() != ISD::Constant && in FoldConstantArithmetic()
6818 if (N1C && N1C->getValueAPF().isNegZero() && N2.isUndef()) in foldConstantFPMath()
6828 if (N1.isUndef() && N2.isUndef()) in foldConstantFPMath()
6830 if (N1.isUndef() || N2.isUndef()) in foldConstantFPMath()
7139 if (Op.isUndef()) { in getNode()
7180 if (N1.isUndef() || N2.isUndef()) in getNode()
7307 if (N1.isUndef()) in getNode()
7332 if (N1.isUndef()) { in getNode()
7352 if (N2.isUndef()) { in getNode()
7355 if (N1.isUndef()) in getNode()
7500 if (N3.isUndef()) in getNode()
7504 if (N2.isUndef()) in getNode()
7511 if (N1.isUndef() && N2.isUndef()) in getNode()
7542 if (N1.isUndef() && N2.getOpcode() == ISD::EXTRACT_SUBVECTOR && in getNode()
7570 if (N1.isUndef() || N2.isUndef()) in getNode()
7643 assert(!Value.isUndef()); in getMemsetValue()
7811 if (Src.isUndef()) in getMemcpyLoadsAndStores()
8014 if (Src.isUndef()) in getMemmoveLoadsAndStores()
8137 if (Src.isUndef()) in getMemsetStores()
8870 if (OffsetOp.isUndef()) in InferPointerInfo()
8921 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoad()
8989 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoad()
9121 assert(ST->getOffset().isUndef() && "Store is already a indexed store!"); in getIndexedStore()
9176 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoadVP()
9251 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoadVP()
9270 assert((Indexed || Offset.isUndef()) && "Unindexed vp_store with an offset!"); in getStoreVP()
9373 assert(ST->getOffset().isUndef() && "Store is already an indexed store!"); in getIndexedStoreVP()
9404 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getStridedLoadVP()
9461 assert((Indexed || Offset.isUndef()) && "Unindexed vp_store with an offset!"); in getStridedStoreVP()
9631 assert((Indexed || Offset.isUndef()) && in getMaskedLoad()
9663 assert(LD->getOffset().isUndef() && "Masked load is already a indexed load!"); in getIndexedMaskedLoad()
9679 assert((Indexed || Offset.isUndef()) && in getMaskedStore()
9712 assert(ST->getOffset().isUndef() && in getIndexedMaskedStore()
9908 if (Cond.isUndef()) in simplifySelect()
9910 if (T.isUndef()) in simplifySelect()
9912 if (F.isUndef()) in simplifySelect()
9936 if (X.isUndef()) in simplifyShift()
9939 if (Y.isUndef()) in simplifyShift()
9974 if (Flags.hasNoNaNs() && (HasNan || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
9977 if (Flags.hasNoInfs() && (HasInf || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
11865 return V.isUndef() || isNullConstant(V); in isNullConstantOrUndef()
12754 if (OpVal.isUndef()) in isConstantSplat()
12816 if (Op.isUndef()) { in getSplatValue()
12828 assert(getOperand(FirstDemandedIdx).isUndef() && in getSplatValue()
12857 if (DemandedElts[I] && getOperand(I).isUndef()) in getRepeatedSequence()
12868 if (Op.isUndef()) { in getRepeatedSequence()
12873 if (SeqOp && !SeqOp.isUndef() && SeqOp != Op) { in getRepeatedSequence()
12954 if (Op.isUndef()) { in getConstantRawBits()