[#llvm-getOutermostDivergentCycle] = xref:llvm.adoc[llvm]::getOutermostDivergentCycle :relfileprefix: ../ :mrdocs: Return the outermost cycle made divergent by a join of paths from `DivTermBlock` through `JoinBlock.` == Synopsis Declared in `<llvm/ADT/GenericUniformityImpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename ContextT, typename CycleInfoT, typename BlockT, typename DominatorTreeT> xref:llvm/CycleRef.adoc[CycleRef] getOutermostDivergentCycle( CycleInfoT const& CI, xref:llvm/CycleRef.adoc[CycleRef] Cycle, BlockT const* DivTermBlock, BlockT const* JoinBlock, DominatorTreeT const& DT, ContextT& Context); ---- == Return Value Outermost divergent cycle, preferring the internal criterion, or null if none. == Parameters [cols="1,4"] |=== | Name| Description | *CI* | Cycle information for the function. | *Cycle* | Innermost cycle containing `JoinBlock` to expand from. | *DivTermBlock* | Block of the divergent terminator that seeded the paths. | *JoinBlock* | Block where diverged paths join. | *DT* | Dominator tree used for the internal‐divergence criterion. | *Context* | SSA context used for debug printing. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#