Lines Matching refs:isUndef

186   while (i != e && N->getOperand(i).isUndef())  in isConstantSplatVectorAllOnes()
215 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isConstantSplatVectorAllOnes()
234 if (Op.isUndef()) in isConstantSplatVectorAllZeros()
275 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes()
288 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes()
302 return all_of(N->op_values(), [](SDValue Op) { return Op.isUndef(); }); in allOperandsUndef()
319 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicate()
354 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
355 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
1785 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
1806 if (N1.isUndef()) in getVectorShuffle()
1842 bool N2Undef = N2.isUndef(); in getVectorShuffle()
1862 N2Undef = N2.isUndef(); in getVectorShuffle()
1864 if (N1.isUndef() && N2Undef) in getVectorShuffle()
1890 if (Splat && Splat.isUndef()) in getVectorShuffle()
2248 if ((N1.isUndef() || N2.isUndef()) && in FoldSetCC()
2254 if (N1.isUndef() && N2.isUndef()) in FoldSetCC()
2343 } else if (N1CFP && OpVT.isSimple() && !N2.isUndef()) { in FoldSetCC()
2350 (OpVT.isFloatingPoint() && (N1.isUndef() || N2.isUndef()))) { in FoldSetCC()
2477 UndefElts = V.getOperand(0).isUndef() in isSplatValue()
2517 if (Op.isUndef()) { in isSplatValue()
4510 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in FoldBUILD_VECTOR()
4552 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in foldCONCAT_VECTORS()
4591 if (Op.isUndef()) in foldCONCAT_VECTORS()
4606 if (Op.isUndef()) in foldCONCAT_VECTORS()
4870 if (Operand.isUndef()) in getNode()
4875 if (Operand.isUndef()) in getNode()
4881 if (Operand.isUndef()) in getNode()
5173 bool SelectionDAG::isUndef(unsigned Opcode, ArrayRef<SDValue> Ops) { in isUndef() function in SelectionDAG
5183 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef()
5188 [](SDValue V) { return V.isUndef() || in isUndef()
5215 if (isUndef(Opcode, Ops)) in FoldConstantArithmetic()
5250 if (!IsBVOrSV1 && !N1->isUndef()) in FoldConstantArithmetic()
5254 if (!IsBVOrSV2 && !N2->isUndef()) in FoldConstantArithmetic()
5315 if (!ScalarResult.isUndef() && ScalarResult.getOpcode() != ISD::Constant && in FoldConstantArithmetic()
5349 if (isUndef(Opcode, Ops)) in FoldConstantVectorArithmetic()
5366 return Op.isUndef() || Op.getOpcode() == ISD::CONDCODE || in FoldConstantVectorArithmetic()
5406 if (Op.isUndef()) in FoldConstantVectorArithmetic()
5433 if (!ScalarResult.isUndef() && ScalarResult.getOpcode() != ISD::Constant && in FoldConstantVectorArithmetic()
5490 if (N1CFP && N1CFP->getValueAPF().isNegZero() && N2.isUndef()) in foldConstantFPMath()
5500 if (N1.isUndef() && N2.isUndef()) in foldConstantFPMath()
5502 if (N1.isUndef() || N2.isUndef()) in foldConstantFPMath()
5769 if (Op.isUndef()) { in getNode()
5803 if (N1.isUndef() || N2.isUndef()) in getNode()
5926 if (N1.isUndef()) in getNode()
5954 if (N1.isUndef()) { in getNode()
5974 if (N2.isUndef()) { in getNode()
5977 if (N1.isUndef()) in getNode()
6112 if (N3.isUndef()) in getNode()
6116 if (N2.isUndef()) in getNode()
6123 if (N1.isUndef() && N2.isUndef()) in getNode()
6153 if (N1.isUndef() && N2.getOpcode() == ISD::EXTRACT_SUBVECTOR && in getNode()
6232 assert(!Value.isUndef()); in getMemsetValue()
6400 if (Src.isUndef()) in getMemcpyLoadsAndStores()
6595 if (Src.isUndef()) in getMemmoveLoadsAndStores()
6708 if (Src.isUndef()) in getMemsetStores()
7348 if (OffsetOp.isUndef()) in InferPointerInfo()
7399 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoad()
7466 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoad()
7597 assert(ST->getOffset().isUndef() && "Store is already a indexed store!"); in getIndexedStore()
7628 assert((Indexed || Offset.isUndef()) && in getMaskedLoad()
7659 assert(LD->getOffset().isUndef() && "Masked load is already a indexed load!"); in getIndexedMaskedLoad()
7675 assert((Indexed || Offset.isUndef()) && in getMaskedStore()
7707 assert(ST->getOffset().isUndef() && in getIndexedMaskedStore()
7811 if (Cond.isUndef()) in simplifySelect()
7813 if (T.isUndef()) in simplifySelect()
7815 if (F.isUndef()) in simplifySelect()
7839 if (X.isUndef()) in simplifyShift()
7842 if (Y.isUndef()) in simplifyShift()
7873 if (Flags.hasNoNaNs() && (HasNan || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
7876 if (Flags.hasNoInfs() && (HasInf || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
10317 if (OpVal.isUndef()) in isConstantSplat()
10369 if (Op.isUndef()) { in getSplatValue()
10381 assert(getOperand(FirstDemandedIdx).isUndef() && in getSplatValue()
10410 if (DemandedElts[I] && getOperand(I).isUndef()) in getRepeatedSequence()
10421 if (Op.isUndef()) { in getRepeatedSequence()
10426 if (SeqOp && !SeqOp.isUndef() && SeqOp != Op) { in getRepeatedSequence()