Rizin
unix-like reverse engineering framework and cli tools
MCInstrDesc.c File Reference
#include "MCInstrDesc.h"

Go to the source code of this file.

Functions

bool MCOperandInfo_isPredicate (const MCOperandInfo *m)
 
bool MCOperandInfo_isOptionalDef (const MCOperandInfo *m)
 

Function Documentation

◆ MCOperandInfo_isOptionalDef()

bool MCOperandInfo_isOptionalDef ( const MCOperandInfo m)

isOptionalDef - Set if this operand is a optional def.

Definition at line 15 of file MCInstrDesc.c.

16 {
17  return m->Flags & (1 << MCOI_OptionalDef);
18 }
@ MCOI_OptionalDef
Definition: MCInstrDesc.h:39

References regress::m, and MCOI_OptionalDef.

◆ MCOperandInfo_isPredicate()

bool MCOperandInfo_isPredicate ( const MCOperandInfo m)

isPredicate - Set if this is one of the operands that made up of the predicate operand that controls an isPredicable() instruction.

Definition at line 8 of file MCInstrDesc.c.

9 {
10  return m->Flags & (1 << MCOI_Predicate);
11 }
@ MCOI_Predicate
Definition: MCInstrDesc.h:38

References regress::m, and MCOI_Predicate.