PIPS
alias-classes.h File Reference
#include "points_to_private.h"
#include "effects.h"
+ Include dependency graph for alias-classes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SEQUENTIAL_POINTS_TO_SETS_SUFFIX   ".pt"
 Warning! Do not modify this file that is automatically generated! More...
 
#define USER_POINTS_TO_SETS_SUFFIX   ".upt"
 
#define pt_map_undefined   points_to_graph_undefined
 
#define pt_map_undefined_p(pt)   ((pt)==points_to_graph_undefined)
 
#define new_pt_map()   make_points_to_graph(false, set_generic_make(set_private, points_to_equal_p, points_to_rank))
 
#define new_simple_pt_map()   set_generic_make(set_private, points_to_equal_p, points_to_rank)
 
#define assign_pt_map(x, y)   ((void) set_assign(points_to_graph_set(x), points_to_graph_set(y)), (x))
 
#define clear_pt_map(pt)   set_clear(points_to_graph_set(pt))
 
#define free_pt_map(pt)   free_points_to_graph(pt)
 
#define print_pt_map(pt)   print_points_to_set("", points_to_graph_set(pt));
 
#define free_pt_maps   free_points_to_graph_sets
 
#define union_of_pt_maps(pt1, pt2, pt3)
 
#define difference_of_pt_maps(pt1, pt2, pt3)
 
#define empty_pt_map_p(s)   set_empty_p(points_to_graph_set(s))
 
#define consistent_pt_map_p(s)   consistent_points_to_graph_p(s)
 
#define source_in_pt_map_p(cell, set)   source_in_set_p(cell,points_to_graph_set(set))
 
#define add_arc_to_pt_map(a, s)   (set_add_element((set) points_to_graph_set(s), (set) points_to_graph_set(s), (void *) a), (s))
 
#define add_arc_to_simple_pt_map(a, s)   set_add_element((set) s, (set) s, (void *) a)
 
#define remove_arc_from_pt_map(a, s)   (set_del_element((set) points_to_graph_set(s), (set) points_to_graph_set(s), (void *) a), (s))
 
#define remove_arc_from_simple_pt_map(a, s)   set_del_element((set) s, (set) s, (void *) a)
 

Typedefs

typedef points_to_graph pt_map
 

Functions

bool in_alias_pairs (const string)
 cproto-generated files More...
 
bool out_alias_pairs (const char *)
 top-level creation of pairs of aliases of OUT regions of the module modifies global vars callee, list_regions_callee, list_pairs and current_caller_stmt More...
 
bool alias_lists (const string)
 alias_lists.c More...
 
bool alias_classes (const char *)
 alias_classes.c More...
 
bool print_in_alias_pairs (const char *)
 prettyprint.c More...
 
bool print_out_alias_pairs (const char *)
 
bool print_alias_lists (const char *)
 
bool print_alias_classes (const char *)
 

Macro Definition Documentation

◆ add_arc_to_pt_map

#define add_arc_to_pt_map (   a,
 
)    (set_add_element((set) points_to_graph_set(s), (set) points_to_graph_set(s), (void *) a), (s))

Definition at line 94 of file alias-classes.h.

◆ add_arc_to_simple_pt_map

#define add_arc_to_simple_pt_map (   a,
 
)    set_add_element((set) s, (set) s, (void *) a)

Definition at line 95 of file alias-classes.h.

◆ assign_pt_map

#define assign_pt_map (   x,
 
)    ((void) set_assign(points_to_graph_set(x), points_to_graph_set(y)), (x))

Definition at line 72 of file alias-classes.h.

◆ clear_pt_map

#define clear_pt_map (   pt)    set_clear(points_to_graph_set(pt))

Definition at line 73 of file alias-classes.h.

◆ consistent_pt_map_p

#define consistent_pt_map_p (   s)    consistent_points_to_graph_p(s)

Definition at line 90 of file alias-classes.h.

◆ difference_of_pt_maps

#define difference_of_pt_maps (   pt1,
  pt2,
  pt3 
)
Value:
set set_difference(set, const set, const set)
Definition: set.c:256
#define points_to_graph_set(x)

Definition at line 83 of file alias-classes.h.

◆ empty_pt_map_p

#define empty_pt_map_p (   s)    set_empty_p(points_to_graph_set(s))

Definition at line 88 of file alias-classes.h.

◆ free_pt_map

#define free_pt_map (   pt)    free_points_to_graph(pt)

