Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
ti_asm.h File Reference
#include <stdio.h>
#include "topcode.h"
#include "targ_isa_pack.h"
#include "targ_isa_bundle.h"
Include dependency graph for ti_asm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TI_ASM_DISASM_ABI_REGS   (0x01)
#define TI_ASM_DISASM_TRUE_PRED   (0x02)

Functions

INT TI_ASM_Pack_Inst (TOP topcode, const INT64 *result, const INT64 *opnd, ISA_PACK_INST *pinst)
INT TI_ASM_Print_Inst (TOP topcode, const char **result, const char **opnd, FILE *f)
INT TI_ASM_DisAsm_Inst (TOP topcode, INT64 *result, INT64 *opnd, INT64 pc, INT flags, char *bufptr)
void TI_ASM_Set_Bundle_Comp (ISA_BUNDLE *bundle, ISA_BUNDLE_PACK_COMP comp, UINT64 val)
UINT64 TI_ASM_Get_Bundle_Comp (const ISA_BUNDLE *bundle, ISA_BUNDLE_PACK_COMP comp)
void TI_ASM_Set_Bundle_Reloc_Value (ISA_BUNDLE *bundle, INT slot, UINT64 val)
UINT64 TI_ASM_Get_Bundle_Reloc_Value (const ISA_BUNDLE *bundle, INT slot)
TOP TI_ASM_Unpack_Inst (const ISA_PACK_INST *inst, ISA_EXEC_UNIT ex_unit, INT64 *result, INT64 *opnd, BOOL xlate_pseudo)

Define Documentation

#define TI_ASM_DISASM_ABI_REGS   (0x01)

Definition at line 235 of file ti_asm.h.

Referenced by Format_Operand().

#define TI_ASM_DISASM_TRUE_PRED   (0x02)

Definition at line 236 of file ti_asm.h.

Referenced by Format_Operand().


Function Documentation

INT TI_ASM_DisAsm_Inst ( TOP  topcode,
INT64 result,
INT64 opnd,
INT64  pc,
INT  flags,
char *  bufptr 
)

Definition at line 273 of file ti_asm.c.

References arg, buf, and Format_Operand().

Here is the call graph for this function:

UINT64 TI_ASM_Get_Bundle_Comp ( const ISA_BUNDLE *  bundle,
ISA_BUNDLE_PACK_COMP  comp 
)

Definition at line 374 of file ti_asm.c.

References val.

Referenced by TI_ASM_Get_Bundle_Reloc_Value(), and TI_ASM_Set_Bundle_Reloc_Value().

UINT64 TI_ASM_Get_Bundle_Reloc_Value ( const ISA_BUNDLE *  bundle,
INT  slot 
)

Definition at line 482 of file ti_asm.c.

References FALSE, fprintf(), NULL, size, TI_ASM_Get_Bundle_Comp(), and val.

Here is the call graph for this function:

INT TI_ASM_Pack_Inst ( TOP  topcode,
const INT64 result,
const INT64 opnd,
ISA_PACK_INST *  pinst 
)

Definition at line 67 of file ti_asm.c.

References bcopy(), FALSE, TI_errmsg, and TI_RC_ERROR.

Here is the call graph for this function:

INT TI_ASM_Print_Inst ( TOP  topcode,
const char **  result,
const char **  opnd,
FILE *  f 
)

Definition at line 151 of file ti_asm.c.

References arg, fprintf(), TI_errmsg, and TI_RC_ERROR.

Here is the call graph for this function:

void TI_ASM_Set_Bundle_Comp ( ISA_BUNDLE *  bundle,
ISA_BUNDLE_PACK_COMP  comp,
UINT64  val 
)

Definition at line 347 of file ti_asm.c.

Referenced by TI_ASM_Set_Bundle_Reloc_Value().

void TI_ASM_Set_Bundle_Reloc_Value ( ISA_BUNDLE *  bundle,
INT  slot,
UINT64  val 
)

Definition at line 400 of file ti_asm.c.

References FALSE, fprintf(), NULL, TI_ASM_Get_Bundle_Comp(), and TI_ASM_Set_Bundle_Comp().

Here is the call graph for this function:

TOP TI_ASM_Unpack_Inst ( const ISA_PACK_INST *  inst,
ISA_EXEC_UNIT  ex_unit,
INT64 result,
INT64 opnd,
BOOL  xlate_pseudo 
)

Definition at line 571 of file ti_asm.c.

References bzero(), size, TRUE, and val.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines