/external/llvm-project/llvm/lib/Target/X86/ |
D | X86PartialReduction.cpp | 91 if (!isa<Constant>(LHS) && !LHS->hasNUses(2)) in tryMAddReplacement() 327 if (i != 0 && !BO->hasNUses(2)) in matchAddReduction() 391 if (!PN->hasNUses(PN == Root ? 2 : 1)) in collectLeaves() 404 if (BO->hasNUses(BO == Root ? 2 : 1)) { in collectLeaves() 412 if (BO->hasNUses(BO == Root ? 3 : 2)) { in collectLeaves() 437 if (!V->hasNUses(I == Root ? 2 : 1)) in collectLeaves()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1150 if (IsFreeToInvert(LHS, LHS->hasNUses(2)) && in visitSelectInst() 1151 IsFreeToInvert(RHS, RHS->hasNUses(2))) { in visitSelectInst() 1158 (LHS->hasNUses(2) && match(LHS, m_Not(m_Value()))) || in visitSelectInst() 1159 (RHS->hasNUses(2) && match(RHS, m_Not(m_Value()))) || in visitSelectInst()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | IVDescriptors.cpp | 870 if (!isCorrectOpcode(LoopExitInstr) || !LoopExitInstr->hasNUses(2)) in getReductionOpChain() 874 if (!Phi->hasNUses(ExpectedUses)) in getReductionOpChain() 881 if (!isCorrectOpcode(Cur) || !Cur->hasNUses(ExpectedUses)) in getReductionOpChain()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | MVEGatherScatterLowering.cpp | 862 if (I->hasNUses(0)) { in hasAllGatScatUsers() 1023 if (Offs->hasNUses(0)) in optimiseOffsets() 1027 if (IncInstruction->hasNUses(0)) in optimiseOffsets()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 459 if (I->hasNUses(0)) in bypassSlowDivision()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 463 if (I->hasNUses(0)) in bypassSlowDivision()
|
D | SimplifyIndVar.cpp | 1919 if (ExpandInst->hasNUses(0) && in createWideIV()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Value.h | 389 bool hasNUses(unsigned N) const;
|
/external/llvm/include/llvm/IR/ |
D | Value.h | 380 bool hasNUses(unsigned N) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Value.h | 440 bool hasNUses(unsigned N) const;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Value.h | 440 bool hasNUses(unsigned N) const;
|
/external/llvm/lib/IR/ |
D | Value.cpp | 99 bool Value::hasNUses(unsigned N) const { in hasNUses() function in Value
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VectorCombine.cpp | 277 bool HasUseTax = Ext0 == Ext1 ? !Ext0->hasNUses(2) in isExtractExtractCheap()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Value.cpp | 132 bool Value::hasNUses(unsigned N) const { in hasNUses() function in Value
|
/external/llvm-project/llvm/lib/IR/ |
D | Value.cpp | 146 bool Value::hasNUses(unsigned N) const { in hasNUses() function in Value
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1078 if (!(RHS->hasOneUse() || (RHS->hasNUses(2) && CmpUsesNegatedOp))) in canonicalizeAbsNabs() 2124 match(Y, m_APInt(C2)) && C2->uge(*C1) && X->hasNUses(2)) { in moveAddAfterMinMax() 2134 match(Y, m_APInt(C2)) && X->hasNUses(2)) { in moveAddAfterMinMax()
|
D | InstCombineMulDivRem.cpp | 497 Op0->hasNUses(2)) { in visitFMul()
|
D | InstCombineAndOrXor.cpp | 3220 if (Op0->hasNUses(2)) in visitXor() 3226 Op1->hasNUses(2) && *ShAmt == Ty->getScalarSizeInBits() - 1 && in visitXor()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1093 if (!(RHS->hasOneUse() || (RHS->hasNUses(2) && CmpUsesNegatedOp))) in canonicalizeAbsNabs() 2169 match(Y, m_APInt(C2)) && C2->uge(*C1) && X->hasNUses(2)) { in moveAddAfterMinMax() 2179 match(Y, m_APInt(C2)) && X->hasNUses(2)) { in moveAddAfterMinMax()
|
D | InstCombineMulDivRem.cpp | 527 Op0->hasNUses(2)) { in visitFMul()
|
D | InstCombineAndOrXor.cpp | 3370 if (Op0->hasNUses(2)) in visitXor() 3375 Op1->hasNUses(2) && *ShAmt == Ty->getScalarSizeInBits() - 1 && in visitXor()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 1325 if (LoadOp0->hasNUses(0)) { in emitSIMDTiling() 1329 if (LoadOp1->hasNUses(0)) { in emitSIMDTiling()
|
D | LoopRerollPass.cpp | 853 if (!KV.second->hasNUses(NumBaseUses)) { in collectPossibleRoots()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopRerollPass.cpp | 843 if (!KV.second->hasNUses(NumBaseUses)) { in collectPossibleRoots()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1070 if (Align && !I->hasByValOrInAllocaAttr() && !I->hasNUses(0)) { in AddAlignmentAssumptions()
|