projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ia32: prefere != over < or > relation where possible
[libfirm]
/
ir
/
be
/
ia32
/
ia32_common_transform.h
diff --git
a/ir/be/ia32/ia32_common_transform.h
b/ir/be/ia32/ia32_common_transform.h
index
28fd0dd
..
3faf53f
100644
(file)
--- a/
ir/be/ia32/ia32_common_transform.h
+++ b/
ir/be/ia32/ia32_common_transform.h
@@
-27,8
+27,8
@@
#ifndef FIRM_BE_IA32_IA32_COMMON_TRANSFORM_H
#define FIRM_BE_IA32_IA32_COMMON_TRANSFORM_H
#ifndef FIRM_BE_IA32_IA32_COMMON_TRANSFORM_H
#define FIRM_BE_IA32_IA32_COMMON_TRANSFORM_H
+#include "firm_types.h"
#include "bearch_ia32_t.h"
#include "bearch_ia32_t.h"
-#include "height.h"
/**
* An assembler constraint.
/**
* An assembler constraint.
@@
-43,8
+43,8
@@
struct constraint_t {
int same_as;
};
int same_as;
};
-extern i
a32_code_gen_t *env_cg
;
-extern
heights_t *heights
;
+extern i
r_heights_t *ia32_heights
;
+extern
int ia32_no_pic_adjust
;
/**
* Get an atomic entity that is initialized with a tarval forming
/**
* Get an atomic entity that is initialized with a tarval forming
@@
-52,7
+52,7
@@
extern heights_t *heights;
*
* @param cnst the node representing the constant
*/
*
* @param cnst the node representing the constant
*/
-ir_entity *create_float_const_entity(ir_node *cnst);
+ir_entity *
ia32_
create_float_const_entity(ir_node *cnst);
/**
* Creates an immediate.
/**
* Creates an immediate.
@@
-61,7
+61,7
@@
ir_entity *create_float_const_entity(ir_node *cnst);
* @param symconst_sign sign for the symconst
* @param val integer value for the immediate
*/
* @param symconst_sign sign for the symconst
* @param val integer value for the immediate
*/
-ir_node *create_Immediate(ir_entity *symconst, int symconst_sign, long val);
+ir_node *
ia32_
create_Immediate(ir_entity *symconst, int symconst_sign, long val);
/**
* returns register by name (used for determining clobber specifications in
/**
* returns register by name (used for determining clobber specifications in
@@
-69,13
+69,6
@@
ir_node *create_Immediate(ir_entity *symconst, int symconst_sign, long val);
*/
const arch_register_t *ia32_get_clobber_register(const char *clobber);
*/
const arch_register_t *ia32_get_clobber_register(const char *clobber);
-#ifndef NDEBUG
-/**
- * Prints the old node name on cg obst and returns a pointer to it.
- */
-const char *ia32_get_old_node_name(ia32_code_gen_t *cg, ir_node *irn);
-#endif /* NDEBUG */
-
/**
* Return true if a mode can be stored in the GP register set.
*/
/**
* Return true if a mode can be stored in the GP register set.
*/
@@
-84,38
+77,38
@@
int ia32_mode_needs_gp_reg(ir_mode *mode);
/**
* generates code for a ASM node
*/
/**
* generates code for a ASM node
*/
-ir_node *gen_ASM(ir_node *node);
+ir_node *
ia32_
gen_ASM(ir_node *node);
/**
* Transforms a CopyB node.
*
* @return The transformed node.
*/
/**
* Transforms a CopyB node.
*
* @return The transformed node.
*/
-ir_node *gen_CopyB(ir_node *node);
+ir_node *
ia32_
gen_CopyB(ir_node *node);
/**
* Transform the Thread Local Storage Proj.
*/
/**
* Transform the Thread Local Storage Proj.
*/
-ir_node *gen_Proj_tls(ir_node *node);
+ir_node *
ia32_
gen_Proj_tls(ir_node *node);
/**
* This function just sets the register for the Unknown node
* as this is not done during register allocation because Unknown
* is an "ignore" node.
*/
/**
* This function just sets the register for the Unknown node
* as this is not done during register allocation because Unknown
* is an "ignore" node.
*/
-ir_node *gen_Unknown(ir_node *node);
+ir_node *
ia32_
gen_Unknown(ir_node *node);
-const arch_register_req_t *make_register_req(const constraint_t *constraint,
+const arch_register_req_t *
ia32_
make_register_req(const constraint_t *constraint,
int n_outs, const arch_register_req_t **out_reqs, int pos);
int n_outs, const arch_register_req_t **out_reqs, int pos);
-const arch_register_req_t *parse_clobber(const char *clobber);
+const arch_register_req_t *
ia32_
parse_clobber(const char *clobber);
/**
* Checks whether other node inputs depend on the am_candidate (via mem-proj).
*/
/**
* Checks whether other node inputs depend on the am_candidate (via mem-proj).
*/
-int prevents_AM(ir_node *const block, ir_node *const am_candidate,
+int
ia32_
prevents_AM(ir_node *const block, ir_node *const am_candidate,
ir_node *const other);
ir_node *const other);
-ir_node *try_create_Immediate(ir_node *node, char immediate_constraint_type);
+ir_node *
ia32_
try_create_Immediate(ir_node *node, char immediate_constraint_type);
-#endif
/* FIRM_BE_IA32_IA32_COMMON_TRANSFORM_H */
+#endif