Commit 7e989cfc authored by Matthias Braun's avatar Matthias Braun
Browse files

added doxygen comments, credited backend to Moritz Kroll and Jens Mueller

[r13576]
parent 0d78d6a8
......@@ -17,8 +17,12 @@
* PURPOSE.
*/
/* The main ppc backend driver file. */
/* $Id$ */
/**
* @file
* @brief The main ppc backend driver file.
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
......@@ -17,11 +17,17 @@
* PURPOSE.
*/
#ifndef _BEARCH_PPC32_H_
#define _BEARCH_PPC32_H_
/**
* @file
* @brief declarations for ppc32 backend
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_BEARCH_PPC32_H
#define FIRM_BE_PPC32_BEARCH_PPC32_H
#include "../bearch_t.h"
extern const arch_isa_if_t ppc32_isa_if;
#endif /* _BEARCH_PPC32_H_ */
#endif
......@@ -17,8 +17,14 @@
* PURPOSE.
*/
#ifndef _BEARCH_PPC32_T_H_
#define _BEARCH_PPC32_T_H_
/**
* @file
* @brief declarations for arm backend -- private header
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_BEARCH_PPC32_T_H
#define FIRM_BE_PPC32_BEARCH_PPC32_T_H
#include "debug.h"
#include "bearch_ppc32.h"
......@@ -71,5 +77,4 @@ typedef struct _ppc32_transform_env_t {
DEBUG_ONLY(firm_dbg_module_t *mod;) /**< The firm debugger */
} ppc32_transform_env_t;
#endif /* _BEARCH_PPC32_T_H_ */
#endif
......@@ -17,9 +17,12 @@
* PURPOSE.
*/
/* ppc emitter */
/* $Id$ */
/**
* @file
* @brief ppc emitter
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
......@@ -17,8 +17,14 @@
* PURPOSE.
*/
#ifndef _PPC32_EMITTER_H_
#define _PPC32_EMITTER_H_
/**
* @file
* @brief declarations for ppc32 emitter
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_PPC32_EMITTER_H
#define FIRM_BE_PPC32_PPC32_EMITTER_H
#include "irargs_t.h" // this also inlucdes <libcore/lc_print.h>
#include "irnode.h"
......@@ -47,4 +53,4 @@ void ppc32_gen_routine(FILE *F, ir_graph *irg, const ppc32_code_gen_t *cg);
const char *ppc32_rlwimi_emit_helper(const ir_node *n, ppc32_emit_env_t *env);
#endif /* _PPC32_EMITTER_H_ */
#endif
......@@ -17,12 +17,18 @@
* PURPOSE.
*/
#ifndef _PPC32_GEN_DECLS_H_
#define _PPC32_GEN_DECLS_H_
/**
* @file
* @brief declarations for ppc global iniitializer emitter
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_PPC32_GEN_DECLS_H
#define FIRM_BE_PPC32_PPC32_GEN_DECLS_H
/**
* Generate all entities.
*/
void ppc32_gen_decls(FILE *out);
#endif /* _PPC32_GEN_DECLS_H_ */
#endif
......@@ -18,8 +18,10 @@
*/
/**
* Register mapping for firm nodes. Stolen from bearch_firm :)
* $Id$
* @file
* @brief Register mapping for firm nodes. Stolen from bearch_firm :)
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
......
......@@ -17,8 +17,14 @@
* PURPOSE.
*/
#ifndef _PPC32_MAP_REGS_H_
#define _PPC32_MAP_REGS_H_
/**
* @file
* @brief declarations for register allocation interface of ppc32
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_PPC32_MAP_REGS_H
#define FIRM_BE_PPC32_PPC32_MAP_REGS_H
#include "irnode.h"
#include "set.h"
......@@ -32,4 +38,4 @@ const arch_register_t *ppc32_get_firm_reg(const ir_node *irn, set *reg_set);
long ppc32_translate_proj_pos(const ir_node *proj);
#endif /* _PPC32_MAP_REGS_H_ */
#endif
......@@ -18,9 +18,12 @@
*/
/**
* This file implements the creation of the achitecture specific firm opcodes
* and the coresponding node constructors for the ppc assembler irg.
* $Id$
* @file
* @brief This file implements the creation of the achitecture specific firm
* opcodes and the coresponding node constructors for the ppc assembler
* irg.
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
......
......@@ -17,13 +17,14 @@
* PURPOSE.
*/
#ifndef _PPC32_NEW_NODES_H_
#define _PPC32_NEW_NODES_H_
/**
* Function prototypes for the assembler ir node constructors.
* $Id$
* @file
* @brief Function prototypes for the ppc32 assembler ir node constructors.
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_PPC32_NEW_NODES_H
#define FIRM_BE_PPC32_PPC32_NEW_NODES_H
#include "ppc32_nodes_attr.h"
......@@ -146,4 +147,4 @@ void ppc32_register_additional_opcodes(int opcode_num);
/* Include the generated headers */
#include "gen_ppc32_new_nodes.h"
#endif /* _PPC32_NEW_NODES_H_ */
#endif
......@@ -17,9 +17,12 @@
* PURPOSE.
*/
/* The codegenerator (transform FIRM into ppc FIRM) */
/* $Id$ */
/**
* @file
* @brief The codegenerator (transform FIRM into ppc FIRM)
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
......@@ -17,11 +17,17 @@
* PURPOSE.
*/
#ifndef _PPC32_TRANSFORM_H_
#define _PPC32_TRANSFORM_H_
/**
* @file
* @brief declarations for transform functions (code selection)
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_PPC32_TRANSFORM_H
#define FIRM_BE_PPC32_PPC32_TRANSFORM_H
void ppc32_register_transformers(void);
void ppc32_transform_node(ir_node *node, void *env);
void ppc32_transform_const(ir_node *node, void *env);
#endif /* _PPC32_TRANSFORM_H_ */
#endif
......@@ -17,9 +17,12 @@
* PURPOSE.
*/
/* The codegenerator (transform FIRM Conv nodes into ppc FIRM) */
/* $Id$ */
/**
* @file
* @brief The codegenerator (transform FIRM Conv nodes into ppc FIRM)
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
......
......@@ -17,12 +17,18 @@
* PURPOSE.
*/
#ifndef _PPC32_TRANSFORM_CONV_H_
#define _PPC32_TRANSFORM_CONV_H_
/**
* @file
* @brief declarations for conv transform functions
* @author Moritz Kroll, Jens Mueller
* @version $Id$
*/
#ifndef FIRM_BE_PPC32_PPC32_TRANSFORM_CONV_H
#define FIRM_BE_PPC32_PPC32_TRANSFORM_CONV_H
void ppc32_init_conv_walk(void);
void ppc32_conv_walk(ir_node *node, void *env);
void ppc32_pretransform_walk(ir_node *node, void *env);
#endif /* _PPC32_TRANSFORM_CONV_H_ */
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment