From d6e1e8b8d1663dd2b25bc9e27ca099568848c641 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 9 Sep 2014 15:14:03 +0000 Subject: Handcode gen_rtx_INSN gcc/ChangeLog: 2014-09-09 David Malcolm * combine.c (try_combine): Eliminate checked cast on result of gen_rtx_INSN. * emit-rtl.c (gen_rtx_INSN): New function, improving over the prior autogenerated one by strengthening the return type and params 2 and 3 from rtx to rtx_insn *, and by naming the params. * gengenrtl.c (special_rtx): Add INSN to those that are special-cased. * rtl.h (gen_rtx_INSN): New prototype. From-SVN: r215083 --- gcc/rtl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index ddf89b0..fae3b5d 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -3089,6 +3089,10 @@ get_mem_attrs (const_rtx x) extern rtx_expr_list *gen_rtx_EXPR_LIST (enum machine_mode, rtx, rtx); extern rtx_insn_list *gen_rtx_INSN_LIST (enum machine_mode, rtx, rtx); +extern rtx_insn * +gen_rtx_INSN (enum machine_mode mode, rtx_insn *prev_insn, rtx_insn *next_insn, + basic_block bb, rtx pattern, int location, int code, + rtx reg_notes); extern rtx gen_rtx_CONST_INT (enum machine_mode, HOST_WIDE_INT); extern rtx gen_rtx_CONST_VECTOR (enum machine_mode, rtvec); extern rtx gen_raw_REG (enum machine_mode, int); -- cgit v1.1