projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename type entity into ir_entity
[libfirm]
/
ir
/
ana
/
analyze_irg_args.c
diff --git
a/ir/ana/analyze_irg_args.c
b/ir/ana/analyze_irg_args.c
index
7be1f34
..
bfed9de
100644
(file)
--- a/
ir/ana/analyze_irg_args.c
+++ b/
ir/ana/analyze_irg_args.c
@@
-83,7
+83,7
@@
static unsigned analyze_arg(ir_node *arg, unsigned bits)
}
else {
ir_op *op = get_irn_op(ptr);
}
else {
ir_op *op = get_irn_op(ptr);
- entity *meth_ent;
+
ir_
entity *meth_ent;
if (op == op_SymConst && get_SymConst_kind(ptr) == symconst_addr_ent) {
meth_ent = get_SymConst_entity(ptr);
if (op == op_SymConst && get_SymConst_kind(ptr) == symconst_addr_ent) {
meth_ent = get_SymConst_entity(ptr);
@@
-182,7
+182,7
@@
static unsigned analyze_arg(ir_node *arg, unsigned bits)
*
* @param irg The ir graph to analyze.
*/
*
* @param irg The ir graph to analyze.
*/
-static void analyze_ent_args(entity *ent)
+static void analyze_ent_args(
ir_
entity *ent)
{
ir_graph *irg;
ir_node *irg_args, *arg;
{
ir_graph *irg;
ir_node *irg_args, *arg;
@@
-268,7
+268,7
@@
static void analyze_ent_args(entity *ent)
*/
void analyze_irg_args(ir_graph *irg)
{
*/
void analyze_irg_args(ir_graph *irg)
{
- entity *ent;
+
ir_
entity *ent;
if (irg == get_const_code_irg())
return;
if (irg == get_const_code_irg())
return;
@@
-285,7
+285,7
@@
void analyze_irg_args(ir_graph *irg)
* Compute for a method with pointer parameter(s)
* if they will be read or written.
*/
* Compute for a method with pointer parameter(s)
* if they will be read or written.
*/
-ptr_access_kind get_method_param_access(entity *ent, int pos)
+ptr_access_kind get_method_param_access(
ir_
entity *ent, int pos)
{
ir_type *mtp = get_entity_type(ent);
int is_variadic = get_method_variadicity(mtp) == variadicity_variadic;
{
ir_type *mtp = get_entity_type(ent);
int is_variadic = get_method_variadicity(mtp) == variadicity_variadic;
@@
-389,7
+389,7
@@
static float calc_method_param_weight(ir_node *arg)
*
* @param ent The entity of the ir_graph.
*/
*
* @param ent The entity of the ir_graph.
*/
-static void analyze_method_params_weight(entity *ent)
+static void analyze_method_params_weight(
ir_
entity *ent)
{
ir_type *mtp;
ir_graph *irg;
{
ir_type *mtp;
ir_graph *irg;
@@
-441,7
+441,7
@@
static void analyze_method_params_weight(entity *ent)
* Compute for a method with pointer parameter(s)
* if they will be read or written.
*/
* Compute for a method with pointer parameter(s)
* if they will be read or written.
*/
-float get_method_param_weight(entity *ent, int pos)
+float get_method_param_weight(
ir_
entity *ent, int pos)
{
ir_type *mtp = get_entity_type(ent);
int is_variadic = get_method_variadicity(mtp) == variadicity_variadic;
{
ir_type *mtp = get_entity_type(ent);
int is_variadic = get_method_variadicity(mtp) == variadicity_variadic;
@@
-472,7
+472,7
@@
float get_method_param_weight(entity *ent, int pos)
*/
void analyze_irg_args_weight(ir_graph *irg)
{
*/
void analyze_irg_args_weight(ir_graph *irg)
{
- entity *ent;
+
ir_
entity *ent;
ent = get_irg_entity(irg);
if (! ent)
ent = get_irg_entity(irg);
if (! ent)