Lines Matching refs:isUndef
162 while (i != e && N->getOperand(i).isUndef()) in isBuildVectorAllOnes()
191 if (N->getOperand(i) != NotZero && !N->getOperand(i).isUndef()) in isBuildVectorAllOnes()
205 if (Op.isUndef()) in isBuildVectorAllZeros()
238 if (Op.isUndef()) in isBuildVectorOfConstantSDNodes()
251 if (Op.isUndef()) in isBuildVectorOfConstantFPSDNodes()
267 if (!Op.isUndef()) in allOperandsUndef()
286 if (AllowUndefs && Op.getOperand(i).isUndef()) { in matchUnaryPredicate()
320 bool LHSUndef = AllowUndefs && LHSOp.isUndef(); in matchBinaryPredicate()
321 bool RHSUndef = AllowUndefs && RHSOp.isUndef(); in matchBinaryPredicate()
1554 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
1575 if (N1.isUndef()) in getVectorShuffle()
1611 bool N2Undef = N2.isUndef(); in getVectorShuffle()
1631 N2Undef = N2.isUndef(); in getVectorShuffle()
1633 if (N1.isUndef() && N2Undef) in getVectorShuffle()
1659 if (Splat && Splat.isUndef()) in getVectorShuffle()
2170 if (Op.isUndef()) { in isSplatValue()
3993 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in FoldBUILD_VECTOR()
4033 if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); })) in FoldCONCAT_VECTORS()
4043 if (Op.isUndef()) in FoldCONCAT_VECTORS()
4288 if (Operand.isUndef()) in getNode()
4548 bool SelectionDAG::isUndef(unsigned Opcode, ArrayRef<SDValue> Ops) { in isUndef() function in SelectionDAG
4558 if (Divisor.isUndef() || isNullConstant(Divisor)) in isUndef()
4563 [](SDValue V) { return V.isUndef() || in isUndef()
4582 if (isUndef(Opcode, {SDValue(Cst1, 0), SDValue(Cst2, 0)})) in FoldConstantArithmetic()
4605 if (!BV1 && !Cst1->isUndef()) in FoldConstantArithmetic()
4608 if (!BV2 && !Cst2->isUndef()) in FoldConstantArithmetic()
4645 if (!ScalarResult.isUndef() && ScalarResult.getOpcode() != ISD::Constant && in FoldConstantArithmetic()
4672 if (isUndef(Opcode, Ops)) in FoldConstantVectorArithmetic()
4688 return (Op.isUndef()) || (Op.getOpcode() == ISD::CONDCODE) || in FoldConstantVectorArithmetic()
4721 if (Op.isUndef()) in FoldConstantVectorArithmetic()
4747 if (!ScalarResult.isUndef() && ScalarResult.getOpcode() != ISD::Constant && in FoldConstantVectorArithmetic()
4953 if (Op.isUndef()) { in getNode()
4971 if (N1.isUndef()) in getNode()
5077 if (N1.isUndef()) in getNode()
5165 if (N1.isUndef() && N2.isUndef()) in getNode()
5167 if (N1.isUndef() || N2.isUndef()) in getNode()
5172 if (N1.isUndef()) { in getNode()
5193 if (N2.isUndef()) { in getNode()
5196 if (N1.isUndef()) in getNode()
5417 assert(!Value.isUndef()); in getMemsetValue()
5668 if (Src.isUndef()) in getMemcpyLoadsAndStores()
5854 if (Src.isUndef()) in getMemmoveLoadsAndStores()
5959 if (Src.isUndef()) in getMemsetStores()
6594 if (OffsetOp.isUndef()) in InferPointerInfo()
6646 assert((Indexed || Offset.isUndef()) && "Unindexed load with an offset!"); in getLoad()
6713 assert(LD->getOffset().isUndef() && "Load is already a indexed load!"); in getIndexedLoad()
6846 assert(ST->getOffset().isUndef() && "Store is already a indexed store!"); in getIndexedStore()
7010 if (Cond.isUndef()) in simplifySelect()
7012 if (T.isUndef()) in simplifySelect()
7014 if (F.isUndef()) in simplifySelect()
7038 if (X.isUndef()) in simplifyShift()
7041 if (Y.isUndef()) in simplifyShift()
9124 if (OpVal.isUndef()) in isConstantSplat()
9169 if (Op.isUndef()) { in getSplatValue()
9180 assert(getOperand(0).isUndef() && in getSplatValue()