typos fixed
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 6 May 2005 13:45:04 +0000 (13:45 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 6 May 2005 13:45:04 +0000 (13:45 +0000)
[r5788]

ir/arch/archop.c
ir/common/firm.h
ir/ir/irmode.h
ir/ir/irop_t.h

index 57fe2a8..75af6b1 100644 (file)
@@ -184,7 +184,7 @@ static tarval *computed_value_Max(ir_node *n)
 
 /**
  * Returns an equivalent node for a Min/Max node.
- * We do not allow Exeptions in our Min/Max, so there will be always
+ * We do not allow Exceptions in our Min/Max, so there will be always
  * an result.
  * The problem is Min(NaN, NaN) == NaN ???.
  */
index 0692ac7..9a1d014 100644 (file)
@@ -99,9 +99,9 @@ extern "C" {
 #include "mangle.h"         /* Support for mangling ident names. */
 #include "tr_inheritance.h" /* Support to handle inheritance. */
 
-#include "irarch.h"        /* architecture dependant optimizations */
-#include "archop.h"        /* architecture dependant opcodes */
-//#include "modeconv.h"      /* architecture dependant mode conversion */
+#include "irarch.h"        /* architecture dependent optimizations */
+#include "archop.h"        /* architecture dependent opcodes */
+//#include "modeconv.h"      /* architecture dependent mode conversion */
 
 #include "firmstat.h"      /* statistics */
 
@@ -121,7 +121,7 @@ extern "C" {
 
 #include "iredges.h"
 
-/* Makros that define the old function names we decided to rename.
+/* Macros that define the old function names we decided to rename.
    Use for compatibility with old implementations. */
 /*#include "old_fctnames.h"*/
 
@@ -163,8 +163,8 @@ struct _firm_parameter_t {
   ident_if_t *id_if;
 
   /**
-   * The architecture dependand opcode settings.
-   * If not set, no architecture dependand operations will be used.
+   * The architecture dependent opcode settings.
+   * If not set, no architecture dependent operations will be used.
    */
   arch_ops_info *arch_op_settings;
 };
@@ -175,7 +175,7 @@ typedef struct _firm_parameter_t firm_parameter_t;
  * Initialize the firm library.
  *
  * Initializes the firm library.  Allocates default data structures.
- * Initializes configurable behaviour of the library.
+ * Initializes configurable behavior of the library.
  *
  * @param param    A structure containing the parameters of the libFirm.
  *
index 5f88540..5d49921 100644 (file)
@@ -46,7 +46,7 @@
  * ATTRIBUTES:
  *  -  modecode code:           An unambigous int (enum) for the mode
  *  -  ident *name:             Name of this mode. Two modes are different if the name is different.
- *  -  mode_sort sort:          sort of mode specifying possible usage kategories
+ *  -  mode_sort sort:          sort of mode specifying possible usage categories
  *  -  int    size:             size of the mode in Bits.
  *  -  unsigned sign:1:         signedness of this mode
  *  -  ... more to come
@@ -146,9 +146,9 @@ typedef enum {
  * This function constructs a new mode given by the parameters.
  * If the parameters match an already defined mode, this mode is returned
  * (including the default modes).
- * If the mode is newly allocated, a new unique mode_code is choosen.
+ * If the mode is newly allocated, a new unique mode_code is chosen.
  * Also, special value tarvals will be calculated such as null,
- * min, max and can be retrieved using the get_mode_* fuctions
+ * min, max and can be retrieved using the get_mode_* functions
  *
  * @return
  *     The new mode or NULL on error.
@@ -162,19 +162,19 @@ ir_mode *new_ir_mode(const char *name, mode_sort sort, int bit_size, int sign, m
 /**
  * Creates a new vector mode.
  *
- * @param name         the name of the mode to be created
- * @param sort         the mode_sort of the mode to be created
- * @param bit_size     number of bits for one element of this mode
+ * @param name               the name of the mode to be created
+ * @param sort               the mode_sort of the mode to be created
+ * @param bit_size         number of bits for one element of this mode
  * @param num_of_elem   number of elements in this vector mode
- * @param sign         non-zero if this is a signed mode
+ * @param sign               non-zero if this is a signed mode
  * @param arithmetic    arithmetic operations possible with a mode
  * @param modulo_shift  Is ignored for modes other than integer.
  *
  * This function constructs a new vector mode given by the parameters.
  * If the parameters match an already defined mode, this mode is returned.
- * If the mode is newly allocated, a new unique mode_code is choosen.
+ * If the mode is newly allocated, a new unique mode_code is chosen.
  * Also, special value tarvals will be calculated such as null,
- * min, max and can be retrieved using the get_mode_* fuctions
+ * min, max and can be retrieved using the get_mode_* functions
  *
  * @return
  *     The new mode or NULL on error.
@@ -247,7 +247,7 @@ void  set_mode_link(ir_mode *mode, void *l);
  * Returns the smallest representable value of a given mode.
  *
  * For modes of the sort float_number this is the most negative value
- * bigger than -infinit.
+ * bigger than -infinite.
  */
 tarval *get_mode_min(ir_mode *mode);
 
@@ -255,7 +255,7 @@ tarval *get_mode_min(ir_mode *mode);
  * Returns the biggest representable value o f a given mode.
  *
  * For modes of the sort float_number this is the largest value lower
- * than infinit.
+ * than infinite.
  */
 tarval *get_mode_max(ir_mode *mode);
 
@@ -296,14 +296,14 @@ tarval *get_mode_NAN(ir_mode *mode);
 
 extern ir_mode *mode_M;         /**< memory */
 
-/* -- A set of predifined, numerical modes according to Techreport 1999-44 -- */
+/* -- A set of predefined, numerical modes according to Techreport 1999-44 -- */
 extern ir_mode *mode_F;         /**< signed float(32) */
 extern ir_mode *mode_D;  /**< signed double(64) */
 extern ir_mode *mode_E;  /**< signed extended(80) */
 extern ir_mode *mode_Bs; /**< signed byte (former char) */
 extern ir_mode *mode_Bu; /**< unsigned byte (former char) */
 extern ir_mode *mode_Hs; /**< signed short integer */
-extern ir_mode *mode_Hu; /**< unsigened short integer */
+extern ir_mode *mode_Hu; /**< unsigned short integer */
 extern ir_mode *mode_Is; /**< signed integer */
 extern ir_mode *mode_Iu; /**< unsigned integer */
 extern ir_mode *mode_Ls; /**< signed long integer */
index 62bbf6c..341ace1 100644 (file)
@@ -131,7 +131,7 @@ struct ir_op {
   unsigned flags;         /**< flags describing the behavior of the ir_op, a bitmaks of irop_flags */
 
   /* CallBacks */
-  computed_value_func  computed_value;         /**< evaluates a node into a tarval if possible. */
+  computed_value_func    computed_value;               /**< evaluates a node into a tarval if possible. */
   equivalent_node_func  equivalent_node;       /**< optimizes the node by returning an equivalent one. */
   transform_node_func   transform_node;                /**< optimizes the node by transforming it. */
   node_cmp_attr_func    node_cmp_attr;         /**< compares two node attributes. */
@@ -147,14 +147,14 @@ struct ir_op {
  *
  * @param code      the opcode, one of type \c opcode
  * @param name      the printable name of this opcode
- * @param p         wheater operations of this opcode are op_pin_state_pinned or floating
+ * @param p         whether operations of this opcode are op_pin_state_pinned or floating
  * @param flags     a bitmask of irop_flags describing the behavior of the ir operation
  * @param opar      the parity of this ir operation
  * @param op_index  if the parity is oparity_unary, oparity_binary or oparity_trinary the index
  *                  of the left operand
  * @param attr_size attribute size for this ir operation
  *
- * @return The genenerated ir operation.
+ * @return The generated ir operation.
  */
 ir_op * new_ir_op(opcode code, const char *name, op_pin_state p,
                   unsigned flags, op_arity opar, int op_index, size_t attr_size);