Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp256 Loop *NewParentL = nullptr; in hoistLoopToNewParent() local
259 if (!NewParentL || NewParentL->contains(ExitL)) in hoistLoopToNewParent()
260 NewParentL = ExitL; in hoistLoopToNewParent()
262 if (NewParentL == OldParentL) in hoistLoopToNewParent()
266 if (NewParentL) in hoistLoopToNewParent()
267 assert(NewParentL->contains(OldParentL) && in hoistLoopToNewParent()
274 LI.changeLoopFor(&Preheader, NewParentL); in hoistLoopToNewParent()
280 if (NewParentL) in hoistLoopToNewParent()
281 NewParentL->addChildLoop(&L); in hoistLoopToNewParent()
288 for (Loop *OldContainingL = OldParentL; OldContainingL != NewParentL; in hoistLoopToNewParent()
[all …]