PIPS
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "linear.h"
#include "genC.h"
#include "text.h"
#include "ri.h"
#include "effects.h"
#include "complexity_ri.h"
#include "database.h"
#include "resources.h"
#include "ri-util.h"
#include "effects-util.h"
#include "pipsdbm.h"
#include "matrice.h"
#include "properties.h"
#include "misc.h"
#include "callgraph.h"
#include "prettyprint.h"
#include "text-util.h"
#include "top-level.h"
#include "complexity.h"
#include "pips-libs.h"
Go to the source code of this file.
Functions | |
static text | text_complexity (_UNUSED_ entity module, _UNUSED_ int margin, statement stat) |
static text | text_summary_complexity (entity module) |
static text | get_text_complexities (const string module_name) |
static bool | print_code_or_source_comp (const string module_name) |
bool | print_code_complexities (const string module_name) |
comp_prettyprint.c More... | |
bool | print_code_as_a_graph_complexities (const string mod_name) |
bool | print_source_complexities (const string module_name) |
bool | print_call_graph_with_complexities (const string module_name) |
Variables | |
static bool | is_user_view |
useful More... | |
static hash_table | nts = hash_table_undefined |
print_code_complexities or print_source_complexities More... | |
FI: different kind of complexities should later be made available. Instead of the module intrinsic complexity, it would be interesting to have its contextual complexity. The same is true for the icfg
Definition at line 161 of file comp_prettyprint.c.
References module, module_name(), module_name_to_entity(), and text_summary_complexity().
Referenced by print_call_graph_with_complexities().
module_name | odule_name |
Definition at line 254 of file comp_prettyprint.c.
References get_text_complexities(), module_name(), and print_decorated_call_graph().
mod_name | od_name |
Definition at line 234 of file comp_prettyprint.c.
References print_code_complexities(), and set_bool_property().
module_name | odule_name |
Definition at line 228 of file comp_prettyprint.c.
References is_user_view, module_name(), and print_code_or_source_comp().
Referenced by print_code_as_a_graph_complexities().
Definition at line 172 of file comp_prettyprint.c.
References allocate_number_to_statement(), build_number_to_statement(), close_prettyprint(), concatenate(), db_get_memory_resource(), free(), get_bool_property(), get_current_module_entity(), get_current_module_statement(), hash_table_free(), hash_table_undefined, init_prettyprint(), is_user_view, make_text(), make_text_resource_and_free(), MERGE_TEXTS, mod_stat, module_name(), module_name_to_entity(), NIL, nts, reset_complexity_map(), reset_current_module_entity(), reset_current_module_statement(), resource_name, set_complexity_map(), set_current_module_entity(), set_current_module_statement(), statement_undefined, strdup(), text_complexity(), text_module(), and text_summary_complexity().
Referenced by print_code_complexities(), and print_source_complexities().
module_name | odule_name |
Definition at line 245 of file comp_prettyprint.c.
References is_user_view, module_name(), and print_code_or_source_comp().
Definition at line 63 of file comp_prettyprint.c.
References ADD_SENTENCE_TO_TEXT, apply_number_to_statement(), asprintf, CHAIN_SWORD, complexity_check_and_warn(), complexity_sprint(), complexity_undefined, fprintf(), get_bool_property(), get_comment_sentinel(), get_int_property(), HASH_UNDEFINED_VALUE, instruction_tag, is_instruction_call, is_instruction_expression, is_instruction_forloop, is_instruction_goto, is_instruction_loop, is_instruction_multitest, is_instruction_sequence, is_instruction_test, is_instruction_unstructured, is_instruction_whileloop, is_sentence_formatted, is_user_view, load_statement_complexity(), make_sentence(), make_text(), module_local_name(), NIL, nts, ORDERING_NUMBER, ORDERING_STATEMENT, pips_internal_error, PRINT_LOCAL_NAMES, statement_call_p(), statement_instruction, statement_label, statement_number, statement_ordering, statement_undefined_p, string_undefined, and words_to_string().
Referenced by print_code_or_source_comp().
Definition at line 138 of file comp_prettyprint.c.
References ADD_SENTENCE_TO_TEXT, asprintf, CHAIN_SWORD, complexity_sprint(), db_get_memory_resource(), fortran_module_p(), is_sentence_formatted, make_sentence(), make_text(), module, module_local_name(), module_name(), NIL, PRINT_LOCAL_NAMES, and words_to_string().
Referenced by get_text_complexities(), and print_code_or_source_comp().
|
static |
useful
useful
useful useful
Definition at line 60 of file comp_prettyprint.c.
Referenced by print_code_complexities(), print_code_or_source_comp(), print_source_complexities(), and text_complexity().
|
static |
print_code_complexities or print_source_complexities
Definition at line 61 of file comp_prettyprint.c.
Referenced by print_code_or_source_comp(), and text_complexity().