Commit 7cf5d1ac authored by sebastian.buchwald1's avatar sebastian.buchwald1
Browse files

Fixed some typos.

parent 4862eaa3
......@@ -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.
*/
......
......@@ -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);
......
......@@ -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);
......
......@@ -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
......
......@@ -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,
......
......@@ -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
......
......@@ -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
......
......@@ -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)
......
......@@ -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");
}
......
......@@ -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" ],
......
......@@ -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.
*
......
......@@ -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)
......
......@@ -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");
}
......
......@@ -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;
......
Markdown is supported
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