ctrump/ast/expr-code.h File Reference

式の種類の定義 More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CTRUMP_CASE_ALL_UNARY_EXPR
 単項式
#define CTRUMP_CASE_BIN_ARITH_EXPR
 二項式かつ、副作用の無いもの
#define CTRUMP_CASE_BIN_LOG_EXPR
 論理式
#define CTRUMP_CASE_BIN_EQ_EXPR
 比較式
#define CTRUMP_CASE_BIN_OP_ASSIGN_EXPR
 算術代入式
#define CTRUMP_CASE_ALL_BIN_EXPR
 式全て
#define IS_BIN_OP_ASSIGN(c)
#define CTRUMP_CASE_CONSTANT_TERM
 定数リテラル + sizeof
#define CTRUMP_CASE_CONSTANT_LITERAL
 定数リテラル
#define CTRUMP_CASE_NUM_LITERAL
 数値リテラル

Enumerations

enum  ctrump_expr_code {
  CTRUMP_EXPR_CONDITIONAL, CTRUMP_EXPR_MEMBER_REF, CTRUMP_EXPR_PTR_MEMBER_REF, CTRUMP_EXPR_STR_LITERAL,
  CTRUMP_EXPR_CALL, CTRUMP_EXPR_FLOAT_LITERAL, CTRUMP_EXPR_DOUBLE_LITERAL, CTRUMP_EXPR_LONG_DOUBLE_LITERAL,
  CTRUMP_EXPR_SINT_LITERAL, CTRUMP_EXPR_SLONG_LITERAL, CTRUMP_EXPR_SLLONG_LITERAL, CTRUMP_EXPR_UINT_LITERAL,
  CTRUMP_EXPR_ULONG_LITERAL, CTRUMP_EXPR_ULLONG_LITERAL, CTRUMP_EXPR_CAST, CTRUMP_EXPR_IMPLICIT_CAST,
  CTRUMP_EXPR_INITIALIZER, CTRUMP_EXPR_VARREF, CTRUMP_EXPR_UNA_PTRREF, CTRUMP_EXPR_UNA_POS,
  CTRUMP_EXPR_UNA_NEG, CTRUMP_EXPR_UNA_PRE_INC, CTRUMP_EXPR_UNA_PRE_DEC, CTRUMP_EXPR_UNA_POST_INC,
  CTRUMP_EXPR_UNA_POST_DEC, CTRUMP_EXPR_UNA_ADDR, CTRUMP_EXPR_UNA_BCMPL, CTRUMP_EXPR_UNA_LNEG,
  CTRUMP_EXPR_UNA_SIZEOF, CTRUMP_EXPR_PAREN, CTRUMP_EXPR_BIN_ADD, CTRUMP_EXPR_BIN_SUB,
  CTRUMP_EXPR_BIN_MUL, CTRUMP_EXPR_BIN_DIV, CTRUMP_EXPR_BIN_MOD, CTRUMP_EXPR_BIN_LAND,
  CTRUMP_EXPR_BIN_LOR, CTRUMP_EXPR_BIN_BAND, CTRUMP_EXPR_BIN_BOR, CTRUMP_EXPR_BIN_BXOR,
  CTRUMP_EXPR_BIN_LSHIFT, CTRUMP_EXPR_BIN_RSHIFT, CTRUMP_EXPR_BIN_GT, CTRUMP_EXPR_BIN_GE,
  CTRUMP_EXPR_BIN_LT, CTRUMP_EXPR_BIN_LE, CTRUMP_EXPR_BIN_EQ, CTRUMP_EXPR_BIN_NE,
  CTRUMP_EXPR_BIN_ASSIGN, CTRUMP_EXPR_BIN_MUL_ASSIGN, CTRUMP_EXPR_BIN_DIV_ASSIGN, CTRUMP_EXPR_BIN_MOD_ASSIGN,
  CTRUMP_EXPR_BIN_ADD_ASSIGN, CTRUMP_EXPR_BIN_SUB_ASSIGN, CTRUMP_EXPR_BIN_LSHIFT_ASSIGN, CTRUMP_EXPR_BIN_RSHIFT_ASSIGN,
  CTRUMP_EXPR_BIN_BAND_ASSIGN, CTRUMP_EXPR_BIN_BOR_ASSIGN, CTRUMP_EXPR_BIN_BXOR_ASSIGN, CTRUMP_EXPR_BIN_COMMA,
  CTRUMP_EXPR_ARRREF, CTRUMP_EXPR_SIZEOF_TYPE, CTRUMP_EXPR_MACRO_EXPAND, CTRUMP_EXPR_TEXT,
  CTRUMP_EXPR_IVTMP, CTRUMP_EXPR_EMPTY
}


Detailed Description

式の種類の定義

Definition in file expr-code.h.


Define Documentation

#define CTRUMP_CASE_ALL_BIN_EXPR

#define CTRUMP_CASE_ALL_UNARY_EXPR

#define CTRUMP_CASE_BIN_ARITH_EXPR

Value:

