PIPS
|
Go to the source code of this file.
Functions | |
void | gfc2pips_push_comment (locus l, unsigned long num, char s) |
bool | gfc2pips_check_already_done (locus l) |
unsigned long | gfc2pips_get_num_of_gfc_code (gfc_code *c) |
string | gfc2pips_get_comment_of_code (gfc_code *c) |
gfc2pips_comments | gfc2pips_pop_comment (void) |
void | gfc2pips_set_last_comments_done (unsigned long nb) |
void | gfc2pips_assign_num_to_last_comments (unsigned long nb) |
void | gfc2pips_assign_gfc_code_to_last_comments (gfc_code *c) |
void | gfc2pips_replace_comments_num (unsigned long old, unsigned long new) |
void | gfc2pips_assign_gfc_code_to_num_comments (gfc_code *c, unsigned long num) |
bool | gfc2pips_comment_num_exists (unsigned long num) |
void | gfc2pips_pop_not_done_comments (void) |
void | gfc2pips_shift_comments (void) |
We assign a gfc_code depending to a list of comments if any depending on the number of the statement. More... | |
void | gfc2pips_push_last_code (gfc_code *c) |
void gfc2pips_assign_gfc_code_to_last_comments | ( | gfc_code * | c | ) |
Definition at line 165 of file gfc2pips-comments.c.
References _gfc2pips_comments_::done, _gfc2pips_comments_::gfc, gfc2pips_comments_stack_, _gfc2pips_comments_::next, and _gfc2pips_comments_::num.
void gfc2pips_assign_gfc_code_to_num_comments | ( | gfc_code * | c, |
unsigned long | num | ||
) |
Definition at line 196 of file gfc2pips-comments.c.
References _gfc2pips_comments_::gfc, gfc2pips_comments_stack_, _gfc2pips_comments_::next, num, and _gfc2pips_comments_::num.
Referenced by gfc2pips_code2instruction__TOP().
void gfc2pips_assign_num_to_last_comments | ( | unsigned long | nb | ) |
Definition at line 156 of file gfc2pips-comments.c.
References _gfc2pips_comments_::done, gfc2pips_comments_stack, _gfc2pips_comments_::num, and _gfc2pips_comments_::prev.
bool gfc2pips_check_already_done | ( | locus | l | ) |
Definition at line 68 of file gfc2pips-comments.c.
References gfc2pips_comments_stack, _gfc2pips_comments_::l, and _gfc2pips_comments_::prev.
Referenced by gfc2pips_push_comment().
bool gfc2pips_comment_num_exists | ( | unsigned long | num | ) |
Definition at line 204 of file gfc2pips-comments.c.
References gfc2pips_comments_stack, num, _gfc2pips_comments_::num, and _gfc2pips_comments_::prev.
string gfc2pips_get_comment_of_code | ( | gfc_code * | c | ) |
Definition at line 93 of file gfc2pips-comments.c.
References empty_comments, free(), _gfc2pips_comments_::gfc, gfc2pips_comments_stack_, malloc(), _gfc2pips_comments_::next, and _gfc2pips_comments_::s.
Referenced by gfc2pips_code2instruction(), and gfc2pips_code2instruction__TOP().
unsigned long gfc2pips_get_num_of_gfc_code | ( | gfc_code * | c | ) |
Definition at line 79 of file gfc2pips-comments.c.
References _gfc2pips_comments_::gfc, gfc2pips_comments_stack_, and _gfc2pips_comments_::next.
Referenced by gfc2pips_code2instruction__TOP().
gfc2pips_comments gfc2pips_pop_comment | ( | void | ) |
Definition at line 128 of file gfc2pips-comments.c.
References gfc2pips_comments_stack, gfc2pips_comments_stack_, _gfc2pips_comments_::next, and _gfc2pips_comments_::prev.
Referenced by gfc2pips_pop_not_done_comments().
void gfc2pips_pop_not_done_comments | ( | void | ) |
Definition at line 215 of file gfc2pips-comments.c.
References _gfc2pips_comments_::done, gfc2pips_comments_stack, and gfc2pips_pop_comment().
void gfc2pips_push_comment | ( | locus | l, |
unsigned long | num, | ||
char | s | ||
) |
Definition at line 37 of file gfc2pips-comments.c.
References _gfc2pips_comments_::done, _gfc2pips_comments_::gfc, gfc2pips_check_already_done(), gfc2pips_comments_stack, gfc2pips_comments_stack_, gfc2pips_gfc_char_t2string2(), _gfc2pips_comments_::l, malloc(), _gfc2pips_comments_::next, num, _gfc2pips_comments_::num, _gfc2pips_comments_::prev, printf(), _gfc2pips_comments_::s, and strrcpy().
void gfc2pips_push_last_code | ( | gfc_code * | c | ) |
Definition at line 242 of file gfc2pips-comments.c.
References gen_cons(), and gfc2pips_list_of_declared_code.
void gfc2pips_replace_comments_num | ( | unsigned long | old, |
unsigned long | new | ||
) |
Definition at line 182 of file gfc2pips-comments.c.
References gfc2pips_comments_stack, _gfc2pips_comments_::num, and _gfc2pips_comments_::prev.
Referenced by gfc2pips_code2instruction__TOP().
void gfc2pips_set_last_comments_done | ( | unsigned long | nb | ) |
Definition at line 145 of file gfc2pips-comments.c.
References _gfc2pips_comments_::done, gfc2pips_comments_stack, _gfc2pips_comments_::num, and _gfc2pips_comments_::prev.
void gfc2pips_shift_comments | ( | void | ) |
We assign a gfc_code depending to a list of comments if any depending on the number of the statement.
Definition at line 225 of file gfc2pips-comments.c.
References cons::car, gen_chunk::e, gen_nreverse(), gen_nthcdr(), _gfc2pips_comments_::gfc, gfc2pips_comments_stack, gfc2pips_list_of_declared_code, _gfc2pips_comments_::num, and _gfc2pips_comments_::prev.
Referenced by gfc2pips_namespace().