
Go to the source code of this file.
Functions | |
| BOOL | WN_Simplifier_Enable (BOOL enable) |
| WN * | WN_SimplifyCvtl (OPCODE opc, INT16 cvtl_bits, WN *k0) |
| WN * | WN_SimplifyExp1 (OPCODE opc, WN *k0) |
| WN * | WN_SimplifyExp2 (OPCODE opc, WN *k0, WN *k1) |
| WN * | WN_SimplifyExp3 (OPCODE opc, WN *k0, WN *k1, WN *k2) |
| WN * | WN_SimplifyIntrinsic (OPCODE opc, UINT32 intrinsic, INT32 n, WN *k[]) |
| WN * | WN_SimplifyIload (OPCODE opc, WN_OFFSET offset, TY_IDX ty, UINT field_id, TY_IDX load_addr_ty, WN *addr) |
| WN * | WN_SimplifyIstore (OPCODE opc, WN_OFFSET offset, TY_IDX ty, UINT field_id, WN *value, WN *addr) |
| WN * | WN_SimplifyPstore (OPCODE opc, WN_OFFSET offset, TY_IDX ty, UINT field_id, WN *value, WN *addr) |
| INT32 | WN_Simp_Compare_Trees (WN *t1, WN *t2) |
| WN * | WN_Simplify_Tree (WN *tree, ALIAS_MANAGER *am=NULL) |
| WN * | WN_Simplify_Rebuild_Expr_Tree (WN *tree, ALIAS_MANAGER *am=NULL) |
Variables | |
| WN_MAP | WN_SimpParentMap |
| BOOL | WN_Simp_Fold_ILOAD |
| BOOL | WN_Simp_Fold_LDA |
Definition at line 400 of file wn_simp.cxx.
References Enable_WN_Simp.
Referenced by cwh_whirl_simplfier_control(), main(), and WN_LOOP_TripCount().
| WN* WN_Simplify_Rebuild_Expr_Tree | ( | WN * | tree, | |
| ALIAS_MANAGER * | am = NULL | |||
| ) |
Definition at line 319 of file wn_simp.cxx.
References OPCODE_is_expression(), OPCODE_operator(), OPR_CVTL, OPR_ILOAD, OPR_INTRINSIC_OP, OPR_TAS, result, Type_Is_Shared_Ptr(), WN_cvtl_bits(), WN_Delete, WN_field_id(), WN_intrinsic(), WN_kid(), WN_kid0(), WN_kid1(), WN_kid_count(), WN_load_addr_ty(), WN_load_offset(), WN_opcode(), WN_operator(), WN_SimplifyCvtl(), WN_SimplifyExp1(), WN_SimplifyExp2(), WN_SimplifyExp3(), WN_SimplifyIload(), WN_SimplifyIntrinsic(), and WN_ty().

| WN* WN_Simplify_Tree | ( | WN * | tree, | |
| ALIAS_MANAGER * | am = NULL | |||
| ) |
Definition at line 175 of file wn_simp.cxx.
References next, OPC_BLOCK, OPCODE_operator(), OPR_CVTL, OPR_ILOAD, OPR_INTRINSIC_OP, OPR_IO_ITEM, OPR_ISTORE, OPR_PSTORE, result, WN_cvtl_bits(), WN_Delete, WN_field_id(), WN_first(), WN_intrinsic(), WN_kid(), WN_kid0(), WN_kid1(), WN_kid_count(), WN_last(), WN_load_addr_ty(), WN_load_offset(), WN_MAP_Set, WN_MAP_UNDEFINED, WN_next(), WN_opcode(), WN_operator(), WN_prev(), WN_Simplify_Tree(), WN_SimplifyCvtl(), WN_SimplifyExp1(), WN_SimplifyExp2(), WN_SimplifyExp3(), WN_SimplifyIload(), WN_SimplifyIntrinsic(), WN_SimplifyIstore(), WN_SimplifyPstore(), WN_SimpParentMap, and WN_ty().
Referenced by ir_b2a_process_PUs(), WN_Simplify_Tree(), and WN_Upper_Bound_Standardize().

Referenced by WN_CreateCvtl(), WN_SimpCreateCvtl(), WN_Simplify_Rebuild_Expr_Tree(), and WN_Simplify_Tree().
Referenced by WN_CreateExp1(), WN_SimpCreateExp1(), WN_Simplify_Rebuild_Expr_Tree(), and WN_Simplify_Tree().
Referenced by WN_CreateExp2(), WN_SimpCreateExp2(), WN_Simplify_Rebuild_Expr_Tree(), and WN_Simplify_Tree().
Referenced by WN_CreateExp3(), WN_SimpCreateExp3(), WN_Simplify_Rebuild_Expr_Tree(), and WN_Simplify_Tree().
| WN* WN_SimplifyIload | ( | OPCODE | opc, | |
| WN_OFFSET | offset, | |||
| TY_IDX | ty, | |||
| UINT | field_id, | |||
| TY_IDX | load_addr_ty, | |||
| WN * | addr | |||
| ) |
Referenced by WN_CreateIload(), WN_Simplify_Rebuild_Expr_Tree(), and WN_Simplify_Tree().
Referenced by WN_Create_Intrinsic(), WN_Simplify_Rebuild_Expr_Tree(), and WN_Simplify_Tree().
| WN* WN_SimplifyIstore | ( | OPCODE | opc, | |
| WN_OFFSET | offset, | |||
| TY_IDX | ty, | |||
| UINT | field_id, | |||
| WN * | value, | |||
| WN * | addr | |||
| ) |
Referenced by WN_CreateIstore(), and WN_Simplify_Tree().
| WN* WN_SimplifyPstore | ( | OPCODE | opc, | |
| WN_OFFSET | offset, | |||
| TY_IDX | ty, | |||
| UINT | field_id, | |||
| WN * | value, | |||
| WN * | addr | |||
| ) |
Referenced by WN_CreatePstore(), and WN_Simplify_Tree().
Definition at line 71 of file wn_simp.cxx.
Definition at line 73 of file wn_simp.cxx.
Referenced by simp_add_sub().
Definition at line 76 of file wn_simp.cxx.
Referenced by WN_Create_Intrinsic(), WN_CreateCvtl(), WN_CreateExp1(), WN_CreateExp2(), WN_CreateExp3(), WN_CreateIload(), WN_CreateIstore(), WN_CreatePstore(), WN_SimpCreateCvtl(), WN_SimpCreateDeposit(), WN_SimpCreateExp1(), WN_SimpCreateExp2(), WN_SimpCreateExp3(), WN_SimpCreateExtract(), and WN_Simplify_Tree().
1.7.1