Definition at line 75 of file alias-classes.h.

◆ free_pt_maps

#define free_pt_maps   free_points_to_graph_sets

Definition at line 78 of file alias-classes.h.

◆ new_pt_map

Definition at line 70 of file alias-classes.h.

◆ new_simple_pt_map

#define new_simple_pt_map ( )    set_generic_make(set_private, points_to_equal_p, points_to_rank)

Definition at line 71 of file alias-classes.h.

◆ print_pt_map

#define print_pt_map (   pt)    print_points_to_set("", points_to_graph_set(pt));

Definition at line 76 of file alias-classes.h.

◆ pt_map_undefined

#define pt_map_undefined   points_to_graph_undefined

Definition at line 68 of file alias-classes.h.

◆ pt_map_undefined_p

#define pt_map_undefined_p (   pt)    ((pt)==points_to_graph_undefined)

Definition at line 69 of file alias-classes.h.

◆ remove_arc_from_pt_map

#define remove_arc_from_pt_map (   a,
 
)    (set_del_element((set) points_to_graph_set(s), (set) points_to_graph_set(s), (void *) a), (s))

Definition at line 98 of file alias-classes.h.

◆ remove_arc_from_simple_pt_map

#define remove_arc_from_simple_pt_map (   a,
 
)    set_del_element((set) s, (set) s, (void *) a)

Definition at line 99 of file alias-classes.h.

◆ SEQUENTIAL_POINTS_TO_SETS_SUFFIX

#define SEQUENTIAL_POINTS_TO_SETS_SUFFIX   ".pt"

Warning! Do not modify this file that is automatically generated!

Modify src/Libs/alias-classes/alias-classes-local.h instead, to add your own modifications. header file built by cproto alias_classes-local.h

Definition at line 34 of file alias-classes.h.

◆ source_in_pt_map_p

#define source_in_pt_map_p (   cell,
  set 
)    source_in_set_p(cell,points_to_graph_set(set))

Definition at line 92 of file alias-classes.h.

◆ union_of_pt_maps

#define union_of_pt_maps (   pt1,
  pt2,
  pt3 
)
Value:
set set_union(set, const set, const set)
Definition: set.c:211

Definition at line 80 of file alias-classes.h.

◆ USER_POINTS_TO_SETS_SUFFIX

#define USER_POINTS_TO_SETS_SUFFIX   ".upt"

Definition at line 35 of file alias-classes.h.

Typedef Documentation

◆ pt_map

Definition at line 67 of file alias-classes.h.

Function Documentation

◆ alias_classes()

bool alias_classes ( const char *  module_name)

alias_classes.c

ATTENTION: we have to do ALL this just to call print_inout_regions for debug !!

and this to call print_region set_action_interpretation(ACTION_IN,ACTION_OUT);

that's it, but we musn't forget to reset everything below

ifdebug(9) { pips_debug(9,"add list:\n"); print_inout_regions(module_alias_list); }

Parameters
module_nameodule_name

Definition at line 514 of file alias_classes.c.

