diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-03 19:31:01 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-03 19:31:01 +0000 |
commit | ae8bd4bd11676afd663a0ad993077bd70a9be29f (patch) | |
tree | a07cbae57bf7504950c4428eece3ea814cadf39d /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | d0e83a6eb2ebc7458f81126892182d6014330ec8 (diff) | |
download | bcm5719-llvm-ae8bd4bd11676afd663a0ad993077bd70a9be29f.tar.gz bcm5719-llvm-ae8bd4bd11676afd663a0ad993077bd70a9be29f.zip |
ValueMapper: Split out mapSimpleMetadata, NFC
Split out a helper for mapping metadata without operands. This is any
metadata that is not an MDNode, and any MDNode where the answer is known
without looking at operands.
Through some weird twists, this function is co-recursive:
mapSimpleMetadata
=> MapValue
=> materializeInitFor
=> linkFunctionBody
=> RemapInstructions
=> MapMetadata
=> mapSimpleMetadata
I plan to break the recursion in a follow-up.
llvm-svn: 265270
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions