From 86997185c0e4d9a49b8f036a8a6fbb5e470ff2b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Thu, 11 May 2006 10:02:53 +0000 Subject: [PATCH] updated commments --- ir/be/ia32/ia32_emitter.c | 2 +- ir/be/ia32/ia32_emitter.h | 6 ++++++ ir/be/ia32/ia32_gen_decls.h | 6 ++++++ ir/be/ia32/ia32_map_regs.c | 2 ++ ir/be/ia32/ia32_map_regs.h | 6 ++++++ ir/be/ia32/ia32_new_nodes.c | 2 +- ir/be/ia32/ia32_new_nodes.h | 6 +++--- ir/be/ia32/ia32_nodes_attr.h | 6 ++++++ ir/be/ia32/ia32_optimize.c | 2 +- ir/be/ia32/ia32_optimize.h | 6 ++++++ ir/be/ia32/ia32_transform.c | 5 ++--- ir/be/ia32/ia32_transform.h | 6 ++++++ 12 files changed, 46 insertions(+), 9 deletions(-) diff --git a/ir/be/ia32/ia32_emitter.c b/ir/be/ia32/ia32_emitter.c index cdc851084..d81f6d921 100644 --- a/ir/be/ia32/ia32_emitter.c +++ b/ir/be/ia32/ia32_emitter.c @@ -1,6 +1,6 @@ /** * This file implements the node emitter. - * + * @author Christian Wuerdig * $Id$ */ diff --git a/ir/be/ia32/ia32_emitter.h b/ir/be/ia32/ia32_emitter.h index bbd152819..6c2453382 100644 --- a/ir/be/ia32/ia32_emitter.h +++ b/ir/be/ia32/ia32_emitter.h @@ -1,3 +1,9 @@ +/** + * Header file for ia32 emitter, containing some function definitions and types. + * @author Christian Wuerdig + * $Id$ + */ + #ifndef _IA32_EMITTER_H_ #define _IA32_EMITTER_H_ diff --git a/ir/be/ia32/ia32_gen_decls.h b/ir/be/ia32/ia32_gen_decls.h index 647d989dd..51230aefc 100644 --- a/ir/be/ia32/ia32_gen_decls.h +++ b/ir/be/ia32/ia32_gen_decls.h @@ -1,3 +1,9 @@ +/** + * Header for ia32 assembler declarations dumper. + * @author Christian Wuerdig + * $Id$ + */ + #ifndef _IA32_GEN_DECLS_H_ #define _IA32_GEN_DECLS_H_ diff --git a/ir/be/ia32/ia32_map_regs.c b/ir/be/ia32/ia32_map_regs.c index 5dd810550..c9bb092a1 100644 --- a/ir/be/ia32/ia32_map_regs.c +++ b/ir/be/ia32/ia32_map_regs.c @@ -1,5 +1,7 @@ /** * Register mapping for firm nodes. Stolen from bearch_firm :) + * Calculate requirements for register parameter. + * @author Christian Wuerdig * $Id$ */ #ifdef HAVE_CONFIG_H diff --git a/ir/be/ia32/ia32_map_regs.h b/ir/be/ia32/ia32_map_regs.h index 670472694..d2873235f 100644 --- a/ir/be/ia32/ia32_map_regs.h +++ b/ir/be/ia32/ia32_map_regs.h @@ -1,3 +1,9 @@ +/** + * General reqister mapping stuff. + * @author Christian Wuerdig + * $Id$ + */ + #ifndef _IA32_MAP_REGS_H_ #define _IA32_MAP_REGS_H_ diff --git a/ir/be/ia32/ia32_new_nodes.c b/ir/be/ia32/ia32_new_nodes.c index 67715e470..746781db8 100644 --- a/ir/be/ia32/ia32_new_nodes.c +++ b/ir/be/ia32/ia32_new_nodes.c @@ -1,6 +1,6 @@ /** * This file implements the creation of the achitecture specific firm opcodes - * and the coresponding node constructors for the $arch assembler irg. + * and the coresponding node constructors for the ia32 assembler irg. * @author Christian Wuerdig * $Id$ */ diff --git a/ir/be/ia32/ia32_new_nodes.h b/ir/be/ia32/ia32_new_nodes.h index 76fd5bbcf..662dbabcf 100644 --- a/ir/be/ia32/ia32_new_nodes.h +++ b/ir/be/ia32/ia32_new_nodes.h @@ -1,12 +1,12 @@ -#ifndef _IA32_NEW_NODES_H_ -#define _IA32_NEW_NODES_H_ - /** * Function prototypes for the assembler ir node constructors. * @author Christian Wuerdig * $Id$ */ +#ifndef _IA32_NEW_NODES_H_ +#define _IA32_NEW_NODES_H_ + #include "firm_config.h" #include "ia32_nodes_attr.h" diff --git a/ir/be/ia32/ia32_nodes_attr.h b/ir/be/ia32/ia32_nodes_attr.h index 6e8c95904..4fd277165 100644 --- a/ir/be/ia32/ia32_nodes_attr.h +++ b/ir/be/ia32/ia32_nodes_attr.h @@ -1,3 +1,9 @@ +/** + * Type definitions for ia32 node attributes. + * @author Christian Wuerdig + * $Id$ + */ + #ifndef _IA32_NODES_ATTR_H_ #define _IA32_NODES_ATTR_H_ diff --git a/ir/be/ia32/ia32_optimize.c b/ir/be/ia32/ia32_optimize.c index 631f6e6c7..a72419aae 100644 --- a/ir/be/ia32/ia32_optimize.c +++ b/ir/be/ia32/ia32_optimize.c @@ -1,4 +1,4 @@ -/* +/** * Project: libFIRM * File name: ir/be/ia32/ia32_optimize.c * Purpose: Implements several optimizations for IA32 diff --git a/ir/be/ia32/ia32_optimize.h b/ir/be/ia32/ia32_optimize.h index 04cde0508..d45cd9837 100644 --- a/ir/be/ia32/ia32_optimize.h +++ b/ir/be/ia32/ia32_optimize.h @@ -1,3 +1,9 @@ +/** + * Function prototypes for ia32 optimizations + * @author Christian Wuerdig + * $Id$ + */ + #ifndef _IA32_OPTIMIZE_H_ #define _IA32_OPTIMIZE_H_ diff --git a/ir/be/ia32/ia32_transform.c b/ir/be/ia32/ia32_transform.c index d498aa673..bcf287a24 100644 --- a/ir/be/ia32/ia32_transform.c +++ b/ir/be/ia32/ia32_transform.c @@ -1,7 +1,6 @@ /** - * This file implements the IR transformation from firm into - * ia32-Firm. - * + * This file implements the IR transformation from firm into ia32-Firm. + * @author Christian Wuerdig * $Id$ */ diff --git a/ir/be/ia32/ia32_transform.h b/ir/be/ia32/ia32_transform.h index fbc6c72ee..333fa1cd5 100644 --- a/ir/be/ia32/ia32_transform.h +++ b/ir/be/ia32/ia32_transform.h @@ -1,3 +1,9 @@ +/** + * Function prototypes for Firm into ia32-Firm transformations. + * @author Christian Wuerdig + * $Id$ + */ + #ifndef _IA32_TRANSFORM_H_ #define _IA32_TRANSFORM_H_ -- 2.20.1