PIPS
|
#include <stdio.h>
#include "genC.h"
#include "misc.h"
#include "linear.h"
#include "ri.h"
#include "effects.h"
#include "text-util.h"
#include "ri-util.h"
#include "prettyprint.h"
#include "effects-util.h"
#include "semantics.h"
#include "properties.h"
Go to the source code of this file.
Functions | |
int | call_site_count (entity m) |
low level routines which should be added to other packages More... | |
int | caller_count (entity m) |
int | dynamic_call_count (entity m) |
static void | semantics_user_warning_alist (const char *func_name, const char *format, va_list *args) |
Some other warnings include the pass name. More... | |
void | semantics_user_warning_func (const char *func_name, const char *format,...) |
void | semantics_user_warning_func2 (const char *format,...) |
low level routines which should be added to other packages
cproto-generated files
Francois Irigoin, April 1990
Modifications:
number of "call to m" sites within the current program; they are all in m's CALLERS
I do not know yet; let's return 1 to please the semantic analysis
Definition at line 51 of file misc.c.
References entity_initial, pips_assert, user_warning, and value_code_p.
number of modules calling m within the current program; i.e. number of modules containing at least one call site to m
I do not know yet; let's return 1 to please the semantic analysis
Definition at line 63 of file misc.c.
References entity_initial, pips_assert, user_warning, and value_code_p.
number of call to m during the current program execution; return 0 if m is never called, either because it's a call graph root or because it was linked by mistake; return -1 if the dynamic call count is unknow, for instance because one of m's call site is located in a loop of unknown bounds; return k when it can be evaluated
I do not know yet; let's return 1 to please the semantic analysis
Definition at line 75 of file misc.c.
References entity_initial, pips_assert, pips_internal_error, and value_code_p.
|
static |
Some other warnings include the pass name.
Definition at line 93 of file misc.c.
References free(), get_bool_property(), get_current_module_name(), get_current_statement_from_statement_global_stack(), get_pips_current_module(), get_pips_current_pass_name(), pips_log_alist(), proper_statement_to_string(), statement_number, statement_undefined_p, and warning_log.
Referenced by semantics_user_warning_func(), and semantics_user_warning_func2().
void semantics_user_warning_func | ( | const char * | func_name, |
const char * | format, | ||
... | |||
) |
func_name | unc_name |
format | ormat |
Definition at line 118 of file misc.c.
References semantics_user_warning_alist().
void semantics_user_warning_func2 | ( | const char * | format, |
... | |||
) |
format | ormat |
Definition at line 129 of file misc.c.
References pips_unknown_function, and semantics_user_warning_alist().