llvm::TargetLowering::getMultipleConstraintMatchWeight

Examine constraint type and operand type and determine a weight value. The operand object must already have been set up with the operand type.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

virtual
ConstraintWeight
getMultipleConstraintMatchWeight(
    AsmOperandInfo& info,
    int maIndex) const;

Return Value

Examine constraint type and operand type and determine a weight value. The operand object must already have been set up with the operand type.

Parameters

NameDescription
infoAsmOperandInfo being weighed.
maIndexMultiple-alternative constraint index.