From ce120587f3810484e8b939b7df69320d9f39420c Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 7 Jun 2016 13:22:26 +0200 Subject: gimple.c: Include builtins.h * gimple.c: Include builtins.h (gimple_inexpensive_call_p): New function. * gimple.h (gimple_inexpensive_call_p): Declare. * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Use it. * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Likewise; fix formatting. From-SVN: r237172 --- gcc/gimple.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/gimple.h') diff --git a/gcc/gimple.h b/gcc/gimple.h index 063e29d7897..1da719c52e0 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -1525,6 +1525,7 @@ extern void preprocess_case_label_vec_for_gimple (vec, tree, tree *); extern void gimple_seq_set_location (gimple_seq, location_t); extern void gimple_seq_discard (gimple_seq); extern void maybe_remove_unused_call_args (struct function *, gimple *); +extern bool gimple_inexpensive_call_p (gcall *); /* Formal (expression) temporary table handling: multiple occurrences of the same scalar expression are evaluated into the same temporary. */ -- cgit v1.2.3