diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-30 09:52:24 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-30 09:52:24 +0000 |
commit | 33973fa754de1f95d459bfca66c0d80deec36537 (patch) | |
tree | babdf829fa3b7a95f2e444ae0418240d4dc06727 /gcc/tree-vectorizer.h | |
parent | bc8d6c60137f8bbf173b86ddf31b15d7ba2a33dd (diff) | |
download | gcc-33973fa754de1f95d459bfca66c0d80deec36537.zip gcc-33973fa754de1f95d459bfca66c0d80deec36537.tar.gz gcc-33973fa754de1f95d459bfca66c0d80deec36537.tar.bz2 |
gimple-match: Add a gimple_extract_op function
code_helper and gimple_match_op seem like generally useful ways
of summing up a gimple_assign or gimple_call (or gimple_cond).
This patch adds a gimple_extract_op function that can be used
for that.
gcc/
* gimple-match.h (code_helper): Add functions for querying whether
the code represents an internal_fn or a built_in_function.
Provide explicit conversion operators for both cases.
(gimple_extract_op): Declare.
* gimple-match-head.c (gimple_extract): New function, extracted from...
(gimple_simplify): ...here.
(gimple_extract_op): New function.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions