12 #ifndef FIRM_DEBUG_DBGINFO_H
13 #define FIRM_DEBUG_DBGINFO_H
17 #include "firm_types.h"
107 ir_node *
const *old_node_array,
void ir_set_debug_retrieve(retrieve_dbg_func func)
Sets a debug info retriever.
A Firm subgraph was replaced because of a Backend transformation.
struct dbg_info dbg_info
Source Reference.
The control flow of an if is changed as either the else, the then or both blocks are empty...
A Firm subgraph was evaluated to a single constant.
A Firm subgraph was replaced because of an algebraic simplification.
A Firm subgraph was replaced because of a write after write optimization.
Removal of unnecessary auxiliary nodes.
A Firm node was replace because of the combo algorithm.
unsigned line
line number (starting at 1; 0 if unknown)
void merge_sets_func(ir_node *const *new_node_array, int new_num_entries, ir_node *const *old_node_array, int old_num_entries, dbg_action action)
The type of the debug info merge sets function.
A Firm subgraph was replaced because of a read after write optimization.
char const * file
the name of the source (usually a file)
struct type_dbg_info type_dbg_info
Source Type Reference.
void ir_retrieve_type_dbg_info(char *buffer, size_t buffer_size, const type_dbg_info *tdbgi)
Retrieve type debug info.
A Firm subgraph was replaced by a single, existing block.
A Firm subgraph was replaced because of a read a constant optimization.
Removing unreachable code, i.e.
A Firm subgraph was replaced because of a read after read optimization.
src_loc_t(* retrieve_dbg_func)(dbg_info const *dbg)
The type of the debug info retriever function.
const char * dbg_action_2_str(dbg_action a)
Converts a debug_action into a string.
void dbg_init(merge_pair_func *dbg_info_merge_pair, merge_sets_func *dbg_info_merge_sets)
Initializes the debug support.
A Firm subgraph was replace because of a Confirmation.
void ir_set_type_debug_retrieve(retrieve_type_dbg_func func)
Sets global print_type_dbg_info function in firm.
A Firm node was replaced due to common subexpression elimination.
src_loc_t ir_retrieve_dbg_info(dbg_info const *dbg)
Retrieve the debug info.
unsigned column
column number (starting at 1; 0 if unknown)
Optimization of the SSA representation, e.g.
A Firm node was replace because of the GVN-PRE algorithm.
A Firm node was replace because of the jumpthreading algorithm.
void(* retrieve_type_dbg_func)(char *buffer, size_t buffer_size, const type_dbg_info *tdbgi)
The type of the type debug info retrieve function.
dbg_action
An enumeration indicating the action performed by a transformation.
struct ir_node ir_node
Procedure Graph Node.
void merge_pair_func(ir_node *new_node, ir_node *old_node, dbg_action action)
The type of the debug info merge function.
A Firm subgraph was replaced because of a write after read optimization.