Home
last modified time | relevance | path

Searched refs:hasNUses (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp137 if (!isa<Constant>(LHS) && !LHS->hasNUses(2)) in tryMAddReplacement()
384 if (i != 0 && !BO->hasNUses(2)) in matchAddReduction()
448 if (!PN->hasNUses(PN == Root ? 2 : 1)) in collectLeaves()
460 if (BO->hasNUses(BO == Root ? 2 : 1)) { in collectLeaves()
467 if (BO->hasNUses(BO == Root ? 3 : 2)) { in collectLeaves()
491 if (!V->hasNUses(I == Root ? 2 : 1)) in collectLeaves()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp1209 if (!isCorrectOpcode(RdxInstr) || !LoopExitInstr->hasNUses(2)) in getReductionOpChain()
1214 if (!Phi->hasNUses(ExpectedUses + ExtraPhiUses)) in getReductionOpChain()
1222 if (!Cur || !isCorrectOpcode(Cur) || !Cur->hasNUses(ExpectedUses)) in getReductionOpChain()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp452 if ((Compare->getOperand(0) != Increment || !Increment->hasNUses(2)) && in findLoopComponents()
453 !Increment->hasNUses(1)) { in findLoopComponents()
H A DLowerMatrixIntrinsics.cpp1849 if (LoadOp0->hasNUses(0)) { in emitSIMDTiling()
1853 if (LoadOp1 != LoadOp0 && LoadOp1->hasNUses(0)) { in emitSIMDTiling()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp948 if (I->hasNUses(0)) { in hasAllGatScatUsers()
1103 if (Offs->hasNUses(0)) in optimiseOffsets()
1107 if (IncInstruction->hasNUses(0)) in optimiseOffsets()
H A DARMTargetTransformInfo.cpp372 if (Inst->hasNUses(2) && in isSSATMinMaxPattern()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp461 if (I->hasNUses(0)) in bypassSlowDivision()
H A DInlineFunction.cpp1602 Arg.hasNUses(0)) in AddAlignmentAssumptions()
2078 !II->hasNUses(0) || in inlineRetainOrClaimRVCalls()
H A DSimplifyIndVar.cpp2085 if (ExpandInst->hasNUses(0) && in createWideIV()
H A DSimplifyCFG.cpp3111 if (Inst->hasNUses(Count)) { in SpeculativelyExecuteBB()
4295 if (!QBI->getParent()->hasNUses(2)) in mergeConditionalStores()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.h437 bool hasNUses(unsigned N) const;
500 /// This is a linear time operation. Use hasOneUse, hasNUses, or
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h257 bool hasNUses(unsigned Num) const { in hasNUses() function
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp149 bool Value::hasNUses(unsigned N) const { in hasNUses() function in Value
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp4314 if (Op0->hasNUses(2)) in canonicalizeAbs()
4321 Op1->hasNUses(2) && *ShAmt == Ty->getScalarSizeInBits() - 1 && in canonicalizeAbs()
H A DInstCombineMulDivRem.cpp777 if (I.hasNoNaNs() && I.hasNoSignedZeros() && Op0 == Op1 && Op0->hasNUses(2)) { in foldFMulReassoc()
H A DInstCombineAddSub.cpp2568 Op1->hasNUses(2) && *ShAmt == BitWidth - 1 && in visitSub()
H A DInstructionCombining.cpp2064 (LHS == RHS && LHS->hasNUses(2)))) in foldVectorBinop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp457 bool HasUseTax = Ext0 == Ext1 ? !Ext0->hasNUses(2) in isExtractExtractCheap()
H A DSLPVectorizer.cpp7525 if (!LI || !LI->isSimple() || !LI->hasNUses(VL.size())) in canReuseExtract()
16922 return Sel->hasNUses(2) && Sel->getCondition()->hasOneUse(); in hasRequiredNumberOfUses()
16923 return I->hasNUses(2); in hasRequiredNumberOfUses()