515 {
516  entity module;
517  list module_alias_lists;
518 
519  debug_on("ALIAS_CLASSES_DEBUG_LEVEL");
520  pips_debug(4,"begin for module %s\n",module_name);
521  ifdebug(4)
522  {
523  /* ATTENTION: we have to do ALL this
524  * just to call print_inout_regions for debug !!
525  */
530  db_get_memory_resource(DBR_CODE,
531  module_name,
532  true) );
535  DBR_CUMULATED_EFFECTS,
536  module_name,
537  true));
540  DBR_PROPER_EFFECTS,
541  module_name,
542  true));
544  /* and this to call print_region
545  set_action_interpretation(ACTION_IN,ACTION_OUT); */
546  /* that's it, but we musn't forget to reset everything below */
547  }
548 
549  l_alias_lists = NIL;
551  l_lists = NIL;
552 
553  module_alias_lists =
555  db_get_memory_resource(DBR_ALIAS_LISTS,
556  module_name,
557  true));
558  MAP(EFFECTS,module_alias_list_effects,
559  {
560  list module_alias_list =
561  effects_effects(module_alias_list_effects);
562 
563 /* ifdebug(9)
564  {
565  pips_debug(9,"add list:\n");
566  print_inout_regions(module_alias_list);
567  }
568  */
569  l_alias_lists = CONS(LIST,module_alias_list,l_alias_lists);
570  },module_alias_lists);
571 
572  ifdebug(9)
573  {
574  pips_debug(9,"alias lists:\n");
575  MAP(LIST,alias_list,
576  {
577  print_inout_regions(alias_list);
578  pips_debug(9,"---\n");
579  },
580  l_alias_lists);
581  }
582 
584 
585  ifdebug(9)
586  {
587  pips_debug(9,"new lists:\n");
588  MAP(LIST,alias_list,
589  {
590  print_inout_regions(alias_list);
591  pips_debug(9,"---\n");
592  },
593  l_lists);
594  }
595 
597 
598  ifdebug(9)
599  {
600  pips_debug(9,"classes:\n");
601  MAP(EFFECTS,alias_class,
602  {
603  print_inout_regions(effects_effects(alias_class));
604  },
606  }
607 
608  DB_PUT_MEMORY_RESOURCE(DBR_ALIAS_CLASSES,
611 
612  ifdebug(4)
613  {
619  }
620  pips_debug(4,"end\n");
621  debug_off();
622 
623  return true;
624 }
effects_classes make_effects_classes(list a)
Definition: effects.c:526
static list l_alias_lists
Definition: alias_classes.c:54
static void unite_lists_containing_same_exact_region()
global variables IN: l_lists, l_alias_classes global variables modified:class, l_lists,...
static void unite_lists_with_same_head()
global variables IN: l_alias_lists, l_lists global variables modified: l_alias_lists,...
static list l_alias_classes
Definition: alias_classes.c:54
static list l_lists
Definition: alias_classes.c:55
void print_inout_regions(list)
void reset_proper_rw_effects(void)
void set_proper_rw_effects(statement_effects)
void set_cumulated_rw_effects(statement_effects)
void reset_cumulated_rw_effects(void)
#define EFFECTS(x)
EFFECTS.
Definition: effects.h:682
#define effects_effects(x)
Definition: effects.h:710
#define effects_classes_classes(x)
Definition: effects.h:678
const char * module_name(const char *s)
Return the module part of an entity name.
Definition: entity_names.c:296
#define LIST(x)
Definition: genC.h:93
void reset_current_module_entity(void)
Reset the current module entity.
Definition: static.c:97
void reset_current_module_statement(void)
Reset the current module statement.
Definition: static.c:221
statement set_current_module_statement(statement)
Set the current module statement.
Definition: static.c:165
entity set_current_module_entity(entity)
static.c
Definition: static.c:66
entity get_current_module_entity(void)
Get the entity of the current module.
Definition: static.c:85
#define NIL
The empty list (nil in Lisp)
Definition: newgen_list.h:47
#define CONS(_t_, _i_, _l_)
List element cell constructor (insert an element at the beginning of a list)
Definition: newgen_list.h:150
#define MAP(_map_CASTER, _map_item, _map_code, _map_list)
Apply/map an instruction block on all the elements of a list (old fashioned)
Definition: newgen_list.h:226
string db_get_memory_resource(const char *rname, const char *oname, bool pure)
Return the pointer to the resource, whatever it is.
Definition: database.c:755
#define DB_PUT_MEMORY_RESOURCE(res_name, own_name, res_val)
conform to old interface.
Definition: pipsdbm-local.h:66
#define debug_on(env)
Definition: misc-local.h:157
#define pips_debug
these macros use the GNU extensions that allow variadic macros, including with an empty list.
Definition: misc-local.h:145
#define debug_off()
Definition: misc-local.h:160
static char * module
Definition: pips.c:74
entity local_name_to_top_level_entity(const char *n)
This function try to find a top-level entity from a local name.
Definition: entity.c:1450
char * strdup()
void module_to_value_mappings(entity m)
void module_to_value_mappings(entity m): build hash tables between variables and values (old,...
Definition: mappings.c:624
#define ifdebug(n)
Definition: sg.c:47
The structure used to build lists in NewGen.
Definition: newgen_list.h:41
void free_value_mappings(void)
Normal call to free the mappings.
Definition: value.c:1212

References CONS, db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, EFFECTS, effects_classes_classes, effects_effects, free_value_mappings(), get_current_module_entity(), ifdebug, l_alias_classes, l_alias_lists, l_lists, LIST, local_name_to_top_level_entity(), make_effects_classes(), MAP, module, module_name(), module_to_value_mappings(), NIL, pips_debug, print_inout_regions(), reset_cumulated_rw_effects(), reset_current_module_entity(), reset_current_module_statement(), reset_proper_rw_effects(), set_cumulated_rw_effects(), set_current_module_entity(), set_current_module_statement(), set_proper_rw_effects(), strdup(), unite_lists_containing_same_exact_region(), and unite_lists_with_same_head().

+ Here is the call graph for this function:

◆ alias_lists()

bool alias_lists ( const string  module_name)

alias_lists.c

alias_lists.c

ATTENTION: we have to do ALL this just to call print_inout_regions for debug !!

that's it, but we musn't forget to reset everything below

make alias lists from the IN_alias_pairs

DBR_IN_ALIAS_PAIRS is a newgen structure of type effects_classes which has one field called classes which is a list of newgen structures of type effects (and each newgen structure of type effects has one field called effects which is a list of elements of type effect)

wrong but did work:

in_alias_pairs = effects_to_list((effects) db_get_memory_resource(DBR_IN_ALIAS_PAIRS, module_name, true));

MAP(LIST, alias_pair, { list in_alias_pair = regions_dup(alias_pair);

make alias lists from the OUT_alias_pairs

MAP(LIST, alias_pair, { list out_alias_pair = regions_dup(alias_pair);

Parameters
module_nameodule_name

Definition at line 328 of file alias_lists.c.

329  {
331  entity module;
332 
333  l_alias_lists = NIL;
335 
336  debug_on("ALIAS_LISTS_DEBUG_LEVEL");
337  pips_debug(4,"begin for module %s\n",module_name);
338 
339  ifdebug(1)
340  {
341  /* ATTENTION: we have to do ALL this
342  * just to call print_inout_regions for debug !!
343  */
348  db_get_memory_resource(DBR_CODE,
349  module_name,
350  true) );
353  DBR_CUMULATED_EFFECTS,
354  module_name,
355  true));
358  DBR_CUMULATED_EFFECTS,
359  module_name,
360  true));
362  /* that's it, but we musn't forget to reset everything below */
363  }
364 
365  /* make alias lists from the IN_alias_pairs */
366 
367  /* DBR_IN_ALIAS_PAIRS is a newgen structure of type effects_classes
368  * which has one field called classes
369  * which is a list of newgen structures of type effects
370  * (and each newgen structure of type effects
371  * has one field called effects which is a list of elements
372  * of type effect)
373  */
374 
377  db_get_memory_resource(DBR_IN_ALIAS_PAIRS,
378  module_name,
379  true));
380 
381 
382 /* wrong but did work:
383 
384  in_alias_pairs =
385  effects_to_list((effects)
386  db_get_memory_resource(DBR_IN_ALIAS_PAIRS,
387  module_name,
388  true));
389 */
390 
391 /* MAP(LIST, alias_pair,
392  {
393  list in_alias_pair = regions_dup(alias_pair);
394  */
395 
396  MAP(EFFECTS, alias_pair_effects,
397  {
398  list alias_pair = effects_effects(alias_pair_effects);
399 
400  ifdebug(9)
401  {
402  pips_debug(9,"IN alias pair : \n");
403  print_inout_regions(alias_pair);
404  }
406  CONS(LIST,alias_pair,unmatched_alias_pairs);
407  },in_alias_pairs);
408 
409  /* make alias lists from the OUT_alias_pairs */
412  db_get_memory_resource(DBR_OUT_ALIAS_PAIRS,
413  module_name,
414  true));
415 
416 /* MAP(LIST, alias_pair,
417  {
418  list out_alias_pair = regions_dup(alias_pair);*/
419 
420  MAP(EFFECTS, alias_pair_effects,
421  {
422  list alias_pair = effects_effects(alias_pair_effects);
423 
424  ifdebug(9)
425  {
426  pips_debug(9,"OUT alias pair : \n");
427  print_inout_regions(alias_pair);
428  }
429 
431  CONS(LIST,alias_pair,unmatched_alias_pairs);
432  },out_alias_pairs);
433 
434  ifdebug(9)
435  {
436  pips_debug(9,"unmatched_alias_pairs:\n");
437  MAP(LIST,alias_pair,
438  {
439  print_inout_regions(alias_pair);
440  pips_debug(9,"---\n");
442  }
443 
445 
446  ifdebug(9)
447  {
448  pips_debug(9,"l_alias_lists:\n");
449  MAP(EFFECTS,alias_list,
450  {
452  pips_debug(9,"---\n");
453  },l_alias_lists);
454  pips_debug(9,"matched_alias_pairs:\n");
455  MAP(LIST,alias_pair,
456  {
457  print_inout_regions(alias_pair);
458  pips_debug(9,"---\n");
460  pips_debug(9,"unmatched_alias_pairs:\n");
461  MAP(LIST,alias_pair,
462  {
463  print_inout_regions(alias_pair);
464  pips_debug(9,"---\n");
466  }
467 
469 
470  ifdebug(9)
471  {
472  pips_debug(9,"l_alias_lists:\n");
473  MAP(EFFECTS,alias_list,
474  {
476  pips_debug(9,"---\n");
477  },l_alias_lists);
478  }
479 
480  DB_PUT_MEMORY_RESOURCE(DBR_ALIAS_LISTS,
483 
484  ifdebug(1)
485  {
491  }
492  pips_debug(4,"end\n");
493  debug_off();
494 
495  return(true);
496 }
bool in_alias_pairs(const string)
cproto-generated files
Definition: alias_pairs.c:587
bool out_alias_pairs(const char *)
top-level creation of pairs of aliases of OUT regions of the module modifies global vars callee,...
Definition: alias_pairs.c:623
static list l_alias_lists
Definition: alias_lists.c:49
static void add_alias_lists_callees(const char *module_name)
global variables IN: unmatched_alias_pairs, l_alias_lists modifies global variables: matched_alias_pa...
Definition: alias_lists.c:303
static void add_unmatched_alias_pairs()
global variables IN: unmatched_alias_pairs, l_alias_lists modifies global variable: l_alias_lists
Definition: alias_lists.c:115
static list unmatched_alias_pairs
Definition: alias_lists.c:50
static list matched_alias_pairs
Definition: alias_lists.c:51

References add_alias_lists_callees(), add_unmatched_alias_pairs(), CONS, db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, EFFECTS, effects_classes_classes, effects_effects, free_value_mappings(), get_current_module_entity(), ifdebug, in_alias_pairs(), l_alias_lists, LIST, local_name_to_top_level_entity(), make_effects_classes(), MAP, matched_alias_pairs, module, module_name(), module_to_value_mappings(), NIL, out_alias_pairs(), pips_debug, print_inout_regions(), reset_cumulated_rw_effects(), reset_current_module_entity(), reset_current_module_statement(), reset_proper_rw_effects(), set_cumulated_rw_effects(), set_current_module_entity(), set_current_module_statement(), set_proper_rw_effects(), strdup(), and unmatched_alias_pairs.

Referenced by alias_classes(), and aliases_text().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ in_alias_pairs()

bool in_alias_pairs ( const string  module_name)

cproto-generated files

alias_pairs.c

cproto-generated files

we need the IN summary regions

was (but didn't work) l_reg = (list) db_get_memory_resource(DBR_IN_SUMMARY_REGIONS, module_name, true);

Parameters
module_nameodule_name

Definition at line 587 of file alias_pairs.c.

588 {
589  list l_reg, l_pairs;
590 
591  debug_on("ALIAS_PAIRS_DEBUG_LEVEL");
592  pips_debug(4,"begin for module %s\n",module_name);
593 
594  /* we need the IN summary regions*/
595  l_reg = effects_to_list((effects)
596  db_get_memory_resource(DBR_IN_SUMMARY_REGIONS,
597  module_name,
598  true));
599 
600 /* was (but didn't work)
601  l_reg = (list) db_get_memory_resource(DBR_IN_SUMMARY_REGIONS,
602  module_name,
603  true);
604  */
605 
606  l_pairs = alias_pairs(module_name, l_reg);
607 
608  DB_PUT_MEMORY_RESOURCE(DBR_IN_ALIAS_PAIRS,
610  (char*) make_effects_classes(l_pairs));
611 
612  pips_debug(4,"end\n");
613  debug_off();
614 
615  return(true);
616 
617 }
static list alias_pairs(const char *module_name, list l_reg)
generic function (i.e.
Definition: alias_pairs.c:517
list effects_to_list(effects)
Definition: effects.c:209

References alias_pairs(), db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, effects_to_list(), make_effects_classes(), module_name(), pips_debug, and strdup().

Referenced by alias_lists().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ out_alias_pairs()

bool out_alias_pairs ( const char *  module_name)

top-level creation of pairs of aliases of OUT regions of the module modifies global vars callee, list_regions_callee, list_pairs and current_caller_stmt

we need the OUT summary regions

was (but didn't work) l_reg = (list) db_get_memory_resource(DBR_OUT_SUMMARY_REGIONS, module_name, true);

Parameters
module_nameodule_name

Definition at line 623 of file alias_pairs.c.

624 {
625  list l_reg, l_pairs;
626 
627  debug_on("ALIAS_PAIRS_DEBUG_LEVEL");
628  pips_debug(4,"begin for module %s\n",module_name);
629 
630  /* we need the OUT summary regions*/
631  l_reg = effects_to_list((effects)
632  db_get_memory_resource(DBR_OUT_SUMMARY_REGIONS,
633  module_name,
634  true));
635 
636 /* was (but didn't work)
637  l_reg = (list) db_get_memory_resource(DBR_OUT_SUMMARY_REGIONS,
638  module_name,
639  true);
640  */
641 
642 
643  l_pairs = alias_pairs(module_name, l_reg);
644 
645  DB_PUT_MEMORY_RESOURCE(DBR_OUT_ALIAS_PAIRS,
647  (char*) make_effects_classes(l_pairs));
648 
649  pips_debug(4,"end\n");
650  debug_off();
651 
652  return(true);
653 
654 }

References alias_pairs(), db_get_memory_resource(), DB_PUT_MEMORY_RESOURCE, debug_off, debug_on, effects_to_list(), make_effects_classes(), module_name(), pips_debug, and strdup().

Referenced by alias_lists().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ print_alias_classes()

bool print_alias_classes ( const char *  module_name)
Parameters
module_nameodule_name

Definition at line 319 of file prettyprint.c.

320 {
321  bool success = true;
322 
323  debug_on("ALIAS_CLASSES_DEBUG_LEVEL");
324  pips_debug(4,"module %s\n",module_name);
325 
326 
327  success = print_aliases(module_name,DBR_ALIAS_CLASSES,".alias_classes");
328 
329  pips_debug(4,"end\n");
330  debug_off();
331 
332  return success;
333 }
static bool print_aliases(const char *module_name, string resource_name, string file_extn)
Definition: prettyprint.c:251
bool success
Definition: gpips-local.h:59

References debug_off, debug_on, module_name(), pips_debug, and print_aliases().

+ Here is the call graph for this function:

◆ print_alias_lists()

bool print_alias_lists ( const char *  module_name)
Parameters
module_nameodule_name

Definition at line 304 of file prettyprint.c.

305 {
306  bool success = true;
307 
308  debug_on("ALIAS_LISTS_DEBUG_LEVEL");
309  pips_debug(4,"module %s\n",module_name);
310 
311  success = print_aliases(module_name,DBR_ALIAS_LISTS,".alias_lists");
312 
313  pips_debug(4,"end\n");
314  debug_off();
315 
316  return success;
317 }

References debug_off, debug_on, module_name(), pips_debug, and print_aliases().

+ Here is the call graph for this function:

◆ print_in_alias_pairs()

bool print_in_alias_pairs ( const char *  module_name)

prettyprint.c

Parameters
module_nameodule_name

Definition at line 273 of file prettyprint.c.

274 {
275  bool success = true;
276 
277  debug_on("ALIAS_PAIRS_DEBUG_LEVEL");
278  pips_debug(4,"module %s\n",module_name);
279 
280  success = print_aliases(module_name,DBR_IN_ALIAS_PAIRS,".in_alias");
281 
282  pips_debug(4,"end\n");
283  debug_off();
284 
285  return success;
286 }

References debug_off, debug_on, module_name(), pips_debug, and print_aliases().

+ Here is the call graph for this function:

◆ print_out_alias_pairs()

bool print_out_alias_pairs ( const char *  module_name)
Parameters
module_nameodule_name

Definition at line 289 of file prettyprint.c.

290 {
291  bool success = true;
292 
293  debug_on("ALIAS_PAIRS_DEBUG_LEVEL");
294  pips_debug(4,"module %s\n",module_name);
295 
296  success = print_aliases(module_name,DBR_OUT_ALIAS_PAIRS,".out_alias");
297 
298  pips_debug(4,"end\n");
299  debug_off();
300 
301  return success;
302 }

References debug_off, debug_on, module_name(), pips_debug, and print_aliases().

+ Here is the call graph for this function: