llvm::MachineInstr::isUnconditionalBranch

Return true if this is a branch which always transfers control flow to some other block. The TargetInstrInfo::analyzeBranch method can be used to get more information about this branch.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isUnconditionalBranch(QueryType Type = AnyInBundle) const;

Parameters

NameDescription
TypeAPI for querying MachineInstr properties. They are the same as MCInstrDesc queries but they are bundle aware.