ΒΆinline unsigned int getOperandBias(
    const llvm::MCInstrDesc& Desc)

Description

Compute whether all of the def operands are repeated in the uses and therefore should be skipped. This determines the start of the unique operand list. We need to determine if all of the defs have a corresponding tied operand in the uses. Unfortunately, the tied operand information is encoded in the uses not the defs so we have to use some heuristics to find which operands to query.

Declared at: llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h:1055

Parameters

const llvm::MCInstrDesc& Desc