diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-08 19:26:32 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-08 19:26:32 +0000 |
commit | bb2c3e199e9e95ff7b07efb084b94960b76e6556 (patch) | |
tree | 7e6d08809e93196a4fd04919e4b32ec6fb828db2 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | 41725a1e7a1666374a5f63b837d7c22fe503ba22 (diff) | |
download | bcm5719-llvm-bb2c3e199e9e95ff7b07efb084b94960b76e6556.tar.gz bcm5719-llvm-bb2c3e199e9e95ff7b07efb084b94960b76e6556.zip |
ValueMapper: Extract llvm::RemapFunction from IRMover.cpp, NFC
Strip out the remapping parts of IRLinker::linkFunctionBody and put them
in ValueMapper.cpp under the name Mapper::remapFunction (with a
top-level entry-point llvm::RemapFunction).
This is a nice cleanup on its own since it puts the remapping code
together and shares a single Mapper context for the entire
IRLinker::linkFunctionBody Call. Besides that, this will make it easier
to break the co-recursion between IRMover.cpp and ValueMapper.cpp in
follow ups.
llvm-svn: 265835
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions