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