Lines Matching refs:isUndef

184   while (i != e && N->getOperand(i).isUndef())  in isConstantSplatVectorAllOnes()
213 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes()
232 if (Op.isUndef()) in isConstantSplatVectorAllZeros()
273 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes()
286 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes()
300 return all_of(N->op_values(), [](SDValue Op) { return Op.isUndef(); }); in allOperandsUndef()
317 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicate()
352 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
353 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
1886 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
1907 if (N1.isUndef()) in getVectorShuffle()
1943 bool N2Undef = N2.isUndef(); in getVectorShuffle()
1963 N2Undef = N2.isUndef(); in getVectorShuffle()
1965 if (N1.isUndef() && N2Undef) in getVectorShuffle()
1991 if (Splat && Splat.isUndef()) in getVectorShuffle()
2349 if ((N1.isUndef() || N2.isUndef()) && in FoldSetCC()
2355 if (N1.isUndef() && N2.isUndef()) in FoldSetCC()
2433 } else if (N1CFP && OpVT.isSimple() && !N2.isUndef()) { in FoldSetCC()
2440 (OpVT.isFloatingPoint() && (N1.isUndef() || N2.isUndef()))) { in FoldSetCC()
2561 UndefElts = V.getOperand(0).isUndef() in isSplatValue()
2606 if (Op.isUndef()) { in isSplatValue()
4828 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in FoldBUILD_VECTOR()
4870 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in foldCONCAT_VECTORS()
4909 if (Op.isUndef()) in foldCONCAT_VECTORS()
4924 if (Op.isUndef()) in foldCONCAT_VECTORS()
5194 if (Operand.isUndef()) in getNode()
5199 if (Operand.isUndef()) in getNode()
5205 if (Operand.isUndef()) in getNode()
5531 bool SelectionDAG::isUndef(unsigned Opcode, ArrayRef<SDValue> Ops) { in isUndef() function in SelectionDAG
5541 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef()
5546 [](SDValue V) { return V.isUndef() || in isUndef()
5571 if (isUndef(Opcode, Ops)) in FoldConstantArithmetic()
5677 return Op.isUndef() || Op.getOpcode() == ISD::CONDCODE || in FoldConstantArithmetic()
5720 if (Op.isUndef()) in FoldConstantArithmetic()
5738 if (NewNodesMustHaveLegalTypes && !ScalarOp.isUndef() && in FoldConstantArithmetic()
5757 if (!ScalarResult.isUndef() && ScalarResult.getOpcode() != ISD::Constant && in FoldConstantArithmetic()
5824 if (N1C && N1C->getValueAPF().isNegZero() && N2.isUndef()) in foldConstantFPMath()
5834 if (N1.isUndef() && N2.isUndef()) in foldConstantFPMath()
5836 if (N1.isUndef() || N2.isUndef()) in foldConstantFPMath()
6119 if (Op.isUndef()) { in getNode()
6153 if (N1.isUndef() || N2.isUndef()) in getNode()
6280 if (N1.isUndef()) in getNode()
6305 if (N1.isUndef()) { in getNode()
6325 if (N2.isUndef()) { in getNode()
6328 if (N1.isUndef()) in getNode()
6468 if (N3.isUndef()) in getNode()
6472 if (N2.isUndef()) in getNode()
6479 if (N1.isUndef() && N2.isUndef()) in getNode()
6509 if (N1.isUndef() && N2.getOpcode() == ISD::EXTRACT_SUBVECTOR && in getNode()
6587 assert(!Value.isUndef()); in getMemsetValue()
6755 if (Src.isUndef()) in getMemcpyLoadsAndStores()
6957 if (Src.isUndef()) in getMemmoveLoadsAndStores()
7071 if (Src.isUndef()) in getMemsetStores()
7745 if (OffsetOp.isUndef()) in InferPointerInfo()
7796 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoad()
7864 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoad()
7997 assert(ST->getOffset().isUndef() && "Store is already a indexed store!"); in getIndexedStore()
8052 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoadVP()
8127 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoadVP()
8146 assert((Indexed || Offset.isUndef()) && "Unindexed vp_store with an offset!"); in getStoreVP()
8249 assert(ST->getOffset().isUndef() && "Store is already an indexed store!"); in getIndexedStoreVP()
8303 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getStridedLoadVP()
8378 assert(SLD->getOffset().isUndef() && in getIndexedStridedLoadVP()
8400 assert((Indexed || Offset.isUndef()) && "Unindexed vp_store with an offset!"); in getStridedStoreVP()
8501 assert(SST->getOffset().isUndef() && in getIndexedStridedStoreVP()
8622 assert((Indexed || Offset.isUndef()) && in getMaskedLoad()
8654 assert(LD->getOffset().isUndef() && "Masked load is already a indexed load!"); in getIndexedMaskedLoad()
8670 assert((Indexed || Offset.isUndef()) && in getMaskedStore()
8703 assert(ST->getOffset().isUndef() && in getIndexedMaskedStore()
8807 if (Cond.isUndef()) in simplifySelect()
8809 if (T.isUndef()) in simplifySelect()
8811 if (F.isUndef()) in simplifySelect()
8835 if (X.isUndef()) in simplifyShift()
8838 if (Y.isUndef()) in simplifyShift()
8869 if (Flags.hasNoNaNs() && (HasNan || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
8872 if (Flags.hasNoInfs() && (HasInf || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
11423 if (OpVal.isUndef()) in isConstantSplat()
11475 if (Op.isUndef()) { in getSplatValue()
11487 assert(getOperand(FirstDemandedIdx).isUndef() && in getSplatValue()
11516 if (DemandedElts[I] && getOperand(I).isUndef()) in getRepeatedSequence()
11527 if (Op.isUndef()) { in getRepeatedSequence()
11532 if (SeqOp && !SeqOp.isUndef() && SeqOp != Op) { in getRepeatedSequence()
11613 if (Op.isUndef()) { in getConstantRawBits()