EncoderBase.OpndRolesDesc Struct Reference

#include <enc_base.h>

List of all members.


Detailed Description

Description of operands' roles in instruction.


Public Attributes

unsigned count
 Total number of operands in the operation.
unsigned defCount
 Number of defs in the operation.
unsigned useCount
 Number of uses in the operation.
unsigned roles
 Operand roles, bit-packed.


Member Data Documentation

unsigned EncoderBase.OpndRolesDesc.count

Total number of operands in the operation.

unsigned EncoderBase.OpndRolesDesc.defCount

Number of defs in the operation.

unsigned EncoderBase.OpndRolesDesc.useCount

Number of uses in the operation.

unsigned EncoderBase.OpndRolesDesc.roles

Operand roles, bit-packed.

A bit-packed info about operands' roles. Each operand's role is described by two bits, counted from right-to-left - the less significant bits (0,1) represent operand#0.

The mask is build by ORing OpndRole_Def and OpndRole_Use appropriately and shifting left, i.e. operand#0's role would be


The documentation for this struct was generated from the following file:

Genereated on Tue Mar 11 19:25:43 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.