From 3beaff21f346c7f34bf45f7b56f2c1c880a91e31 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 14 Jun 2015 20:25:40 +0000 Subject: rtl.h (classify_insn): Declare. gcc/ * rtl.h (classify_insn): Declare. * emit-rtl.c (classify_insn): Move to... * rtl.c: ...here and add generator support. * gensupport.h (get_emit_function, needs_barrier_p): Declare. * gensupport.c (get_emit_function, needs_barrier_p): New functions. * genemit.c (gen_emit_seq): New function. (gen_expand, gen_split): Use it. From-SVN: r224470 --- gcc/gensupport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/gensupport.h') diff --git a/gcc/gensupport.h b/gcc/gensupport.h index e254435..97f9a72 100644 --- a/gcc/gensupport.h +++ b/gcc/gensupport.h @@ -111,5 +111,7 @@ struct pattern_stats extern void get_pattern_stats (struct pattern_stats *ranges, rtvec vec); extern void compute_test_codes (rtx, int, char *); +extern const char *get_emit_function (rtx); +extern bool needs_barrier_p (rtx); #endif /* GCC_GENSUPPORT_H */ -- cgit v1.1