19 #ifndef FIRM_ANA_CGANA_H
20 #define FIRM_ANA_CGANA_H
24 #include "firm_types.h"
int cg_call_has_callees(const ir_node *node)
Sets, get and remove the callee information for a Call node.
struct ir_graph ir_graph
Procedure Graph.
void cg_set_call_callee_arr(ir_node *node, size_t n, ir_entity **arr)
Sets the full callee array.
void opt_call_addrs(void)
Optimizes the address expressions passed to call nodes.
void cg_remove_call_callee_arr(ir_node *node)
Frees callee array of call node node.
void free_callee_info(ir_graph *irg)
Frees callee information.
struct ir_entity ir_entity
Entity.
void free_irp_callee_info(void)
Frees callee information for all graphs in the current program.
size_t cg_get_call_n_callees(const ir_node *node)
Returns the number of callees of Call node node.
ir_entity * cg_get_call_callee(const ir_node *node, size_t pos)
Returns callee number pos of Call node node.
struct ir_node ir_node
Procedure Graph Node.
size_t cgana(ir_entity ***free_methods)
Analyses a rough estimation of the possible call graph.