llvm::MachineInstr::findInlineAsmFlagIdx

Find the inline-asm flag-word operand index for operand OpIdx.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

int
findInlineAsmFlagIdx(
    unsigned int OpIdx,
    unsigned int* GroupNo = nullptr) const;

Description

Returns -1 if the operand is not in an inline-asm operand group. When GroupNo is non-null, it receives the operand group number.

Return Value

Flag-word operand index, or -1 if not applicable.

Parameters

NameDescription
OpIdxOperand index within the inline asm instruction.
GroupNoOptional out-parameter for the operand group number.