Lines Matching refs:hasOneUse
577 if (Op->hasOneUse() || Op->getNumValues() > 1) in deleteAndRecombine()
594 if (!Op.hasOneUse()) return 0; in isNegatibleForFree()
656 assert(Op.hasOneUse() && "Unknown reuse!"); in GetNegatedExpression()
763 if (isSetCCEquivalent(N, N0, N1, N2) && N.getNode()->hasOneUse()) in isOneUseSetCC()
827 if (N0.hasOneUse()) { in ReassociateOps()
847 if (N1.hasOneUse()) { in ReassociateOps()
1565 if (Op.hasOneUse() && in visitTokenFactor()
2101 N0.getNode()->hasOneUse()) { in visitMUL()
2105 N1.getNode()->hasOneUse()) { in visitMUL()
2804 if (SVN0->hasOneUse() && SVN1->hasOneUse() && in SimplifyBinOpWithSameOpcodeHands()
2964 if (N0.getOpcode() == ISD::SRL && N0.hasOneUse()) { in visitANDLike()
3241 LN0->isUnindexed() && N0.hasOneUse() && SDValue(LN0, 0).hasOneUse()) { in visitAND()
3325 N0.hasOneUse()) { in visitAND()
3373 if (!N0.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3383 if (!N1.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3396 if (!N0.getNode()->hasOneUse() || in MatchBSwapHWordLow()
3397 !N1.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3410 if (!N00.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3421 if (!N10.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3468 if (!N.getNode()->hasOneUse()) in isBSwapHWordElement()
3670 (N0.getNode()->hasOneUse() || N1.getNode()->hasOneUse())) { in visitORLike()
3699 (N0.getNode()->hasOneUse() || N1.getNode()->hasOneUse())) { in visitORLike()
3839 if (N1C && N0.getOpcode() == ISD::AND && N0.getNode()->hasOneUse() && in visitOR()
4191 N0.getNode()->hasOneUse() && in visitXOR()
4226 if (N0.getOpcode() == ISD::AND && N0.getNode()->hasOneUse() && in visitXOR()
4294 if (!LHS->hasOneUse()) return SDValue(); in visitShiftByConstant()
4369 if (N->hasOneUse() && N->getOperand(0).hasOneUse()) { in distributeTruncateThroughAnd()
4509 if (N1C && N0.getOpcode() == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitSHL()
4550 if (N1C && N0.getOpcode() == ISD::SRL && N0.hasOneUse()) { in visitSHL()
4590 if (N1C && N0.getOpcode() == ISD::ADD && N0.getNode()->hasOneUse() && in visitSHL()
4599 if (N1C && N0.getOpcode() == ISD::MUL && N0.getNode()->hasOneUse()) { in visitSHL()
4724 N0.getOperand(0).hasOneUse() && in visitSRA()
4725 N0.getOperand(0).getOperand(1).hasOneUse() && in visitSRA()
4946 if (N->hasOneUse()) { in visitSRL()
4950 else if (Use->getOpcode() == ISD::TRUNCATE && Use->hasOneUse()) { in visitSRL()
5159 if (N0->getOpcode() == ISD::AND && N0->hasOneUse()) { in visitSELECT()
5169 if (N0->getOpcode() == ISD::OR && N0->hasOneUse()) { in visitSELECT()
5180 if (N1->getOpcode() == ISD::SELECT && N1->hasOneUse()) { in visitSELECT()
5199 if (N2->getOpcode() == ISD::SELECT && N2->hasOneUse()) { in visitSELECT()
5232 VT.isFloatingPoint() && N0.hasOneUse() && in visitSELECT()
5951 !N0.hasOneUse() || LN0->isVolatile() || !DstVT.isVector() || in CombineExtLoad()
6087 if (!N0.hasOneUse()) in visitSIGN_EXTEND()
6115 ISD::isUNINDEXEDLoad(N0.getNode()) && N0.hasOneUse()) { in visitSIGN_EXTEND()
6145 if (!N0.hasOneUse()) in visitSIGN_EXTEND()
6397 if (!N0.hasOneUse()) in visitZERO_EXTEND()
6437 if (!N0.hasOneUse()) { in visitZERO_EXTEND()
6476 ISD::isUNINDEXEDLoad(N0.getNode()) && N0.hasOneUse()) { in visitZERO_EXTEND()
6543 N0.hasOneUse()) { in visitZERO_EXTEND()
6639 if (!N0.hasOneUse()) in visitANY_EXTEND()
6662 N0.hasOneUse()) { in visitANY_EXTEND()
6746 if (!V.getNode()->hasOneUse()) in GetDemandedBits()
6805 if (N0.getOpcode() == ISD::SRL && N0.hasOneUse()) { in ReduceLoadWidth()
6836 if (ShAmt == 0 && N0.getOpcode() == ISD::SHL && N0.hasOneUse() && in ReduceLoadWidth()
6846 if (!isa<LoadSDNode>(N0) || !N0.hasOneUse()) in ReduceLoadWidth()
7022 N0.hasOneUse() && in visitSIGN_EXTEND_INREG()
7115 LegalTypes && !LegalOperations && N0->hasOneUse() && VT != MVT::i1) { in visitTRUNCATE()
7154 if (N0.getOpcode() == ISD::SHL && N0.hasOneUse() && in visitTRUNCATE()
7177 N0.getOpcode() == ISD::BITCAST && N0.hasOneUse() && in visitTRUNCATE()
7179 N0.getOperand(0).hasOneUse()) { in visitTRUNCATE()
7222 if (N0.hasOneUse() && ISD::isUNINDEXEDLoad(N0.getNode())) { in visitTRUNCATE()
7317 if (!LD1 || !LD2 || !ISD::isNON_EXTLoad(LD1) || !LD1->hasOneUse() || in CombineConsecutiveLoads()
7322 if (ISD::isNON_EXTLoad(LD2) && LD2->hasOneUse() && in CombineConsecutiveLoads()
7396 N0.getOpcode() == ISD::BUILD_VECTOR && N0.getNode()->hasOneUse() && in visitBITCAST()
7426 if (ISD::isNormalLoad(N0.getNode()) && N0.hasOneUse() && in visitBITCAST()
7468 N0.getNode()->hasOneUse() && VT.isInteger() && in visitBITCAST()
7517 if (N0.getOpcode() == ISD::FCOPYSIGN && N0.getNode()->hasOneUse() && in visitBITCAST()
7803 (Aggressive || N0->hasOneUse())) { in visitFADDForFMACombine()
7811 (Aggressive || N1->hasOneUse())) { in visitFADDForFMACombine()
7982 (Aggressive || N0->hasOneUse())) { in visitFSUBForFMACombine()
7991 (Aggressive || N1->hasOneUse())) in visitFSUBForFMACombine()
8000 (Aggressive || (N0->hasOneUse() && N0.getOperand(0).hasOneUse()))) { in visitFSUBForFMACombine()
8248 if (X.getOpcode() == ISD::FADD && (Aggressive || X->hasOneUse())) { in visitFMULForFMACombine()
8269 if (X.getOpcode() == ISD::FSUB && (Aggressive || X->hasOneUse())) { in visitFMULForFMACombine()
8345 if (N1CFP && N0.getOpcode() == ISD::FADD && N0.getNode()->hasOneUse() && in visitFADD()
8576 N0.hasOneUse()) { in visitFMUL()
9179 if (N0.getOpcode() == ISD::FCOPYSIGN && N0.getNode()->hasOneUse()) { in visitFP_ROUND()
9211 if (N->hasOneUse() && in visitFP_EXTEND()
9237 if (ISD::isNormalLoad(N0.getNode()) && N0.hasOneUse() && in visitFP_EXTEND()
9306 N0.getNode()->hasOneUse()) { in visitFNEG()
9330 (N0.getNode()->hasOneUse() || !TLI.isFNegFree(VT))) { in visitFNEG()
9411 N0.getNode()->hasOneUse()) { in visitFABS()
9457 if ((N1.hasOneUse() && N1.getOpcode() == ISD::SRL) || in visitBRCOND()
9458 ((N1.getOpcode() == ISD::TRUNCATE && N1.hasOneUse()) && in visitBRCOND()
9459 (N1.getOperand(0).hasOneUse() && in visitBRCOND()
9528 if (N1.hasOneUse() && N1.getOpcode() == ISD::XOR) { in visitBRCOND()
9556 if (isOneConstant(Op0) && Op0.hasOneUse() && in visitBRCOND()
9690 Ptr.getNode()->hasOneUse()) in CombineToPreIndexedLoadStore()
9914 if (Ptr.getNode()->hasOneUse()) in CombineToPostIndexedLoadStore()
10436 if (!Inst || !Inst->hasOneUse()) in canMergeExpensiveCrossRegisterBankCopy()
10649 if (User->getOpcode() == ISD::SRL && User->hasOneUse() && in SliceUpLoad()
10865 if (ST->isTruncatingStore() || VT.isVector() || !Value.hasOneUse()) in ReduceLoadOpStoreWidth()
10896 if (ISD::isNormalLoad(N0.getNode()) && N0.hasOneUse() && in ReduceLoadOpStoreWidth()
10988 Value.hasOneUse() && in TransformFPLoadStorePair()
11158 if (AddNode.getNode()->hasOneUse()) in isMulAddWithConstProfitable()
11412 if (Index != St && !SDValue(Index, 0)->hasOneUse()) in getStoreMergeAndAliasCandidates()
11532 if (Chain->hasOneUse() && Chain->use_begin()->getOpcode() == ISD::STORE) in MergeConsecutiveStores()
12143 && Value.getNode()->hasOneUse() && ST->isUnindexed() && in visitSTORE()
12209 if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT && InVec.hasOneUse() in visitINSERT_VECTOR_ELT()
12229 if (InVec.getOpcode() == ISD::BUILD_VECTOR && InVec.hasOneUse()) { in visitINSERT_VECTOR_ELT()
12359 (InVec.hasOneUse() || in visitEXTRACT_VECTOR_ELT()
12373 if (ConstEltNo && InVec.getOpcode() == ISD::BITCAST && InVec.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
12446 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12459 if (!LegalOperations && !ConstEltNo && InVec.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
12490 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12500 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12515 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
13523 if (S.getOpcode() == ISD::BUILD_VECTOR && S.hasOneUse()) { in visitVECTOR_SHUFFLE()
13525 } else if (S.getOpcode() == ISD::SCALAR_TO_VECTOR && S.hasOneUse()) { in visitVECTOR_SHUFFLE()
13554 if (N0.getOpcode() == ISD::BITCAST && N0.hasOneUse() && in visitVECTOR_SHUFFLE()
13561 if (!BC0.hasOneUse()) in visitVECTOR_SHUFFLE()
13577 if (BC0.getOpcode() == ISD::VECTOR_SHUFFLE && BC0.hasOneUse()) { in visitVECTOR_SHUFFLE()
13955 isa<ShuffleVectorSDNode>(RHS) && LHS.hasOneUse() && RHS.hasOneUse() && in SimplifyVBinOp()
14050 !LHS.hasOneUse() || !RHS.hasOneUse()) in SimplifySelectOps()
14216 (TV->hasOneUse() || FV->hasOneUse())) { in SimplifySelectCC()
14967 if (Index != St && !SDValue(Index, 0)->hasOneUse()) in findBetterNeighborChains()