Home
last modified time | relevance | path

Searched refs:OuterLp (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp298 static bool isUniformLoop(Loop *Lp, Loop *OuterLp) { in isUniformLoop() argument
302 if (Lp == OuterLp) in isUniformLoop()
304 assert(OuterLp->contains(Lp) && "OuterLp must contain Lp."); in isUniformLoop()
332 if (!(CondOp0 == IVUpdate && OuterLp->isLoopInvariant(CondOp1)) && in isUniformLoop()
333 !(CondOp1 == IVUpdate && OuterLp->isLoopInvariant(CondOp0))) { in isUniformLoop()
343 static bool isUniformLoopNest(Loop *Lp, Loop *OuterLp) { in isUniformLoopNest() argument
344 if (!isUniformLoop(Lp, OuterLp)) in isUniformLoopNest()
349 if (!isUniformLoopNest(SubLp, OuterLp)) in isUniformLoopNest()
DLoopVectorize.cpp1537 static bool isExplicitVecOuterLoop(Loop *OuterLp, in isExplicitVecOuterLoop() argument
1539 assert(!OuterLp->empty() && "This is not an outer loop"); in isExplicitVecOuterLoop()
1540 LoopVectorizeHints Hints(OuterLp, true /*DisableInterleaving*/, *ORE); in isExplicitVecOuterLoop()
1547 Function *Fn = OuterLp->getHeader()->getParent(); in isExplicitVecOuterLoop()
1548 if (!Hints.allowVectorization(Fn, OuterLp, in isExplicitVecOuterLoop()