PIPS
|
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "linear.h"
#include "genC.h"
#include "misc.h"
#include "ri.h"
#include "text.h"
#include "ri-util.h"
Go to the source code of this file.
Functions | |
bool | same_expression_name_p (expression, expression) |
compare two entities for their appearance point of view. More... | |
bool | same_lexpr_name_p (list l1, list l2) |
same_names.c More... | |
bool | same_entity_lname_p (entity e1, entity e2) |
bool | same_call_name_p (call c1, call c2) |
bool | same_ref_name_p (reference r1, reference r2) |
bool | same_range_name_p (range r1, range r2) |
bool | same_sizeofexpression_name_p (sizeofexpression s0, sizeofexpression s1) |
bool | same_subscript_name_p (subscript ss1, subscript ss2) |
bool | same_cast_name_p (cast cs1, cast cs2) |
bool | same_application_name_p (application a1, application a2) |
bool | same_va_arg_name_p (list l1, list l2) |
bool | same_syntax_name_p (syntax s1, syntax s2) |
bool same_application_name_p | ( | application | a1, |
application | a2 | ||
) |
a1 | 1 |
a2 | 2 |
Definition at line 109 of file same_names.c.
References application_arguments, application_function, same_expression_name_p(), and same_lexpr_name_p().
Referenced by same_syntax_name_p().
c1 | 1 |
c2 | 2 |
Definition at line 69 of file same_names.c.
References call_arguments, call_function, same_entity_lname_p(), and same_lexpr_name_p().
Referenced by same_syntax_name_p().
cs1 | s1 |
cs2 | s2 |
Definition at line 103 of file same_names.c.
References cast_expression, cast_type, same_expression_name_p(), and same_type_name_p().
Referenced by same_syntax_name_p().
e1 | 1 |
e2 | 2 |
Definition at line 64 of file same_names.c.
References entity_local_name(), and same_string_p.
Referenced by inline_should_inline(), outline_remove_duplicates(), same_call_name_p(), same_ref_name_p(), simd_replace_parameters(), and UseFormalArguments().
bool same_expression_name_p | ( | expression | e1, |
expression | e2 | ||
) |
compare two entities for their appearance point of view.
used for putting common in includes.
e1 | 1 |
e2 | 2 |
Definition at line 159 of file same_names.c.
References expression_syntax, and same_syntax_name_p().
Referenced by same_application_name_p(), same_cast_name_p(), same_lexpr_name_p(), same_range_name_p(), same_sizeofexpression_name_p(), and same_subscript_name_p().
else
l1 | 1 |
l2 | 2 |
Definition at line 53 of file same_names.c.
References CAR, EXPRESSION, gen_length(), POP, and same_expression_name_p().
Referenced by same_application_name_p(), same_call_name_p(), same_ref_name_p(), and same_subscript_name_p().
r1 | 1 |
r2 | 2 |
Definition at line 81 of file same_names.c.
References range_increment, range_lower, range_upper, and same_expression_name_p().
Referenced by same_syntax_name_p().
r1 | 1 |
r2 | 2 |
Definition at line 75 of file same_names.c.
References reference_indices, reference_variable, same_entity_lname_p(), and same_lexpr_name_p().
Referenced by get_complement_expression(), and same_syntax_name_p().
bool same_sizeofexpression_name_p | ( | sizeofexpression | s0, |
sizeofexpression | s1 | ||
) |
s0 | 0 |
s1 | 1 |
Definition at line 88 of file same_names.c.
References s1, same_expression_name_p(), same_type_name_p(), sizeofexpression_expression, sizeofexpression_expression_p, sizeofexpression_type, and sizeofexpression_type_p.
Referenced by same_syntax_name_p(), and same_va_arg_name_p().
ss1 | s1 |
ss2 | s2 |
Definition at line 97 of file same_names.c.
References same_expression_name_p(), same_lexpr_name_p(), subscript_array, and subscript_indices.
Referenced by same_syntax_name_p().
else
s1 | 1 |
s2 | 2 |
Definition at line 130 of file same_names.c.
References is_syntax_application, is_syntax_call, is_syntax_cast, is_syntax_range, is_syntax_reference, is_syntax_sizeofexpression, is_syntax_subscript, is_syntax_va_arg, pips_internal_error, s1, same_application_name_p(), same_call_name_p(), same_cast_name_p(), same_range_name_p(), same_ref_name_p(), same_sizeofexpression_name_p(), same_subscript_name_p(), same_va_arg_name_p(), syntax_application, syntax_call, syntax_cast, syntax_range, syntax_reference, syntax_sizeofexpression, syntax_subscript, syntax_tag, and syntax_va_arg.
Referenced by same_expression_name_p().
l1 | 1 |
l2 | 2 |
Definition at line 115 of file same_names.c.
References CAR, gen_length(), POP, s1, same_sizeofexpression_name_p(), and SIZEOFEXPRESSION.
Referenced by same_syntax_name_p().