llvm::MachineInstr::isBarrier

Return true if this instruction stops fall-through to the next instruction.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isBarrier(QueryType Type = AnyInBundle) const;

Description

Examples include unconditional branches and returns.

Return Value

True if this is a barrier.

Parameters

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