Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
cwh_intrin.i File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  intopc
struct  itab_entry

Defines

#define WOP(x)   {INTRINSIC_NONE,OPC_##x}
#define IOP(x)   {INTRN_##x,OPCODE_UNKNOWN}
#define NOWI   {INTRINSIC_NONE,OPCODE_UNKNOWN}
#define GET_WOP(x)   ((x).O)
#define GET_IOP(x)   ((x).I)
#define NOINT   NOWI,NOWI,NOWI,NOWI
#define NOREAL   NOWI,NOWI,NOWI
#define NOCMPX   NOWI,NOWI,NOWI
#define NOTIMP   NOINT,NOREAL,NOCMPX
#define IREALS(x)   IOP(F4##x),IOP(F8##x),IOP(FQ##x)
#define ICMPXS(x)   IOP(C4##x),IOP(C8##x),IOP(CQ##x)
#define IINTS(x)   IOP(I1##x),IOP(I2##x),IOP(I4##x),IOP(I8##x)
#define WREALS(x)   WOP(F4##x),WOP(F8##x),WOP(FQ##x)
#define WCMPXS(x)   WOP(C4##x),WOP(C8##x),WOP(CQ##x)
#define WINTS(x)   WOP(I4##x),WOP(I4##x),WOP(I4##x),WOP(I8##x)
#define GET_ITAB_WOP(intr, ty)   GET_WOP(intrinsic_lookup[intr].ops[t_from_mtype(ty)])
#define GET_ITAB_IOP(intr, ty)   GET_IOP(intrinsic_lookup[intr].ops[t_from_mtype(ty)])

Enumerations

enum  t_enum {
  t_I1 = 0, t_I2 = 1, t_I4 = 2, t_I8 = 3,
  t_F4 = 4, t_F8 = 5, t_FQ = 6, t_C4 = 7,
  t_C8 = 8, t_CQ = 9, t_LAST = 10, t_BAD = t_LAST
}
enum  i_enum {
  i_abs, i_acos, i_ashift, i_asin,
  i_atan, i_atan2, i_complex, i_conjg,
  i_cos, i_cosh, i_exp, i_exponent,
  i_fraction, i_ieee_int, i_ibits, i_imag,
  i_ishftc, i_log, i_log10, i_mod,
  i_modulo, i_near, i_nextafter, i_pos_diff,
  i_round, i_rrspace, i_scale, i_set_exponent,
  i_sign_xfer, i_sin, i_sinh, i_space,
  i_sqrt, i_tan, i_tanh, i_trunc,
  i_acosd, i_asind, i_atand, i_atan2d,
  i_cosd, i_sind, i_tand, i_LAST
}
enum  pb_method { p_VALUE, p_REF }

Functions

static WNcwh_intrin_build (WN **k, INTRINSIC intr, TYPE_ID bt, INT numargs)

Variables

itab_entry intrinsic_lookup [i_LAST]

Define Documentation

#define GET_IOP (   x)    ((x).I)

Definition at line 121 of file cwh_intrin.i.

#define GET_ITAB_WOP (   intr,
  ty 
)    GET_WOP(intrinsic_lookup[intr].ops[t_from_mtype(ty)])

Definition at line 145 of file cwh_intrin.i.

Referenced by do_simple(), simple_intrinsic(), and simple_intrinsic_nt().

#define GET_WOP (   x)    ((x).O)

Definition at line 120 of file cwh_intrin.i.

#define ICMPXS (   x)    IOP(C4##x),IOP(C8##x),IOP(CQ##x)

Definition at line 130 of file cwh_intrin.i.

#define IINTS (   x)    IOP(I1##x),IOP(I2##x),IOP(I4##x),IOP(I8##x)

Definition at line 131 of file cwh_intrin.i.

#define IOP (   x)    {INTRN_##x,OPCODE_UNKNOWN}

Definition at line 118 of file cwh_intrin.i.

#define IREALS (   x)    IOP(F4##x),IOP(F8##x),IOP(FQ##x)

Definition at line 129 of file cwh_intrin.i.

#define NOCMPX   NOWI,NOWI,NOWI

Definition at line 126 of file cwh_intrin.i.

#define NOINT   NOWI,NOWI,NOWI,NOWI

Definition at line 124 of file cwh_intrin.i.

#define NOREAL   NOWI,NOWI,NOWI

Definition at line 125 of file cwh_intrin.i.

#define NOTIMP   NOINT,NOREAL,NOCMPX

Definition at line 127 of file cwh_intrin.i.

#define NOWI   {INTRINSIC_NONE,OPCODE_UNKNOWN}

Definition at line 119 of file cwh_intrin.i.

#define WCMPXS (   x)    WOP(C4##x),WOP(C8##x),WOP(CQ##x)

Definition at line 133 of file cwh_intrin.i.

#define WINTS (   x)    WOP(I4##x),WOP(I4##x),WOP(I4##x),WOP(I8##x)

Definition at line 134 of file cwh_intrin.i.

#define WOP (   x)    {INTRINSIC_NONE,OPC_##x}

Definition at line 117 of file cwh_intrin.i.

#define WREALS (   x)    WOP(F4##x),WOP(F8##x),WOP(FQ##x)

Definition at line 132 of file cwh_intrin.i.


Enumeration Type Documentation

enum i_enum
Enumerator:
i_abs 
i_acos 
i_ashift 
i_asin 
i_atan 
i_atan2 
i_complex 
i_conjg 
i_cos 
i_cosh 
i_exp 
i_exponent 
i_fraction 
i_ieee_int 
i_ibits 
i_imag 
i_ishftc 
i_log 
i_log10 
i_mod 
i_modulo 
i_near 
i_nextafter 
i_pos_diff 
i_round 
i_rrspace 
i_scale 
i_set_exponent 
i_sign_xfer 
i_sin 
i_sinh 
i_space 
i_sqrt 
i_tan 
i_tanh 
i_trunc 
i_acosd 
i_asind 
i_atand 
i_atan2d 
i_cosd 
i_sind 
i_tand 
i_LAST 

Definition at line 63 of file cwh_intrin.i.

enum pb_method
Enumerator:
p_VALUE 
p_REF 

Definition at line 198 of file cwh_intrin.i.

enum t_enum
Enumerator:
t_I1 
t_I2 
t_I4 
t_I8 
t_F4 
t_F8 
t_FQ 
t_C4 
t_C8 
t_CQ 
t_LAST 
t_BAD 

Definition at line 47 of file cwh_intrin.i.


Function Documentation

static WN* cwh_intrin_build ( WN **  k,
INTRINSIC  intr,
TYPE_ID  bt,
INT  numargs 
) [static]

Variable Documentation

Definition at line 148 of file cwh_intrin.i.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines