llvm::MachineInstr::findInlineAsmFlagIdx

Find the index of the flag word operand that corresponds to operand OpIdx on an inline asm instruction. Returns -1 if getOperand(OpIdx) does not belong to an inline asm operand group.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

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

Description

If GroupNo is not NULL, it will receive the number of the operand group containing OpIdx.