/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopCacheAnalysis.cpp | 90 if (!SE.isLoopInvariant(Start, &L) || !SE.isLoopInvariant(Step, &L)) in isOneDimensionalArray() 264 if (isLoopInvariant(L)) { in computeRefCost() 365 bool IndexedReference::isLoopInvariant(const Loop &L) const { in isLoopInvariant() function in IndexedReference 370 if (SE.isLoopInvariant(SE.getSCEV(Addr), &L)) in isLoopInvariant() 414 : SE.isLoopInvariant(&Subscript, &L); in isCoeffForLoopZeroOrInvariant() 431 if (!SE.isLoopInvariant(Start, &L) || !SE.isLoopInvariant(Step, &L)) in isSimpleAddRecurrence()
|
D | LoopInfo.cpp | 62 bool Loop::isLoopInvariant(const Value *V) const { in isLoopInvariant() function in Loop 69 return all_of(I->operands(), [this](Value *V) { return isLoopInvariant(V); }); in hasLoopInvariantOperands() 83 if (isLoopInvariant(I)) in makeLoopInvariant() 361 return SE.isLoopInvariant(IndDesc.getStep(), this); in isAuxiliaryInductionVariable()
|
D | Loads.cpp | 212 if (L->isLoopInvariant(Ptr)) in isDereferenceableAndAlignedInLoop() 239 assert(SE.isLoopInvariant(StartS, L) && "implied by addrec definition"); in isDereferenceableAndAlignedInLoop()
|
D | IVDescriptors.cpp | 959 if (L->isLoopInvariant(Op0)) in getCastsForInductionPHI() 961 else if (L->isLoopInvariant(Op1)) in getCastsForInductionPHI() 1090 if (!ConstStep && !SE->isLoopInvariant(Step, TheLoop)) in isInductionPHI()
|
D | ScalarEvolutionExpander.cpp | 218 if (!L->isLoopInvariant(LHS) || !L->isLoopInvariant(RHS)) break; in InsertBinop() 547 if (!L->isLoopInvariant(V) || !L->isLoopInvariant(Idx)) break; in expandAddToGEP() 567 if (!L->isLoopInvariant(V)) break; in expandAddToGEP() 570 GepIndices, [L](Value *Op) { return !L->isLoopInvariant(Op); }); in expandAddToGEP() 1838 if (SE.isLoopInvariant(S, L)) { in expand()
|
D | LoopAccessAnalysis.cpp | 201 if (SE->isLoopInvariant(Sc, Lp)) in insert() 626 if (PSE.getSE()->isLoopInvariant(PtrScev, L)) in hasComputableBounds() 644 if (PSE.getSE()->isLoopInvariant(PtrScev, L)) in isNoWrap() 2116 return (SE->isLoopInvariant(SE->getSCEV(V), TheLoop)); in isUniform() 2158 if (SE->isLoopInvariant(Sc, TheLoop)) { in expandBounds()
|
D | ScalarEvolution.cpp | 2409 return isLoopInvariant(S, L) && properlyDominates(S, L->getHeader()); in isAvailableAtLoopEntry() 3426 assert(isLoopInvariant(Operands[i], L) && in getAddRecExpr() 3457 Operands, [&](const SCEV *Op) { return isLoopInvariant(Op, L); }); in getAddRecExpr() 3469 return isLoopInvariant(Op, NestedLoop); in getAddRecExpr() 4258 if (!SE.isLoopInvariant(Expr, L)) in visitUnknown() 4299 if (!SE.isLoopInvariant(Expr, L)) in visitUnknown() 4352 bool InvariantF = SE.isLoopInvariant(Expr, L); in visitUnknown() 4416 if (!SE.isLoopInvariant(Expr, L)) in visitUnknown() 4764 if (!isLoopInvariant(Accum, L)) in createAddRecFromPHIWithCastsImpl() 4848 assert(isLoopInvariant(Expr, L) && "Expr is expected to be invariant"); in createAddRecFromPHIWithCastsImpl() [all …]
|
D | DependenceAnalysis.cpp | 789 bool DependenceInfo::isLoopInvariant(const SCEV *Expression, in isLoopInvariant() function in DependenceInfo 793 return SE->isLoopInvariant(Expression, LoopNest) && in isLoopInvariant() 794 isLoopInvariant(Expression, LoopNest->getParentLoop()); in isLoopInvariant() 806 if (Level <= CommonLevels && !SE->isLoopInvariant(Expression, LoopNest)) in collectCommonLoops() 891 return isLoopInvariant(Expr, LoopNest); in checkSubscript() 902 if (!isLoopInvariant(Step, LoopNest)) in checkSubscript() 3045 if (SE->isLoopInvariant(AddRec, TargetLoop)) in addToCoefficient()
|
D | VectorUtils.cpp | 164 !SE->isLoopInvariant(SE->getSCEV(GEP->getOperand(i)), Lp)) in stripGetElementPtr() 248 if (!Lp->isLoopInvariant(Stride)) in getStrideFromPointer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopPredication.cpp | 386 if (SE->isLoopInvariant(LHSS, L)) { in parseLoopICmp() 406 if (SE->isLoopInvariant(LHS, L) && SE->isLoopInvariant(RHS, L)) { in expandCheck() 507 if (!L->isLoopInvariant(Op)) in findInsertPt() 518 if (!SE->isLoopInvariant(Op, L) || in findInsertPt() 544 if (SE->isLoopInvariant(S, L)) in isLoopInvariantValue() 1114 !SE->isLoopInvariant(MinEC, L) || in predicateLoopExits()
|
D | IndVarSimplify.cpp | 646 !SE->isLoopInvariant(ExitValue, L) || in rewriteLoopExitValues() 659 !SE->isLoopInvariant(ExitValue, L) || in rewriteLoopExitValues() 788 if (!L->isLoopInvariant(Cond)) in rewriteFirstIterationLoopExitValues() 1077 L && L->getLoopPreheader() && L->isLoopInvariant(NarrowOper); in createExtendInst() 2041 if (L->isLoopInvariant(IncI->getOperand(1))) in getLoopPhiForCounter() 2051 if (L->isLoopInvariant(IncI->getOperand(0))) in getLoopPhiForCounter() 2080 if (L->isLoopInvariant(BI->getCondition())) in needsLFTR() 2096 if (!L->isLoopInvariant(RHS)) { in needsLFTR() 2097 if (!L->isLoopInvariant(LHS)) in needsLFTR() 2357 assert(SE->isLoopInvariant(IVOffset, L) && in genLoopLimit() [all …]
|
D | LoopVersioningLICM.cpp | 361 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop)) in instructionSafeForVersioning() 375 if (SE->isLoopInvariant(SE->getSCEV(Ptr), CurLoop)) in instructionSafeForVersioning()
|
D | SimpleLoopUnswitch.cpp | 107 assert(!L.isLoopInvariant(&Root) && in collectHomogenousInstGraphLoopInvariants() 124 if (L.isLoopInvariant(OpV)) { in collectHomogenousInstGraphLoopInvariants() 171 if (!L.isLoopInvariant(PN->getIncomingValueForBlock(&ExitingBB))) in areLoopExitPHIsLoopInvariant() 378 if (L.isLoopInvariant(BI.getCondition())) { in unswitchTrivialBranch() 596 if (!L.isLoopInvariant(LoopCond)) in unswitchTrivialSwitch() 2568 if (!isa<Constant>(Cond) && L.isLoopInvariant(Cond)) in unswitchBestCondition() 2576 L.isLoopInvariant(SI->getCondition()) && !BB->getUniqueSuccessor()) in unswitchBestCondition() 2586 if (L.isLoopInvariant(BI->getCondition())) { in unswitchBestCondition()
|
D | LoopDataPrefetch.cpp | 270 if (L->isLoopInvariant(PtrValue)) in runOnLoop()
|
D | SeparateConstOffsetFromGEP.cpp | 825 L && L->isLoopInvariant(ResultPtr) && in lowerToSingleIndexGEPs() 1246 if (CurLoop->isLoopInvariant(FirstOffset)) in isLegalToSwapOperand()
|
D | LICM.cpp | 443 !L->isLoopInvariant(AS.begin()->getValue())) in runOnLoop() 870 CurLoop->isLoopInvariant(I.getOperand(1)) && in hoistRegion() 1125 if (ORE && Invalidated && CurLoop->isLoopInvariant(LI->getPointerOperand())) in canSinkOrHoistInst() 1733 if (LI && CurLoop->isLoopInvariant(LI->getPointerOperand())) in isSafeToExecuteUnconditionally()
|
D | LoopUnrollAndJamPass.cpp | 263 if (SE.isLoopInvariant(LSCEV, L)) in computeUnrollAndJamCount()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationLegality.cpp | 332 if (!(CondOp0 == IVUpdate && OuterLp->isLoopInvariant(CondOp1)) && in isUniformLoop() 333 !(CondOp1 == IVUpdate && OuterLp->isLoopInvariant(CondOp0))) { in isUniformLoop() 451 !TheLoop->isLoopInvariant(Br->getCondition()) && in canVectorizeOuterLoop() 708 if (!SE->isLoopInvariant(PSE.getSCEV(CI->getOperand(i)), TheLoop)) { in canVectorizeInstrs()
|
D | VPlan.h | 773 IsPtrLoopInvariant = OrigLoop->isLoopInvariant(GEP->getPointerOperand()); in VPWidenGEPRecipe() 776 OrigLoop->isLoopInvariant(Index.value().get()); in VPWidenGEPRecipe()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 547 if (!(ICI->getOperand(0) == TI && L->isLoopInvariant(ICI->getOperand(1))) && in eliminateTrunc() 548 !(ICI->getOperand(1) == TI && L->isLoopInvariant(ICI->getOperand(0)))) in eliminateTrunc() 579 bool IsSwapped = L->isLoopInvariant(ICI->getOperand(0)); in eliminateTrunc() 666 if (!SE->isLoopInvariant(S, L)) in replaceIVUserWithLoopInvariant()
|
D | LoopUnrollPeel.cpp | 143 if (L->isLoopInvariant(Input)) in calculateIterationsToInvariance()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | LoopCacheAnalysis.h | 99 bool isLoopInvariant(const Loop &L) const;
|
D | DependenceAnalysis.h | 523 bool isLoopInvariant(const SCEV *Expression, const Loop *LoopNest) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 358 if (L->isLoopInvariant(PtrValue)) in collectCandidates() 510 if (!SE->isLoopInvariant(BasePtrSCEV->getStart(), L)) in rewriteLoadStores()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 243 if (TripCount != NumElements || !L->isLoopInvariant(BECount)) in isTailPredicate()
|