|
GCC Middle and Back End API Reference
|
Functions | |
| template<typename T> | |
| void | dump_node_tree_to_pp (const T &obj, const text_art::theme *theme, pretty_printer *pp, bool show_ids, bool elide_repeated_nodes) |
| template<typename T> | |
| void | dump_node_tree_to_file (const T &obj, FILE *outf) |
| template<typename T> | |
| void | dump_node_tree_to_stderr (const T &obj) |
| template<typename T> | |
| void | dump_node_tree_to_logger (const T &obj, logger &log, const text_art::theme *theme, bool show_ids, bool elide_repeated_nodes) |
| template<typename T> | |
| void | dump_node_tree_to_logger (const T &obj, logger &log, const text_art::theme *theme, const char *label, bool show_ids, bool elide_repeated_nodes) |
| template<typename T> | |
| void | dump_node_tree_to_logger (const T &obj, logger &log) |
| template<typename T> | |
| void | dump_node_tree_to_logger (const T &obj, logger &log, const char *label) |
| template<typename ConcreteValueType> | |
| bool | concrete_from_symbolic (const symbolic::range< ConcreteValueType > &in, concrete::range< ConcreteValueType > *out) |
| template<typename ConcreteValueType> | |
| symbolic::range< ConcreteValueType > | symbolic_from_concrete (const concrete::range< ConcreteValueType > &conc_range, scalar_manager< concrete_bit_size > &bit_mgr) |
|
inline |
| void ana::symbolic::dump_node_tree_to_file | ( | const T & | obj, |
| FILE * | outf ) |
Dump OBJ to OUTF, using OBJ's make_dump_widget member function, global_dc's color/theme options, with symbol IDs shown, and eliding repeated occurrences of nodes.
References dump_node_tree_to_file(), dump_node_tree_to_pp(), diagnostics::context::get_diagram_theme(), and global_dc.
Referenced by dump_node_tree_to_file(), and dump_node_tree_to_stderr().
| void ana::symbolic::dump_node_tree_to_logger | ( | const T & | obj, |
| logger & | log ) |
Dump a tree-like representation of OBJ and its constituent symbolic::nodes to LOG with symbol IDs shown.
References dump_node_tree_to_logger(), and log().
| void ana::symbolic::dump_node_tree_to_logger | ( | const T & | obj, |
| logger & | log, | ||
| const char * | label ) |
As above, but pass LABEL to OBJ's make_dump_widget call.
References dump_node_tree_to_logger(), and log().
| void ana::symbolic::dump_node_tree_to_logger | ( | const T & | obj, |
| logger & | log, | ||
| const text_art::theme * | theme, | ||
| bool | show_ids, | ||
| bool | elide_repeated_nodes ) |
As dump_node_tree_to_pp, but write to LOG, indenting the whole output according to the current nesting level of the log.
References dump_node_tree_to_logger(), text_art::style_manager::get_or_create_id(), text_art::get_style_from_color_cap_name(), log(), and text_art::dump_widget_info::m_sm.
Referenced by dump_node_tree_to_logger(), dump_node_tree_to_logger(), dump_node_tree_to_logger(), and dump_node_tree_to_logger().
| void ana::symbolic::dump_node_tree_to_logger | ( | const T & | obj, |
| logger & | log, | ||
| const text_art::theme * | theme, | ||
| const char * | label, | ||
| bool | show_ids, | ||
| bool | elide_repeated_nodes ) |
As above, but pass LABEL to OBJ's make_dump_widget call.
References dump_node_tree_to_logger(), text_art::style_manager::get_or_create_id(), text_art::get_style_from_color_cap_name(), log(), and text_art::dump_widget_info::m_sm.
| void ana::symbolic::dump_node_tree_to_pp | ( | const T & | obj, |
| const text_art::theme * | theme, | ||
| pretty_printer * | pp, | ||
| bool | show_ids, | ||
| bool | elide_repeated_nodes ) |
Dump a tree-like representation of OBJ and its constituent symbolic::nodes to PP. For example: . (gdb) call index_sval->dump() . (27): ‘int’: initial_svalue . ╰─ m_reg: (26): ‘int’: decl_region(‘x_10(D)’) . ╰─ parent: (9): frame_region(‘test_bitmask_2’, index: 0, depth: 1) . ╰─ parent: (1): stack region . ╰─ parent: (0): root region Note that OBJ is not necessarily itself a symbolic::node, it just needs to implement make_dump_widget. Set show_ids to false for generating repeatable output (e.g. for unit testing of dump output).
References dump_node_tree_to_pp(), text_art::style_manager::get_or_create_id(), text_art::get_style_from_color_cap_name(), and text_art::dump_widget_info::m_sm.
Referenced by dump_node_tree_to_file(), and dump_node_tree_to_pp().
| void ana::symbolic::dump_node_tree_to_stderr | ( | const T & | obj | ) |
Dump a tree-like representation of OBJ and its constituent symbolic::nodes to stderr, using global_dc's colorization and theming options, with symbolic::node IDs shown. For example: . (gdb) call reg->dump() . (26): ‘int’: decl_region(‘x_10(D)’) . ╰─ parent: (9): frame_region(‘test_bitmask_2’, index: 0, depth: 1) . ╰─ parent: (1): stack region . ╰─ parent: (0): root region Note that OBJ is not necessarily itself a symbolic::node, it just needs to implement make_dump_widget.
References dump_node_tree_to_file(), and dump_node_tree_to_stderr().
Referenced by dump_node_tree_to_stderr().
|
inline |