/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LoopDependenceAnalysis.cpp | 143 if (!SE->isLoopInvariant(S, L)) in getLoops() 147 bool LoopDependenceAnalysis::isLoopInvariant(const SCEV *S) const { in isLoopInvariant() function in LoopDependenceAnalysis 155 return isLoopInvariant(S) || (rec && rec->isAffine()); in isAffine() 159 return isLoopInvariant(A) && isLoopInvariant(B); in isZIVPair()
|
D | LoopInfo.cpp | 52 bool Loop::isLoopInvariant(Value *V) const { in INITIALIZE_PASS_DEPENDENCY() 62 if (!isLoopInvariant(I->getOperand(i))) in hasLoopInvariantOperands() 96 if (isLoopInvariant(I)) in makeLoopInvariant()
|
D | ScalarEvolutionExpander.cpp | 158 if (!L->isLoopInvariant(LHS) || !L->isLoopInvariant(RHS)) break; in InsertBinop() 528 if (!L->isLoopInvariant(V) || !L->isLoopInvariant(Idx)) break; in expandAddToGEP() 553 if (!L->isLoopInvariant(V)) break; in expandAddToGEP() 558 if (!L->isLoopInvariant(*I)) { in expandAddToGEP() 890 && L->isLoopInvariant(IncV->getOperand(1)); in isExpandedAddRecExprPHI() 1391 if (SE.isLoopInvariant(S, L)) { in expand()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 552 if (!SE->isLoopInvariant(ExitValue, L)) in RewriteLoopExitValues() 610 if (SE->isLoopInvariant(S, L)) return true; in isSafe() 662 if (SE->isLoopInvariant(ExitVal, L)) in RewriteIVExpressions() 855 static bool isLoopInvariant(Value *V, const Loop *L, const DominatorTree *DT) { in isLoopInvariant() function 869 L && L->getLoopPreheader() && isLoopInvariant(NarrowOper, L, DT); in getExtend() 1352 if (isLoopInvariant(IncI->getOperand(1), L, DT)) in getLoopPhiForCounter() 1362 if (isLoopInvariant(IncI->getOperand(0), L, DT)) in getLoopPhiForCounter() 1394 if (!isLoopInvariant(RHS, L, DT)) { in needsLFTR() 1395 if (!isLoopInvariant(LHS, L, DT)) in needsLFTR() 1591 assert(SE->isLoopInvariant(IVLimit, L) && in LinearFunctionTestReplace()
|
/external/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 563 if (!SE->isLoopInvariant(ExitValue, L) || in rewriteLoopExitValues() 708 if (!L->isLoopInvariant(Cond)) in rewriteFirstIterationLoopExitValues() 939 static bool isLoopInvariant(Value *V, const Loop *L, const DominatorTree *DT) { in isLoopInvariant() function 953 L && L->getLoopPreheader() && isLoopInvariant(NarrowOper, L, DT); in createExtendInst() 1604 if (isLoopInvariant(IncI->getOperand(1), L, DT)) in getLoopPhiForCounter() 1614 if (isLoopInvariant(IncI->getOperand(0), L, DT)) in getLoopPhiForCounter() 1651 if (!isLoopInvariant(RHS, L, DT)) { in needsLFTR() 1652 if (!isLoopInvariant(LHS, L, DT)) in needsLFTR() 1847 assert(SE->isLoopInvariant(IVOffset, L) && in genLoopLimit() 1894 assert(SE->isLoopInvariant(IVLimit, L) && in genLoopLimit()
|
D | LoopVersioningLICM.cpp | 350 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop)) in instructionSafeForVersioning() 364 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop)) in instructionSafeForVersioning()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationLegality.cpp | 376 if (!(CondOp0 == IVUpdate && OuterLp->isLoopInvariant(CondOp1)) && in isUniformLoop() 377 !(CondOp1 == IVUpdate && OuterLp->isLoopInvariant(CondOp0))) { in isUniformLoop() 491 !TheLoop->isLoopInvariant(Br->getCondition()) && in canVectorizeOuterLoop() 677 if (!SE->isLoopInvariant(PSE.getSCEV(CI->getOperand(1)), TheLoop)) { in canVectorizeInstrs()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | LoopDependenceAnalysis.h | 76 bool isLoopInvariant(const SCEV*) const;
|
/external/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 55 bool Loop::isLoopInvariant(const Value *V) const { in isLoopInvariant() function in Loop 62 return all_of(I->operands(), [this](Value *V) { return isLoopInvariant(V); }); in hasLoopInvariantOperands() 75 if (isLoopInvariant(I)) in makeLoopInvariant()
|
D | VectorUtils.cpp | 136 !SE->isLoopInvariant(SE->getSCEV(GEP->getOperand(i)), Lp)) in stripGetElementPtr() 220 if (!Lp->isLoopInvariant(Stride)) in getStrideFromPointer()
|
D | DependenceAnalysis.cpp | 754 bool DependenceInfo::isLoopInvariant(const SCEV *Expression, in isLoopInvariant() function in DependenceInfo 758 return SE->isLoopInvariant(Expression, LoopNest) && in isLoopInvariant() 759 isLoopInvariant(Expression, LoopNest->getParentLoop()); in isLoopInvariant() 771 if (Level <= CommonLevels && !SE->isLoopInvariant(Expression, LoopNest)) in collectCommonLoops() 857 return isLoopInvariant(Src, LoopNest); in checkSrcSubscript() 868 if (!isLoopInvariant(Step, LoopNest)) in checkSrcSubscript() 882 return isLoopInvariant(Dst, LoopNest); in checkDstSubscript() 893 if (!isLoopInvariant(Step, LoopNest)) in checkDstSubscript() 2962 if (SE->isLoopInvariant(AddRec, TargetLoop)) in addToCoefficient() 3342 UsefulGEP = isLoopInvariant(SrcPtrSCEV, LI->getLoopFor(Src->getParent())) && in depends() [all …]
|
D | ScalarEvolutionExpander.cpp | 203 if (!L->isLoopInvariant(LHS) || !L->isLoopInvariant(RHS)) break; in InsertBinop() 530 if (!L->isLoopInvariant(V) || !L->isLoopInvariant(Idx)) break; in expandAddToGEP() 550 if (!L->isLoopInvariant(V)) break; in expandAddToGEP() 554 [L](Value *Op) { return !L->isLoopInvariant(Op); }); in expandAddToGEP() 1669 if (SE.isLoopInvariant(S, L)) { in expand()
|
D | LoopAccessAnalysis.cpp | 162 if (SE->isLoopInvariant(Sc, Lp)) in insert() 561 if (PSE.getSE()->isLoopInvariant(PtrScev, L)) in hasComputableBounds() 575 if (PSE.getSE()->isLoopInvariant(PtrScev, L)) in isNoWrap() 1754 return (PSE->getSE()->isLoopInvariant(PSE->getSE()->getSCEV(V), TheLoop)); in isUniform() 1788 if (SE->isLoopInvariant(Sc, TheLoop)) { in expandBounds()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 609 if (!SE->isLoopInvariant(ExitValue, L) || in rewriteLoopExitValues() 754 if (!L->isLoopInvariant(Cond)) in rewriteFirstIterationLoopExitValues() 1036 static bool isLoopInvariant(Value *V, const Loop *L, const DominatorTree *DT) { in isLoopInvariant() function 1050 L && L->getLoopPreheader() && isLoopInvariant(NarrowOper, L, DT); in createExtendInst() 1890 if (isLoopInvariant(IncI->getOperand(1), L, DT)) in getLoopPhiForCounter() 1900 if (isLoopInvariant(IncI->getOperand(0), L, DT)) in getLoopPhiForCounter() 1937 if (!isLoopInvariant(RHS, L, DT)) { in needsLFTR() 1938 if (!isLoopInvariant(LHS, L, DT)) in needsLFTR() 2133 assert(SE->isLoopInvariant(IVOffset, L) && in genLoopLimit() 2180 assert(SE->isLoopInvariant(IVLimit, L) && in genLoopLimit()
|
D | LoopVersioningLICM.cpp | 383 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop)) in instructionSafeForVersioning() 397 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop)) in instructionSafeForVersioning()
|
D | SimpleLoopUnswitch.cpp | 83 assert(!L.isLoopInvariant(&Root) && in collectHomogenousInstGraphLoopInvariants() 100 if (L.isLoopInvariant(OpV)) { in collectHomogenousInstGraphLoopInvariants() 147 if (!L.isLoopInvariant(PN->getIncomingValueForBlock(&ExitingBB))) in areLoopExitPHIsLoopInvariant() 341 if (L.isLoopInvariant(BI.getCondition())) { in unswitchTrivialBranch() 522 if (!L.isLoopInvariant(LoopCond)) in unswitchTrivialSwitch() 2191 L.isLoopInvariant(SI->getCondition())) in unswitchBestCondition() 2201 if (L.isLoopInvariant(BI->getCondition())) { in unswitchBestCondition()
|
D | LICM.cpp | 316 AS.isVolatile() || !L->isLoopInvariant(AS.begin()->getValue())) in runOnLoop() 497 CurLoop->isLoopInvariant(I.getOperand(1)) && in hoistRegion() 616 if (ORE && Invalidated && CurLoop->isLoopInvariant(LI->getPointerOperand())) in canSinkOrHoistInst() 1091 if (LI && CurLoop->isLoopInvariant(LI->getPointerOperand())) in isSafeToExecuteUnconditionally()
|
D | LoopPredication.cpp | 364 if (SE->isLoopInvariant(LHSS, L)) { in parseLoopICmp() 427 return SE->isLoopInvariant(S, L) && isSafeToExpand(S, *SE); in CanExpand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 57 bool Loop::isLoopInvariant(const Value *V) const { in isLoopInvariant() function in Loop 64 return all_of(I->operands(), [this](Value *V) { return isLoopInvariant(V); }); in hasLoopInvariantOperands() 77 if (isLoopInvariant(I)) in makeLoopInvariant()
|
D | VectorUtils.cpp | 138 !SE->isLoopInvariant(SE->getSCEV(GEP->getOperand(i)), Lp)) in stripGetElementPtr() 222 if (!Lp->isLoopInvariant(Stride)) in getStrideFromPointer()
|
D | ScalarEvolutionExpander.cpp | 216 if (!L->isLoopInvariant(LHS) || !L->isLoopInvariant(RHS)) break; in InsertBinop() 543 if (!L->isLoopInvariant(V) || !L->isLoopInvariant(Idx)) break; in expandAddToGEP() 563 if (!L->isLoopInvariant(V)) break; in expandAddToGEP() 566 GepIndices, [L](Value *Op) { return !L->isLoopInvariant(Op); }); in expandAddToGEP() 1737 if (SE.isLoopInvariant(S, L)) { in expand()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 213 if (L->isLoopInvariant(PtrValue)) in runOnLoop() 322 if (!SE->isLoopInvariant(BasePtrStartSCEV, L)) in runOnLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 290 if (L->isLoopInvariant(PtrValue)) in runOnLoop() 412 if (!SE->isLoopInvariant(BasePtrStartSCEV, L)) in runOnLoop()
|
/external/llvm/test/Transforms/LoopSimplify/ |
D | ashr-crash.ll | 4 ; Assertion `isLoopInvariant(Operands[i],...
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopSimplify/ |
D | ashr-crash.ll | 4 ; Assertion `isLoopInvariant(Operands[i],...
|