Lines Matching refs:hasOneUse
559 if (Op->hasOneUse() || Op->getNumValues() > 1) in deleteAndRecombine()
576 if (!Op.hasOneUse()) return 0; in isNegatibleForFree()
638 assert(Op.hasOneUse() && "Unknown reuse!"); in GetNegatedExpression()
745 if (isSetCCEquivalent(N, N0, N1, N2) && N.getNode()->hasOneUse()) in isOneUseSetCC()
835 if (N0.hasOneUse()) { in ReassociateOps()
855 if (N1.hasOneUse()) { in ReassociateOps()
1570 if (Op.hasOneUse() && in visitTokenFactor()
2111 N0.getNode()->hasOneUse()) { in visitMUL()
2115 N1.getNode()->hasOneUse()) { in visitMUL()
2811 if (SVN0->hasOneUse() && SVN1->hasOneUse() && in SimplifyBinOpWithSameOpcodeHands()
3203 LN0->isUnindexed() && N0.hasOneUse() && SDValue(LN0, 0).hasOneUse()) { in visitAND()
3287 N0.hasOneUse()) { in visitAND()
3336 if (!N0.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3346 if (!N1.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3359 if (!N0.getNode()->hasOneUse() || in MatchBSwapHWordLow()
3360 !N1.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3373 if (!N00.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3384 if (!N10.getNode()->hasOneUse()) in MatchBSwapHWordLow()
3431 if (!N.getNode()->hasOneUse()) in isBSwapHWordElement()
3633 (N0.getNode()->hasOneUse() || N1.getNode()->hasOneUse())) { in visitORLike()
3662 (N0.getNode()->hasOneUse() || N1.getNode()->hasOneUse())) { in visitORLike()
3791 if (N1C && N0.getOpcode() == ISD::AND && N0.getNode()->hasOneUse() && in visitOR()
4143 N0.getNode()->hasOneUse() && in visitXOR()
4178 if (N0.getOpcode() == ISD::AND && N0.getNode()->hasOneUse() && in visitXOR()
4246 if (!LHS->hasOneUse()) return SDValue(); in visitShiftByConstant()
4321 if (N->hasOneUse() && N->getOperand(0).hasOneUse()) { in distributeTruncateThroughAnd()
4462 if (N1C && N0.getOpcode() == ISD::ZERO_EXTEND && N0.hasOneUse() && in visitSHL()
4503 if (N1C && N0.getOpcode() == ISD::SRL && N0.hasOneUse()) { in visitSHL()
4543 if (N1C && N0.getOpcode() == ISD::ADD && N0.getNode()->hasOneUse() && in visitSHL()
4552 if (N1C && N0.getOpcode() == ISD::MUL && N0.getNode()->hasOneUse()) { in visitSHL()
4678 N0.getOperand(0).hasOneUse() && in visitSRA()
4679 N0.getOperand(0).getOperand(1).hasOneUse() && in visitSRA()
4900 if (N->hasOneUse()) { in visitSRL()
4904 else if (Use->getOpcode() == ISD::TRUNCATE && Use->hasOneUse()) { in visitSRL()
5104 if (N0->getOpcode() == ISD::AND && N0->hasOneUse()) { in visitSELECT()
5114 if (N0->getOpcode() == ISD::OR && N0->hasOneUse()) { in visitSELECT()
5125 if (N1->getOpcode() == ISD::SELECT && N1->hasOneUse()) { in visitSELECT()
5144 if (N2->getOpcode() == ISD::SELECT && N2->hasOneUse()) { in visitSELECT()
5177 VT.isFloatingPoint() && N0.hasOneUse() && in visitSELECT()
5896 !N0.hasOneUse() || LN0->isVolatile() || !DstVT.isVector() || in CombineExtLoad()
6032 if (!N0.hasOneUse()) in visitSIGN_EXTEND()
6060 ISD::isUNINDEXEDLoad(N0.getNode()) && N0.hasOneUse()) { in visitSIGN_EXTEND()
6090 if (!N0.hasOneUse()) in visitSIGN_EXTEND()
6342 if (!N0.hasOneUse()) in visitZERO_EXTEND()
6382 if (!N0.hasOneUse()) { in visitZERO_EXTEND()
6421 ISD::isUNINDEXEDLoad(N0.getNode()) && N0.hasOneUse()) { in visitZERO_EXTEND()
6496 N0.hasOneUse()) { in visitZERO_EXTEND()
6592 if (!N0.hasOneUse()) in visitANY_EXTEND()
6615 N0.hasOneUse()) { in visitANY_EXTEND()
6700 if (!V.getNode()->hasOneUse()) in GetDemandedBits()
6759 if (N0.getOpcode() == ISD::SRL && N0.hasOneUse()) { in ReduceLoadWidth()
6790 if (ShAmt == 0 && N0.getOpcode() == ISD::SHL && N0.hasOneUse() && in ReduceLoadWidth()
6800 if (!isa<LoadSDNode>(N0) || !N0.hasOneUse()) in ReduceLoadWidth()
6972 N0.hasOneUse() && in visitSIGN_EXTEND_INREG()
7053 LegalTypes && !LegalOperations && N0->hasOneUse() && VT != MVT::i1) { in visitTRUNCATE()
7099 N0.getOpcode() == ISD::BITCAST && N0.hasOneUse() && in visitTRUNCATE()
7101 N0.getOperand(0).hasOneUse()) { in visitTRUNCATE()
7145 if (N0.hasOneUse() && ISD::isUNINDEXEDLoad(N0.getNode())) { in visitTRUNCATE()
7222 if (!LD1 || !LD2 || !ISD::isNON_EXTLoad(LD1) || !LD1->hasOneUse() || in CombineConsecutiveLoads()
7228 LD2->hasOneUse() && in CombineConsecutiveLoads()
7263 N0.getOpcode() == ISD::BUILD_VECTOR && N0.getNode()->hasOneUse() && in visitBITCAST()
7294 if (ISD::isNormalLoad(N0.getNode()) && N0.hasOneUse() && in visitBITCAST()
7331 N0.getNode()->hasOneUse() && VT.isInteger() && in visitBITCAST()
7381 if (N0.getOpcode() == ISD::FCOPYSIGN && N0.getNode()->hasOneUse() && in visitBITCAST()
7668 (Aggressive || N0->hasOneUse())) { in visitFADDForFMACombine()
7676 (Aggressive || N1->hasOneUse())) { in visitFADDForFMACombine()
7843 (Aggressive || N0->hasOneUse())) { in visitFSUBForFMACombine()
7852 (Aggressive || N1->hasOneUse())) in visitFSUBForFMACombine()
7861 (Aggressive || (N0->hasOneUse() && N0.getOperand(0).hasOneUse()))) { in visitFSUBForFMACombine()
8109 if (X.getOpcode() == ISD::FADD && (Aggressive || X->hasOneUse())) { in visitFMULForFMACombine()
8130 if (X.getOpcode() == ISD::FSUB && (Aggressive || X->hasOneUse())) { in visitFMULForFMACombine()
8206 if (N1CFP && N0.getOpcode() == ISD::FADD && N0.getNode()->hasOneUse() && in visitFADD()
8438 N0.hasOneUse()) { in visitFMUL()
9062 if (N0.getOpcode() == ISD::FCOPYSIGN && N0.getNode()->hasOneUse()) { in visitFP_ROUND()
9094 if (N->hasOneUse() && in visitFP_EXTEND()
9120 if (ISD::isNormalLoad(N0.getNode()) && N0.hasOneUse() && in visitFP_EXTEND()
9189 N0.getNode()->hasOneUse()) { in visitFNEG()
9213 (N0.getNode()->hasOneUse() || !TLI.isFNegFree(VT))) { in visitFNEG()
9294 N0.getNode()->hasOneUse()) { in visitFABS()
9340 if ((N1.hasOneUse() && N1.getOpcode() == ISD::SRL) || in visitBRCOND()
9341 ((N1.getOpcode() == ISD::TRUNCATE && N1.hasOneUse()) && in visitBRCOND()
9342 (N1.getOperand(0).hasOneUse() && in visitBRCOND()
9411 if (N1.hasOneUse() && N1.getOpcode() == ISD::XOR) { in visitBRCOND()
9439 if (isOneConstant(Op0) && Op0.hasOneUse() && in visitBRCOND()
9573 Ptr.getNode()->hasOneUse()) in CombineToPreIndexedLoadStore()
9796 if (Ptr.getNode()->hasOneUse()) in CombineToPostIndexedLoadStore()
10318 if (!Inst || !Inst->hasOneUse()) in canMergeExpensiveCrossRegisterBankCopy()
10531 if (User->getOpcode() == ISD::SRL && User->hasOneUse() && in SliceUpLoad()
10747 if (ST->isTruncatingStore() || VT.isVector() || !Value.hasOneUse()) in ReduceLoadOpStoreWidth()
10778 if (ISD::isNormalLoad(N0.getNode()) && N0.hasOneUse() && in ReduceLoadOpStoreWidth()
10870 Value.hasOneUse() && in TransformFPLoadStorePair()
11026 if (AddNode.getNode()->hasOneUse()) in isMulAddWithConstProfitable()
11274 if (Index != St && !SDValue(Index, 0)->hasOneUse()) in getStoreMergeAndAliasCandidates()
11371 if (Chain->hasOneUse() && Chain->use_begin()->getOpcode() == ISD::STORE) in MergeConsecutiveStores()
11965 && Value.getNode()->hasOneUse() && ST->isUnindexed() && in visitSTORE()
12031 if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT && InVec.hasOneUse() in visitINSERT_VECTOR_ELT()
12051 if (InVec.getOpcode() == ISD::BUILD_VECTOR && InVec.hasOneUse()) { in visitINSERT_VECTOR_ELT()
12179 (InVec.hasOneUse() || in visitEXTRACT_VECTOR_ELT()
12248 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12261 if (!LegalOperations && !ConstEltNo && InVec.hasOneUse() && in visitEXTRACT_VECTOR_ELT()
12289 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12299 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
12314 if (!InVec.hasOneUse()) in visitEXTRACT_VECTOR_ELT()
13342 if (S.getOpcode() == ISD::BUILD_VECTOR && S.hasOneUse()) { in visitVECTOR_SHUFFLE()
13344 } else if (S.getOpcode() == ISD::SCALAR_TO_VECTOR && S.hasOneUse()) { in visitVECTOR_SHUFFLE()
13373 if (N0.getOpcode() == ISD::BITCAST && N0.hasOneUse() && in visitVECTOR_SHUFFLE()
13380 if (!BC0.hasOneUse()) in visitVECTOR_SHUFFLE()
13396 if (BC0.getOpcode() == ISD::VECTOR_SHUFFLE && BC0.hasOneUse()) { in visitVECTOR_SHUFFLE()
13771 isa<ShuffleVectorSDNode>(RHS) && LHS.hasOneUse() && RHS.hasOneUse() && in SimplifyVBinOp()
13866 !LHS.hasOneUse() || !RHS.hasOneUse()) in SimplifySelectOps()
14032 (TV->hasOneUse() || FV->hasOneUse())) { in SimplifySelectCC()
14744 if (Index != St && !SDValue(Index, 0)->hasOneUse()) in findBetterNeighborChains()