llvm::MachineLoopInfo::getUniqueLatchExitBlock

Return the unique exit block for the latch of L, or null.

Synopsis

Declared in <llvm/Support/GenericLoopInfo.h>

MachineBasicBlock*
getUniqueLatchExitBlock(MachineLoop const& L) const;

Description

Returns null if there are multiple different exit blocks or the latch is not exiting.

Return Value

The unique latch exit block, or null.

Parameters

NameDescription
LLoop whose latch exit is queried.