CTRUMP_EXPR_BIN_ADD:             /* + */         \
    case CTRUMP_EXPR_BIN_SUB:             /* - */    \
    case CTRUMP_EXPR_BIN_MUL:             /* * */    \
    case CTRUMP_EXPR_BIN_DIV:             /* / */    \
    case CTRUMP_EXPR_BIN_MOD:             /* % */    \
    case CTRUMP_EXPR_BIN_BAND:            /* & */    \
    case CTRUMP_EXPR_BIN_BOR:             /* | */    \
    case CTRUMP_EXPR_BIN_BXOR:            /* ^ */    \
    case CTRUMP_EXPR_BIN_LSHIFT:          /* << */   \
    case CTRUMP_EXPR_BIN_RSHIFT
二項式かつ、副作用の無いもの

Definition at line 140 of file expr-code.h.

Referenced by assign_var_info_expr(), build_cfg_cond_expr(), is_invariant_expr(), and recog_reductive().

#define CTRUMP_CASE_BIN_EQ_EXPR

Value:

CTRUMP_EXPR_BIN_GT:              /* > */         \
    case CTRUMP_EXPR_BIN_GE:              /* >= */   \
    case CTRUMP_EXPR_BIN_LT:              /* < */    \
    case CTRUMP_EXPR_BIN_LE:              /* <= */   \
    case CTRUMP_EXPR_BIN_EQ:              /* == */   \
    case CTRUMP_EXPR_BIN_NE
比較式

Definition at line 162 of file expr-code.h.

Referenced by assign_var_info_expr(), build_cfg_cond_expr(), and recog_reductive().

#define CTRUMP_CASE_BIN_LOG_EXPR

#define CTRUMP_CASE_BIN_OP_ASSIGN_EXPR

#define CTRUMP_CASE_CONSTANT_LITERAL

Value:

CTRUMP_EXPR_FLOAT_LITERAL:  /* 3.0f */           \
    case CTRUMP_EXPR_DOUBLE_LITERAL: /* 3.0 */       \
    case CTRUMP_EXPR_SINT_LITERAL:   /* 3 */         \
    case CTRUMP_EXPR_SLONG_LITERAL:  /* 3L */        \
    case CTRUMP_EXPR_SLLONG_LITERAL: /* 3LL */       \
    case CTRUMP_EXPR_UINT_LITERAL:   /* 3U */        \
    case CTRUMP_EXPR_ULONG_LITERAL:  /* 3UL */       \
    case CTRUMP_EXPR_ULLONG_LITERAL:  /* 3ULL */     \
    case CTRUMP_EXPR_STR_LITERAL
定数リテラル

Definition at line 227 of file expr-code.h.

#define CTRUMP_CASE_CONSTANT_TERM

#define CTRUMP_CASE_NUM_LITERAL

Value:

数値リテラル

Definition at line 241 of file expr-code.h.

#define IS_BIN_OP_ASSIGN (  ) 

Value:

Definition at line 196 of file expr-code.h.

Referenced by classify_memop().


Enumeration Type Documentation

Enumerator:
CTRUMP_EXPR_CONDITIONAL 
CTRUMP_EXPR_MEMBER_REF 
CTRUMP_EXPR_PTR_MEMBER_REF 
CTRUMP_EXPR_STR_LITERAL 
CTRUMP_EXPR_CALL 
CTRUMP_EXPR_FLOAT_LITERAL 
CTRUMP_EXPR_DOUBLE_LITERAL 
CTRUMP_EXPR_LONG_DOUBLE_LITERAL 
CTRUMP_EXPR_SINT_LITERAL 
CTRUMP_EXPR_SLONG_LITERAL 
CTRUMP_EXPR_SLLONG_LITERAL 
CTRUMP_EXPR_UINT_LITERAL 
CTRUMP_EXPR_ULONG_LITERAL 
CTRUMP_EXPR_ULLONG_LITERAL 
CTRUMP_EXPR_CAST 
CTRUMP_EXPR_IMPLICIT_CAST 
CTRUMP_EXPR_INITIALIZER 
CTRUMP_EXPR_VARREF 
CTRUMP_EXPR_UNA_PTRREF 
CTRUMP_EXPR_UNA_POS 
CTRUMP_EXPR_UNA_NEG 
CTRUMP_EXPR_UNA_PRE_INC 
CTRUMP_EXPR_UNA_PRE_DEC 
CTRUMP_EXPR_UNA_POST_INC 
CTRUMP_EXPR_UNA_POST_DEC 
CTRUMP_EXPR_UNA_ADDR 
CTRUMP_EXPR_UNA_BCMPL 
CTRUMP_EXPR_UNA_LNEG 
CTRUMP_EXPR_UNA_SIZEOF 
CTRUMP_EXPR_PAREN 
CTRUMP_EXPR_BIN_ADD 
CTRUMP_EXPR_BIN_SUB 
CTRUMP_EXPR_BIN_MUL 
CTRUMP_EXPR_BIN_DIV 
CTRUMP_EXPR_BIN_MOD 
CTRUMP_EXPR_BIN_LAND 
CTRUMP_EXPR_BIN_LOR 
CTRUMP_EXPR_BIN_BAND 
CTRUM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