summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2014-05-07 11:11:39 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2014-05-07 11:11:39 +0000
commit9b363106f3546e4b91c25d702561f5469949aba3 (patch)
treec5973851fe6b996297d16315943f14a94e64b1de /lib/Bitcode/Reader/BitcodeReader.h
parent0d427515b3005e3cbf6b82923fbdd5ffa27f4a97 (diff)
downloadllvm-9b363106f3546e4b91c25d702561f5469949aba3.tar.gz
llvm-9b363106f3546e4b91c25d702561f5469949aba3.tar.bz2
llvm-9b363106f3546e4b91c25d702561f5469949aba3.tar.xz
MergeFunctions Pass, introduced total ordering among values.
This is a third patch of patch series that improves MergeFunctions performance time from O(N*N) to O(N*log(N)). This patch description: Being comparing functions we need to compare values we meet at left and right sides. Its easy to sort things out for external values. It just should be the same value at left and right. But for local values (those were introduced inside function body) we have to ensure they were introduced at exactly the same place, and plays the same role. In short, patch introduces values serial numbering and comparison routine. The last one compares two values by their serial numbers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions