31#define FPUTS_SPACES(file, space_count, string) \
32 fprintf (file, "%*s" string, space_count, " ");
36#define FPRINTF_SPACES(file, space_count, format, ...) \
37 fprintf (file, "%*s" format, space_count, " ", ##__VA_ARGS__);
44 const char *func,
unsigned int line)
47 fprintf (
dump_file,
" false returned: '%s' in %s at %s:%u\n", message, func,
53#define return_false_with_msg(message) \
54 return_false_with_message_1 (message, __FILE__, __func__, __LINE__)
57#define return_false() return_false_with_msg ("")
64 const char *func,
unsigned int line)
67 fprintf (
dump_file,
" false returned: '' in %s at %s:%u\n", func,
74#define return_with_debug(result) return_with_result \
75 (result, __FILE__, __func__, __LINE__)
82 const char *func,
unsigned int line)
86 fprintf (
dump_file,
" different statement for code: %s (%s:%u):\n",
97#define return_different_stmts(s1, s2, code) \
98 return_different_stmts_1 (s1, s2, code, __func__, __LINE__)
142 bool ignore_labels =
false,
Definition tree-ssa-alias-compare.h:27
bool compare_ssa_name(const_tree t1, const_tree t2)
Definition ipa-icf-gimple.cc:98
bool compare_gimple_assign(gimple *s1, gimple *s2)
Definition ipa-icf-gimple.cc:813
bool m_tbaa
Definition ipa-icf-gimple.h:285
vec< int > m_source_ssa_names
Definition ipa-icf-gimple.h:253
static operand_access_type get_operand_access_type(operand_access_type_map *map, tree)
Definition ipa-icf-gimple.cc:1086
void hash_operand(const_tree, inchash::hash &, unsigned flags) final override
static void classify_operands(const gimple *stmt, operand_access_type_map *map)
Definition ipa-icf-gimple.cc:1076
bool compare_loops(basic_block bb1, basic_block bb2)
Definition ipa-icf-gimple.cc:518
tree m_target_func_decl
Definition ipa-icf-gimple.h:262
tree m_source_func_decl
Definition ipa-icf-gimple.h:259
hash_set< symtab_node * > * m_ignored_target_nodes
Definition ipa-icf-gimple.h:270
void hash_operand(const_tree, inchash::hash &, unsigned flags, operand_access_type access)
static bool compatible_types_p(tree t1, tree t2)
Definition ipa-icf-gimple.cc:226
bool compare_asm_inputs_outputs(tree t1, tree t2, operand_access_type_map *map)
Definition ipa-icf-gimple.cc:450
bool compare_gimple_asm(const gasm *s1, const gasm *s2)
Definition ipa-icf-gimple.cc:1001
hash_map< edge, edge > m_edge_map
Definition ipa-icf-gimple.h:273
bool compare_gimple_switch(const gswitch *s1, const gswitch *s2)
Definition ipa-icf-gimple.cc:899
bool safe_for_total_scalarization_p(tree t1, tree t2)
Definition ipa-icf-gimple.cc:370
bool compare_gimple_cond(gimple *s1, gimple *s2)
Definition ipa-icf-gimple.cc:853
bool m_ignore_labels
Definition ipa-icf-gimple.h:282
bool compare_gimple_goto(gimple *s1, gimple *s2)
Definition ipa-icf-gimple.cc:974
bool compare_gimple_resx(const gresx *s1, const gresx *s2)
Definition ipa-icf-gimple.cc:991
unsigned HOST_WIDE_INT m_total_scalarization_limit
Definition ipa-icf-gimple.h:293
hash_set< symtab_node * > * m_ignored_source_nodes
Definition ipa-icf-gimple.h:266
void parse_labels(sem_bb *bb)
Definition ipa-icf-gimple.cc:560
virtual ~func_checker()
Definition ipa-icf-gimple.cc:89
bool compare_gimple_call(gcall *s1, gcall *s2)
Definition ipa-icf-gimple.cc:687
bool compare_decl(const_tree t1, const_tree t2)
Definition ipa-icf-gimple.cc:155
hash_map< const_tree, int > m_label_bb_map
Definition ipa-icf-gimple.h:279
bool compare_variable_decl(const_tree t1, const_tree t2)
Definition ipa-icf-gimple.cc:489
operand_access_type
Definition ipa-icf-gimple.h:206
@ OP_MEMORY
Definition ipa-icf-gimple.h:206
@ OP_NORMAL
Definition ipa-icf-gimple.h:206
bool compare_edge(edge e1, edge e2)
Definition ipa-icf-gimple.cc:133
bool compare_function_decl(tree t1, tree t2)
bool operand_equal_p(const_tree, const_tree, unsigned int flags) final override
Definition ipa-icf-gimple.cc:318
bool compare_operand(tree t1, tree t2, operand_access_type type)
Definition ipa-icf-gimple.cc:402
func_checker()
Definition ipa-icf-gimple.h:125
hash_map< const_tree, const_tree > m_decl_map
Definition ipa-icf-gimple.h:276
static bool compatible_polymorphic_types_p(tree t1, tree t2, bool compare_ptr)
Definition ipa-icf-gimple.cc:197
vec< int > m_target_ssa_names
Definition ipa-icf-gimple.h:256
bool compare_gimple_label(const glabel *s1, const glabel *s2)
Definition ipa-icf-gimple.cc:880
bool compare_gimple_return(const greturn *s1, const greturn *s2)
Definition ipa-icf-gimple.cc:953
bool compare_bb(sem_bb *bb1, sem_bb *bb2)
Definition ipa-icf-gimple.cc:585
bool m_total_scalarization_limit_known_p
Definition ipa-icf-gimple.h:289
hash_set< tree > operand_access_type_map
Definition ipa-icf-gimple.h:207
Definition ipa-icf-gimple.h:104
unsigned edge_count
Definition ipa-icf-gimple.h:116
unsigned nondbg_stmt_count
Definition ipa-icf-gimple.h:113
sem_bb(basic_block bb_, unsigned nondbg_stmt_count_, unsigned edge_count_)
Definition ipa-icf-gimple.h:106
basic_block bb
Definition ipa-icf-gimple.h:110
struct basic_block_def * basic_block
Definition coretypes.h:355
class edge_def * edge
Definition coretypes.h:352
const union tree_node * const_tree
Definition coretypes.h:98
union tree_node * tree
Definition coretypes.h:97
static struct string2counter_map map[debug_counter_number_of_counters]
Definition dbgcnt.cc:39
dump_flags_t dump_flags
Definition dumpfile.cc:66
FILE * dump_file
Definition dumpfile.cc:64
@ TDF_DETAILS
Definition dumpfile.h:92
static int compare_ptr(const void *p1_p, const void *p2_p)
Definition ggc-common.cc:447
void print_gimple_stmt(FILE *file, gimple *g, int spc, dump_flags_t flags)
Definition gimple-pretty-print.cc:154
bool return_different_stmts_1(gimple *s1, gimple *s2, const char *code, const char *func, unsigned int line)
Definition ipa-icf-gimple.h:81
bool return_with_result(bool result, const char *filename, const char *func, unsigned int line)
Definition ipa-icf-gimple.h:63
bool return_false_with_message_1(const char *message, const char *filename, const char *func, unsigned int line)
Definition ipa-icf-gimple.h:43
Definition ipa-icf-gimple.cc:52
Definition tree-sra.cc:132
Definition gengtype.h:252
#define NULL
Definition system.h:50
#define true
Definition system.h:887
#define false
Definition system.h:888
#define NULL_TREE
Definition tree.h:317