[#llvm-Loop-getLoopLatch] = xref:llvm.adoc[llvm]::xref:llvm/Loop.adoc[Loop]::getLoopLatch :relfileprefix: ../../ :mrdocs: If there is a single latch block for this loop, return it. A latch block is a block that contains a branch back to the header. == Synopsis Declared in `<llvm/Support/GenericLoopInfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/BasicBlock.adoc[BasicBlock]* getLoopLatch() const; ---- == Return Value The unique latch block, or null if there is not exactly one. [.small]#Created with https://www.mrdocs.com[MrDocs]#