Fixed some typos.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Mon, 3 Dec 2012 07:29:42 +0000 (08:29 +0100)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Mon, 3 Dec 2012 07:32:47 +0000 (08:32 +0100)
14 files changed:
include/libfirm/adt/pqueue.h
include/libfirm/irmode.h
include/libfirm/tv.h
ir/adt/hashset.c.inl
ir/be/beabi.c
ir/be/benode.h
ir/be/bepeephole.h
ir/be/ia32/ia32_transform.c
ir/be/sparc/sparc_emitter.c
ir/be/sparc/sparc_spec.pl
ir/be/sparc/sparc_transform.c
ir/ir/iredges.c
ir/ir/irio.c
ir/opt/boolopt.c

index 35e585a..1647845 100644 (file)
@@ -61,7 +61,7 @@ FIRM_API void del_pqueue(pqueue_t *q);
 FIRM_API void pqueue_put(pqueue_t *q, void *data, int priority);
 
 /**
- * Returns and removes the first element, ie. that one with the highest priority, from the queue.
+ * Returns and removes the first element, i.e. that one with the highest priority, from the queue.
  * @param q   The priority queue.
  * @return The first element of the queue. Asserts if queue is empty.
  */
index b22e347..480982d 100644 (file)
@@ -415,7 +415,7 @@ FIRM_API void set_reference_mode_unsigned_eq(ir_mode *ref_mode, ir_mode *int_mod
  * Returns size of mantissa in bits (for float modes).
  * Note: This is the number of bits used after the leading one. So the actual
  * accuracy of the significand is get_mode_mantissa_size()+1. The number of bits
- * used in the encoding depends on wether the floatingpoint mode has an implicit
+ * used in the encoding depends on whether the floatingpoint mode has an implicit
  * (ieee754) or explicit (x86_extended) encoding of the leading one.
  */
 FIRM_API unsigned get_mode_mantissa_size(const ir_mode *mode);
@@ -427,7 +427,7 @@ FIRM_API unsigned get_mode_exponent_size(const ir_mode *mode);
 
 /**
  * Returns non-zero if the cast from mode src to mode dst is a
- * reinterpret cast (ie. only the bit pattern is reinterpreted,
+ * reinterpret cast (i.e. only the bit pattern is reinterpreted,
  * no conversion is done)
  */
 FIRM_API int is_reinterpret_cast(const ir_mode *src, const ir_mode *dst);
index f546447..9db898d 100644 (file)
@@ -271,7 +271,7 @@ FIRM_API int tarval_is_minus_one(ir_tarval *tv);
 FIRM_API int tarval_is_all_one(ir_tarval *tv);
 
 /**
- * Returns non-zero if the tarval is a constant (ie. NOT
+ * Returns non-zero if the tarval is a constant (i.e. NOT
  * a reserved tarval like bad, undef, reachable etc.)
  */
 FIRM_API int tarval_is_constant(ir_tarval *tv);
index 0e7ce35..06f4312 100644 (file)
@@ -44,7 +44,7 @@
  *                             Defining this implies, that a data value contains
  *                             more than just the key.</li>
  *  <li><b>GetKey(value)</b>   Extracts the key from a data value</li>
- *  <li><b>KeysEqual(hashset,key1,key2)</b>  Tests wether 2 keys are equal</li>
+ *  <li><b>KeysEqual(hashset,key1,key2)</b>  Tests whether 2 keys are equal</li>
  *  <li><b>DO_REHASH</b>       Instead of storing the hash-values, recalculate
  *                             them on demand from the datavalues. (useful if
  *                             calculating the hash-values takes less time than
index 2bf684a..dc875fd 100644 (file)
@@ -110,7 +110,7 @@ static void be_abi_reg_map_set(pmap *map, const arch_register_t* reg,
 }
 
 /**
- * Check if the given register is callee save, ie. will be saved by the callee.
+ * Check if the given register is callee save, i.e. will be saved by the callee.
  */
 static bool arch_register_is_callee_save(
        const arch_env_t      *arch_env,
@@ -122,7 +122,7 @@ static bool arch_register_is_callee_save(
 }
 
 /**
- * Check if the given register is caller save, ie. must be saved by the caller.
+ * Check if the given register is caller save, i.e. must be saved by the caller.
  */
 static bool arch_register_is_caller_save(
        const arch_env_t      *arch_env,
index 44970e4..a71cdc2 100644 (file)
@@ -229,7 +229,7 @@ ir_node *be_new_SubSP(const arch_register_t *sp, ir_node *block,
  *               (negative offset). Note that the offset is independent of the
  *               natural stack direction of the architecture but just specifies
  *               abstract expanding/shrinking of the stack area.
- * @param align  force stack alignment to this power of 2. (ie. specifying 3
+ * @param align  force stack alignment to this power of 2. (i.e. specifying 3
  *               results in a 2^3 = 8byte stack alignment)
  * @return       A new stack pointer increment/decrement node.
  * @note         This node sets a register constraint to the @p sp register on
index 757fe4b..ac7d415 100644 (file)
@@ -73,7 +73,7 @@ bool be_has_only_one_user(ir_node *node);
 
 /**
  * In a scheduled program with registers assigned,
- * checks wether @p node can be moved before @p before without changing program
+ * checks whether @p node can be moved before @p before without changing program
  * semantics.
  *
  * Note: It is allowed to use this function without being in a peephole
index 11319bb..c0e0339 100644 (file)
@@ -645,7 +645,7 @@ static void set_am_attributes(ir_node *node, const ia32_address_mode_t *am)
 }
 
 /**
- * Check, if a given node is a Down-Conv, ie. a integer Conv
+ * Check, if a given node is a Down-Conv, i.e. a integer Conv
  * from a mode with a mode with more bits to a mode with lesser bits.
  * Moreover, we return only true if the node has not more than 1 user.
  *
@@ -1309,7 +1309,7 @@ static ir_node *gen_64bit_shifts(dbg_info *dbgi, ir_node *block,
 }
 
 /**
- * test wether 2 values result in 'x' and '32-x' when interpreted as a shift
+ * Tests whether 2 values result in 'x' and '32-x' when interpreted as a shift
  * value.
  */
 static bool is_complementary_shifts(ir_node *value1, ir_node *value2)
index 15de55d..e8c34c8 100644 (file)
@@ -1193,7 +1193,7 @@ static void emit_sparc_fbfcc(const ir_node *node)
        ir_node *prev  = sched_prev(node);
        if (is_Block(prev)) {
                /* TODO: when the flags come from another block, then we have to do
-                * more complicated tests to see wether the flag producing node is
+                * more complicated tests to see whether the flag producing node is
                 * potentially in front of us (could happen for fallthroughs) */
                panic("TODO: fbfcc flags come from other block");
        }
index 49d0475..0a242e7 100644 (file)
@@ -485,7 +485,7 @@ fbfcc => {
 },
 
 Ba => {
-       # Note: has_delay_slot depends on wether it is a fallthrough or not, so we
+       # Note: has_delay_slot depends on whether it is a fallthrough or not, so we
        # have special code for this in sparc_emitter
        state     => "pinned",
        op_flags  => [ "cfopcode" ],
index 73789bf..83d9f45 100644 (file)
@@ -208,7 +208,7 @@ static bool needs_extension(ir_node *op)
 }
 
 /**
- * Check, if a given node is a Down-Conv, ie. a integer Conv
+ * Check, if a given node is a Down-Conv, i.e. a integer Conv
  * from a mode with a mode with more bits to a mode with lesser bits.
  * Moreover, we return only true if the node has not more than 1 user.
  *
index b1ee09b..4a9419a 100644 (file)
@@ -197,7 +197,7 @@ static inline void edge_change_cnt(ir_node *tgt, ir_edge_kind_t kind, int ofs)
 }
 
 /**
- * Verify the edge list of a node, ie. ensure it's a loop:
+ * Verify the edge list of a node, i.e. ensure it's a loop:
  * head -> e_1 -> ... -> e_n -> head
  */
 static inline void verify_list_head(ir_node *irn, ir_edge_kind_t kind)
index 139c38a..0db0f0a 100644 (file)
@@ -608,7 +608,7 @@ static void write_type_compound(write_env_t *env, ir_type *tp)
        if (is_Class_type(tp)) {
                if (get_class_n_subtypes(tp) > 0 || get_class_n_supertypes(tp) > 0
                    || get_class_type_info(tp) != NULL || get_class_vtable_size(tp) > 0) {
-                       /* sub/superclass export not implemented yet, it's unclear wether
+                       /* sub/superclass export not implemented yet, it's unclear whether
                         * class types will stay in libfirm anyway */
                        panic("can't export class types yet");
                }
index 1ca6527..95a20f0 100644 (file)
@@ -645,7 +645,7 @@ restart:
                                continue;
 
                        /* normalize pncs: we need the true case to jump into the
-                        * common block (ie. conjunctive normal form) */
+                        * common block (i.e. conjunctive normal form) */
                        if (get_Proj_proj(lower_cf) == pn_Cond_false) {
                                if (cpair.cmp_lo == cond_selector) {
                                        ir_node  *cmp   = cpair.cmp_lo;