llvm::MachineInstr::isUnconditionalBranch

Return true if this branch always transfers control to another block.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isUnconditionalBranch(QueryType Type = AnyInBundle) const;

Description

Use TargetInstrInfo::analyzeBranch for more detail.

Return Value

True if this is an unconditional branch.

Parameters

NameDescription
TypeHow to query when this instruction is part of a bundle.