Return true if this is a conditional, unconditional, or indirect branch.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isBranch(QueryType Type = AnyInBundle) const;

Description

Use the more specific predicates or TargetInstrInfo::analyzeBranch.

Return Value

True if this is any kind of branch.

Parameters

Name

Description

Type

How to query when this instruction is part of a bundle.

Created with MrDocs