llvm::MachineInstr::isPredicable

Return true if this instruction has a predicate operand.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isPredicable(QueryType Type = AllInBundle) const;

Description

The predicate may be 'always' or other values; TargetInstrInfo can modify it.

Return Value

True if the instruction is predicable.

Parameters

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