Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Target/X86/
DX86PartialReduction.cpp91 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/
DInstCombineSelect.cpp1150 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/
DIVDescriptors.cpp870 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/
DMVEGatherScatterLowering.cpp862 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/
DBypassSlowDivision.cpp459 if (I->hasNUses(0)) in bypassSlowDivision()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp463 if (I->hasNUses(0)) in bypassSlowDivision()
DSimplifyIndVar.cpp1919 if (ExpandInst->hasNUses(0) && in createWideIV()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.h389 bool hasNUses(unsigned N) const;
/external/llvm/include/llvm/IR/
DValue.h380 bool hasNUses(unsigned N) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValue.h440 bool hasNUses(unsigned N) const;
/external/llvm-project/llvm/include/llvm/IR/
DValue.h440 bool hasNUses(unsigned N) const;
/external/llvm/lib/IR/
DValue.cpp99 bool Value::hasNUses(unsigned N) const { in hasNUses() function in Value
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp277 bool HasUseTax = Ext0 == Ext1 ? !Ext0->hasNUses(2) in isExtractExtractCheap()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DValue.cpp132 bool Value::hasNUses(unsigned N) const { in hasNUses() function in Value
/external/llvm-project/llvm/lib/IR/
DValue.cpp146 bool Value::hasNUses(unsigned N) const { in hasNUses() function in Value
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1078 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()
DInstCombineMulDivRem.cpp497 Op0->hasNUses(2)) { in visitFMul()
DInstCombineAndOrXor.cpp3220 if (Op0->hasNUses(2)) in visitXor()
3226 Op1->hasNUses(2) && *ShAmt == Ty->getScalarSizeInBits() - 1 && in visitXor()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1093 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()
DInstCombineMulDivRem.cpp527 Op0->hasNUses(2)) { in visitFMul()
DInstCombineAndOrXor.cpp3370 if (Op0->hasNUses(2)) in visitXor()
3375 Op1->hasNUses(2) && *ShAmt == Ty->getScalarSizeInBits() - 1 && in visitXor()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp1325 if (LoadOp0->hasNUses(0)) { in emitSIMDTiling()
1329 if (LoadOp1->hasNUses(0)) { in emitSIMDTiling()
DLoopRerollPass.cpp853 if (!KV.second->hasNUses(NumBaseUses)) { in collectPossibleRoots()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp843 if (!KV.second->hasNUses(NumBaseUses)) { in collectPossibleRoots()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1070 if (Align && !I->hasByValOrInAllocaAttr() && !I->hasNUses(0)) { in AddAlignmentAssumptions()

12