summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/BBVectorize.cpp
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2014-05-07 09:05:10 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2014-05-07 09:05:10 +0000
commitd103130ee0a7c0390639cca7273c77b800d98710 (patch)
treed62ebac339dbfa0b9f5b3abb469ec425b9eac1ba /llvm/lib/Transforms/Vectorize/BBVectorize.cpp
parentc087df065577f8ca283ef36e5bab13d04821fe19 (diff)
downloadbcm5719-llvm-d103130ee0a7c0390639cca7273c77b800d98710.tar.gz
bcm5719-llvm-d103130ee0a7c0390639cca7273c77b800d98710.zip
Second patch of patch series that improves MergeFunctions performance time from O(N*N) to
O(N*log(N)). The idea is to introduce total ordering among functions set. It allows to build binary tree and perform function look-up procedure in O(log(N)) time. This patch description: Introduced total ordering among constants implemented in cmpConstants method. Method performs lexicographical comparison between constants represented as hypothetical numbers of next format: <bitcastability-trait><raw-bit-contents> Please, read cmpConstants declaration comments for more details. llvm-svn: 208173
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/BBVectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud