projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4862eaa
)
Fixed some typos.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Mon, 3 Dec 2012 07:29:42 +0000
(08:29 +0100)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Mon, 3 Dec 2012 07:32:47 +0000
(08:32 +0100)
14 files changed:
include/libfirm/adt/pqueue.h
patch
|
blob
|
history
include/libfirm/irmode.h
patch
|
blob
|
history
include/libfirm/tv.h
patch
|
blob
|
history
ir/adt/hashset.c.inl
patch
|
blob
|
history
ir/be/beabi.c
patch
|
blob
|
history
ir/be/benode.h
patch
|
blob
|
history
ir/be/bepeephole.h
patch
|
blob
|
history
ir/be/ia32/ia32_transform.c
patch
|
blob
|
history
ir/be/sparc/sparc_emitter.c
patch
|
blob
|
history
ir/be/sparc/sparc_spec.pl
patch
|
blob
|
history
ir/be/sparc/sparc_transform.c
patch
|
blob
|
history
ir/ir/iredges.c
patch
|
blob
|
history
ir/ir/irio.c
patch
|
blob
|
history
ir/opt/boolopt.c
patch
|
blob
|
history
diff --git
a/include/libfirm/adt/pqueue.h
b/include/libfirm/adt/pqueue.h
index
35e585a
..
1647845
100644
(file)
--- a/
include/libfirm/adt/pqueue.h
+++ b/
include/libfirm/adt/pqueue.h
@@
-61,7
+61,7
@@
FIRM_API void del_pqueue(pqueue_t *q);
FIRM_API void pqueue_put(pqueue_t *q, void *data, int priority);
/**
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.
*/
* @param q The priority queue.
* @return The first element of the queue. Asserts if queue is empty.
*/
diff --git
a/include/libfirm/irmode.h
b/include/libfirm/irmode.h
index
b22e347
..
480982d
100644
(file)
--- a/
include/libfirm/irmode.h
+++ b/
include/libfirm/irmode.h
@@
-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
* 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 w
h
ether 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);
* (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
/**
* 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);
* no conversion is done)
*/
FIRM_API int is_reinterpret_cast(const ir_mode *src, const ir_mode *dst);
diff --git
a/include/libfirm/tv.h
b/include/libfirm/tv.h
index
f546447
..
9db898d
100644
(file)
--- a/
include/libfirm/tv.h
+++ b/
include/libfirm/tv.h
@@
-271,7
+271,7
@@
FIRM_API int tarval_is_minus_one(ir_tarval *tv);
FIRM_API int tarval_is_all_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);
* a reserved tarval like bad, undef, reachable etc.)
*/
FIRM_API int tarval_is_constant(ir_tarval *tv);
diff --git
a/ir/adt/hashset.c.inl
b/ir/adt/hashset.c.inl
index
0e7ce35
..
06f4312
100644
(file)
--- a/
ir/adt/hashset.c.inl
+++ b/
ir/adt/hashset.c.inl
@@
-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>
* 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 w
h
ether 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
* <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
diff --git
a/ir/be/beabi.c
b/ir/be/beabi.c
index
2bf684a
..
dc875fd
100644
(file)
--- a/
ir/be/beabi.c
+++ b/
ir/be/beabi.c
@@
-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,
*/
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,
*/
static bool arch_register_is_caller_save(
const arch_env_t *arch_env,
diff --git
a/ir/be/benode.h
b/ir/be/benode.h
index
44970e4
..
a71cdc2
100644
(file)
--- a/
ir/be/benode.h
+++ b/
ir/be/benode.h
@@
-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.
* (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
* 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
diff --git
a/ir/be/bepeephole.h
b/ir/be/bepeephole.h
index
757fe4b
..
ac7d415
100644
(file)
--- a/
ir/be/bepeephole.h
+++ b/
ir/be/bepeephole.h
@@
-73,7
+73,7
@@
bool be_has_only_one_user(ir_node *node);
/**
* In a scheduled program with registers assigned,
/**
* In a scheduled program with registers assigned,
- * checks wether @p node can be moved before @p before without changing program
+ * checks w
h
ether @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
* semantics.
*
* Note: It is allowed to use this function without being in a peephole
diff --git
a/ir/be/ia32/ia32_transform.c
b/ir/be/ia32/ia32_transform.c
index
11319bb
..
c0e0339
100644
(file)
--- a/
ir/be/ia32/ia32_transform.c
+++ b/
ir/be/ia32/ia32_transform.c
@@
-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.
*
* 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 w
ether 2 values result in 'x' and '32-x' when interpreted as a shift
+ *
Tests wh
ether 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)
* value.
*/
static bool is_complementary_shifts(ir_node *value1, ir_node *value2)
diff --git
a/ir/be/sparc/sparc_emitter.c
b/ir/be/sparc/sparc_emitter.c
index
15de55d
..
e8c34c8
100644
(file)
--- a/
ir/be/sparc/sparc_emitter.c
+++ b/
ir/be/sparc/sparc_emitter.c
@@
-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
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 w
h
ether the flag producing node is
* potentially in front of us (could happen for fallthroughs) */
panic("TODO: fbfcc flags come from other block");
}
* potentially in front of us (could happen for fallthroughs) */
panic("TODO: fbfcc flags come from other block");
}
diff --git
a/ir/be/sparc/sparc_spec.pl
b/ir/be/sparc/sparc_spec.pl
index
49d0475
..
0a242e7
100644
(file)
--- a/
ir/be/sparc/sparc_spec.pl
+++ b/
ir/be/sparc/sparc_spec.pl
@@
-485,7
+485,7
@@
fbfcc => {
},
Ba => {
},
Ba => {
- # Note: has_delay_slot depends on wether it is a fallthrough or not, so we
+ # Note: has_delay_slot depends on w
h
ether it is a fallthrough or not, so we
# have special code for this in sparc_emitter
state => "pinned",
op_flags => [ "cfopcode" ],
# have special code for this in sparc_emitter
state => "pinned",
op_flags => [ "cfopcode" ],
diff --git
a/ir/be/sparc/sparc_transform.c
b/ir/be/sparc/sparc_transform.c
index
73789bf
..
83d9f45
100644
(file)
--- a/
ir/be/sparc/sparc_transform.c
+++ b/
ir/be/sparc/sparc_transform.c
@@
-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.
*
* 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.
*
diff --git
a/ir/ir/iredges.c
b/ir/ir/iredges.c
index
b1ee09b
..
4a9419a
100644
(file)
--- a/
ir/ir/iredges.c
+++ b/
ir/ir/iredges.c
@@
-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)
* head -> e_1 -> ... -> e_n -> head
*/
static inline void verify_list_head(ir_node *irn, ir_edge_kind_t kind)
diff --git
a/ir/ir/irio.c
b/ir/ir/irio.c
index
139c38a
..
0db0f0a
100644
(file)
--- a/
ir/ir/irio.c
+++ b/
ir/ir/irio.c
@@
-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) {
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 w
h
ether
* class types will stay in libfirm anyway */
panic("can't export class types yet");
}
* class types will stay in libfirm anyway */
panic("can't export class types yet");
}
diff --git
a/ir/opt/boolopt.c
b/ir/opt/boolopt.c
index
1ca6527
..
95a20f0
100644
(file)
--- a/
ir/opt/boolopt.c
+++ b/
ir/opt/boolopt.c
@@
-645,7
+645,7
@@
restart:
continue;
/* normalize pncs: we need the true case to jump into the
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;
if (get_Proj_proj(lower_cf) == pn_Cond_false) {
if (cpair.cmp_lo == cond_selector) {
ir_node *cmp = cpair.cmp_lo;