llvm::MachineInstr::isConvertibleTo3Addr

Return true if this 2-address instruction can become 3-address if needed.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
isConvertibleTo3Addr(QueryType Type = IgnoreBundle) const;

Description

Lets the register allocator keep a 2-address form when possible, or convert via TargetInstrInfo::convertToThreeAddress when not.

Return Value

True if conversion to a 3-address form is supported.

Parameters

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