|
libFirm 1.20
|
read/write analyze of graph argument, which have mode reference More...
#include "irgraph.h"#include "firm_types.h"#include "typerep.h"#include "begin.h"#include "end.h"Go to the source code of this file.
Functions | |
| ptr_access_kind | get_method_param_access (ir_entity *ent, size_t pos) |
| Returns for a method with pointer parameter if they will be read or written. | |
| void | analyze_irg_args (ir_graph *irg) |
| Analyze how pointer arguments of a given ir graph are accessed. | |
| unsigned | get_method_param_weight (ir_entity *ent, size_t pos) |
| Returns for a method the 'weight' that every parameter has on optimization possibility. | |
| void | analyze_irg_args_weight (ir_graph *irg) |
| Analyze the parameters of a given ir graph. | |
read/write analyze of graph argument, which have mode reference
Definition in file analyze_irg_args.h.
| void analyze_irg_args | ( | ir_graph * | irg | ) |
Analyze how pointer arguments of a given ir graph are accessed.
| irg | The ir graph to analyze. |
| void analyze_irg_args_weight | ( | ir_graph * | irg | ) |
Analyze the parameters of a given ir graph.
| irg | The ir graph to analyze. |
| ptr_access_kind get_method_param_access | ( | ir_entity * | ent, |
| size_t | pos | ||
| ) |
Returns for a method with pointer parameter if they will be read or written.
| ent | The entity that represent this method. |
| pos | The position of method's parameter for that we need information. |
If the pos'th parameter is NOT of a pointer type, ptr_access_none is returned;
| unsigned get_method_param_weight | ( | ir_entity * | ent, |
| size_t | pos | ||
| ) |
Returns for a method the 'weight' that every parameter has on optimization possibility.
Higher values allows higher optimization with procedure cloning.
The values are calculation on demand only.