X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_optimize.h;h=4ab5434d9ca3564bcf7444178617832dded6be53;hb=3ad2e44266561dbd0f519b4610e37adc53ce8714;hp=7ea85c1e79a0695804b233c27cd225525d86d883;hpb=3f4c15b58215de058a9d35629ded349259dfa113;p=libfirm diff --git a/ir/be/ia32/ia32_optimize.h b/ir/be/ia32/ia32_optimize.h index 7ea85c1e7..4ab5434d9 100644 --- a/ir/be/ia32/ia32_optimize.h +++ b/ir/be/ia32/ia32_optimize.h @@ -1,6 +1,18 @@ #ifndef _IA32_OPTIMIZE_H_ #define _IA32_OPTIMIZE_H_ +/** + * Transforms a Firm Const into an ia32 Const and places it + * in the Block where it's used. + * This function is called by a walker. + */ void ia32_place_consts(ir_node *irn, void *env); +/** + * Checks for address mode patterns and performs the + * necessary transformations. + * This function is called by a walker. + */ +void ia32_optimize_am(ir_node *irn, void *env); + #endif /* _IA32_OPTIMIZE_H_ */