diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-12-05 22:27:38 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-12-05 22:27:38 +0000 |
commit | 235d877eea0bfb137db3be2edfb7b25c3110ccda (patch) | |
tree | 67e7f13bf89d2d282324407628de48541fea9463 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | 2a0c7c9c30df63acce64c8a55c583b21aac3103b (diff) | |
download | llvm-235d877eea0bfb137db3be2edfb7b25c3110ccda.zip llvm-235d877eea0bfb137db3be2edfb7b25c3110ccda.tar.gz llvm-235d877eea0bfb137db3be2edfb7b25c3110ccda.tar.bz2 |
[MachineOutliner][NFC] Simplify and unify pruning/outlining logic
Since we're now performing outlining per OutlinedFunction rather than per
Candidate, we can simply outline each candidate as it shows up.
Instead of having a pruning phase, instead, we'll outline entire functions.
Then we'll update the UnsignedVec we mapped to reflect the deletion. If any
candidate is in a space that's marked dirty, then we'll drop it.
This lets us remove the pruning logic entirely, and greatly simplifies the
code.
llvm-svn: 348420
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions