X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_common_transform.h;h=94a49a238b51044b9fa5c2d334df709dc1d89193;hb=276f180771de9545d65fcb973d145c980f37613a;hp=7f4d47cbc52095300c884cc813b49c05d8e55b25;hpb=86698cdbe5ac4bb3aea1722631fe767a3d766644;p=libfirm diff --git a/ir/be/ia32/ia32_common_transform.h b/ir/be/ia32/ia32_common_transform.h index 7f4d47cbc..94a49a238 100644 --- a/ir/be/ia32/ia32_common_transform.h +++ b/ir/be/ia32/ia32_common_transform.h @@ -45,6 +45,7 @@ struct constraint_t { extern ia32_code_gen_t *env_cg; extern heights_t *heights; +extern int no_pic_adjust; /** * Get an atomic entity that is initialized with a tarval forming @@ -61,7 +62,7 @@ ir_entity *create_float_const_entity(ir_node *cnst); * @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 @@ -111,4 +112,12 @@ int prevents_AM(ir_node *const block, ir_node *const am_candidate, ir_node *try_create_Immediate(ir_node *node, char immediate_constraint_type); +/** + * creates a unique ident by adding a number to a tag + * + * @param tag the tag string, must contain a %d if a number + * should be added + */ +ident *ia32_unique_id(const char *tag); + #endif /* FIRM_BE_IA32_IA32_COMMON_TRANSFORM_H */