aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-reference.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-06-08 14:13:20 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-06-08 12:13:20 +0000
commit0148358a02a230ef250718b13180527701edf3ca (patch)
treec391b8e527f99087eaf0e3f41c22636b16377a53 /gcc/ipa-reference.c
parent99353fcfe4f50d131fae9978ce9cd19bcaf243cf (diff)
downloadgcc-0148358a02a230ef250718b13180527701edf3ca.zip
gcc-0148358a02a230ef250718b13180527701edf3ca.tar.gz
gcc-0148358a02a230ef250718b13180527701edf3ca.tar.bz2
Add {symbol,call}_summary::get method and use it in HSA.
2018-06-08 Martin Liska <mliska@suse.cz> * hsa-common.h (enum hsa_function_kind): Rename HSA_NONE to HSA_INVALID. (hsa_function_summary::hsa_function_summary): Use the new enum value. (hsa_gpu_implementation_p): Use hsa_summaries::get. * hsa-gen.c (hsa_get_host_function): Likewise. (get_brig_function_name): Likewise. * ipa-hsa.c (process_hsa_functions): Likewise. (ipa_hsa_write_summary): Likewise. * symbol-summary.h (symtab_duplication): Use ::get function/ (get): New function. From-SVN: r261310
Diffstat (limited to 'gcc/ipa-reference.c')
0 files changed, 0 insertions, 0 deletions