aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/replace.h
diff options
context:
space:
mode:
authorhsmahesha <mahesha.comp@gmail.com>2021-06-08 02:45:18 +0530
committerhsmahesha <mahesha.comp@gmail.com>2021-06-08 03:22:32 +0530
commit3af5f3e69247fb3ead05eefa99832c1c029e1997 (patch)
tree878978e256547e491bfa1c842b23e52dfb7d78b7 /libcxx/include/__algorithm/replace.h
parent3c6e419198f3916b76f88d2bef8aa04dd2114574 (diff)
downloadllvm-3af5f3e69247fb3ead05eefa99832c1c029e1997.zip
llvm-3af5f3e69247fb3ead05eefa99832c1c029e1997.tar.gz
llvm-3af5f3e69247fb3ead05eefa99832c1c029e1997.tar.bz2
[IR] Add utility to convert constant expression operands (of an instruction) to instructions.
In the situation where we need to replace a constant operand C from a constant expression CE by an instruction NI, it not possible without converting CE itself into an instruction. This utility helps to convert the given set of constant expression operands from an instruction I into a corresponding set of instructions. The current use-case for this utility is from the patches - https://reviews.llvm.org/D103225 and https://reviews.llvm.org/D103655. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D103661
Diffstat (limited to 'libcxx/include/__algorithm/replace.h')
0 files changed, 0 insertions, 0 deletions