aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorChung-Ju Wu <jasonwucj@gmail.com>2018-04-01 10:07:40 +0000
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>2018-04-01 10:07:40 +0000
commitc4d8d0502ef162362e3fcb2fd249ce92b2fd031d (patch)
tree915ac14e84f80b187e396843dc44e8e84449d4a2 /gcc/rtl.h
parentaf08e51d09f41630023466e7135217ffd43f96c7 (diff)
downloadgcc-c4d8d0502ef162362e3fcb2fd249ce92b2fd031d.zip
gcc-c4d8d0502ef162362e3fcb2fd249ce92b2fd031d.tar.gz
gcc-c4d8d0502ef162362e3fcb2fd249ce92b2fd031d.tar.bz2
[NDS32] Add relax optimization as new pass.
gcc/ * config.gcc (nds32): Add nds32-relax-opt.o into extra_objs. * config/nds32/constants.md (unspec_volatile_element): Add UNSPEC_VOLATILE_RELAX_GROUP. * config/nds32/nds32-relax-opt.c: New file. * config/nds32/nds32-predicates.c (nds32_symbol_load_store_p): New function. * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Declare function. (make_pass_nds32_relax_opt): Declare new rtl pass function. * config/nds32/nds32.c (nds32_register_pass): New function to register pass. (nds32_register_passes): New function to register passes. * config/nds32/nds32.md (relax_group): New pattern. * config/nds32/nds32.opt (mrelax-hint): New option. * config/nds32/t-nds32 (nds32-relax-opt.o): New dependency. Co-Authored-By: Kito Cheng <kito.cheng@gmail.com> Co-Authored-By: Kuan-Lin Chen <kuanlinchentw@gmail.com> From-SVN: r258998
Diffstat (limited to 'gcc/rtl.h')
0 files changed, 0 insertions, 0 deletions