llvm::MachineInstr::hasExtraDefRegAllocReq

Return true if defs have special regalloc requirements beyond classes.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

bool
hasExtraDefRegAllocReq(QueryType Type = AnyInBundle) const;

Description

E.g. ARM::LDRD defs must be an even/odd pair. Post-RA passes should not change allocations for such definitions.

Return Value

True if extra def register allocation requirements apply.

Parameters

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