X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firnode.h;h=53d613e4d1806d983b6c9993911bd2e88f1a9c14;hb=b4b6a3c36c9226b69d08a0d78415031d63d0f204;hp=80e9cfa8e6b82a12e94456b2dc5225a7f571f61b;hpb=c32482bc042c9f0591bec432ccb6dfcadbad4cb7;p=libfirm diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h index 80e9cfa8e..53d613e4d 100644 --- a/include/libfirm/irnode.h +++ b/include/libfirm/irnode.h @@ -383,12 +383,6 @@ FIRM_API int is_Const_all_one(const ir_node *node); /** @} */ -/** - * @ingroup Conv - * Returns true if a node is a Conv node with strict attribute set. - */ -FIRM_API int is_strictConv(const ir_node *node); - /** * @addtogroup SymConst * @{ @@ -689,7 +683,9 @@ FIRM_API void set_Tuple_pred(ir_node *node, int pos, ir_node *pred); */ /** Returns the number of input constraints for an ASM node. */ -FIRM_API size_t get_ASM_n_input_constraints(const ir_node *node); +FIRM_API int get_ASM_n_inputs(const ir_node *node); +/** Returns input number @p pos of an ASM node. */ +FIRM_API ir_node *get_ASM_input(const ir_node *node, int pos); /** Returns the number of output constraints for an ASM node. */ FIRM_API size_t get_ASM_n_output_constraints(const ir_node *node); /** Returns the number of clobbered registers for an ASM node. */ @@ -776,36 +772,6 @@ FIRM_API int is_irn_cse_neutral(const ir_node *node); /** Returns the string representation of the jump prediction. */ FIRM_API const char *get_cond_jmp_predicate_name(cond_jmp_predicate pred); -/** - * Access custom node data. - * The data must have been registered with - * register_additional_node_data() before. - * @param node The ir node to get the data from. - * @param type The type of the data you registered. - * @param off The value returned by register_additional_node_data(). - * @return A pointer of type @p type. - */ -#define get_irn_data(node,type,off) \ - (assert(off > 0 && "Invalid node data offset"), (type *) ((char *) (node) - (off))) - -/** - * Returns the pointer to the node some custom data belongs to. - * @param data The pointer to the custom data. - * @param off The number as returned by register_additional_node_data(). - * @return A pointer to the ir node the custom data belongs to. - */ -#define get_irn_data_base(data,off) \ - (assert(off > 0 && "Invalid node data offset"), (ir_node *) ((char *) (data) + (off))) - -/** - * Request additional data to be allocated with an ir node. - * @param size The size of the additional data required. - * @return A positive number, if the operation was successful, which - * must be passed to the access macro get_irn_data(), 0 if the - * registration failed. - */ -FIRM_API unsigned firm_register_additional_node_data(unsigned size); - /** * Returns a pointer to the node attributes. * Used for accessing attributes of user-defined nodes.