diff options
| author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-06-21 17:55:51 +0000 |
|---|---|---|
| committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-06-21 17:55:51 +0000 |
| commit | 23a7bfce977e70673dbd512926136a385e9d66e3 (patch) | |
| tree | a0e09083f231eae1146b70309ae1c63680ffc71e /lib/Bitcode/Reader | |
| parent | 6b7ff6be9c1bcf8ce440c7f1c7646fbf059562e4 (diff) | |
| download | llvm-23a7bfce977e70673dbd512926136a385e9d66e3.tar.gz llvm-23a7bfce977e70673dbd512926136a385e9d66e3.tar.bz2 llvm-23a7bfce977e70673dbd512926136a385e9d66e3.tar.xz | |
MergeFunctions Pass, introduced total ordering among top-level comparison
methods.
Patch changes return type of FunctionComparator::compare() and
FunctionComparator::compare(const BasicBlock*, const BasicBlock*)
methods from bool (equal or not) to {-1, 0, 1} (less, equal, great).
This patch belongs to patch series that improves MergeFunctions
performance time from O(N*N) to O(N*log(N)).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions
