aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-05-16 12:39:30 +0200
committerRichard Biener <rguenther@suse.de>2022-05-16 13:39:26 +0200
commit6f5b06032eb9e3085611b2e14ca040af465930c1 (patch)
tree17b17cb65e21c8ed73269e563b54d16e1978ee8a /gcc/d/expr.cc
parentadace78911705f25a06b48a0559612402065530e (diff)
downloadgcc-6f5b06032eb9e3085611b2e14ca040af465930c1.zip
gcc-6f5b06032eb9e3085611b2e14ca040af465930c1.tar.gz
gcc-6f5b06032eb9e3085611b2e14ca040af465930c1.tar.bz2
Finish gimple_build API enhancement
This finishes the remaining parts of the gimple_build API enhancement, converting the remaining workers to receive a gimple_stmt_iterator, direction and update argument. It also moves the code_helper receiving functions from gimple-match.h to gimple-fold.h. 2022-05-16 Richard Biener <rguenther@suse.de> * gimple-match.h (gimple_build): Move code_helper overloads ... * gimple-fold.h (gimple_build): ... here. (gimple_build): Transition to new worker API. Provide overloads from sequence-based API. (gimple_convert): Likewise. (gimple_convert_to_ptrofftype): Likewise. (gimple_build_vector_from_val): Likewise. (gimple_build_vector): Likewise. (gimple_build_round_up): Likewise. * gimple-fold.cc (gimple_build_insert_seq): New helper. (gimple_build): Use it. Transition combined_fn and code_helper API parts. (gimple_convert): Transition to new worker API. (gimple_convert_to_ptrofftype): Likewise. (gimple_build_vector_from_val): Likewise. (gimple_build_vector): Likewise. (gimple_build_round_up): Likewise.
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions