[PATCH] D58098: [IR] Add Use::moveToFrontOfUseList() method
Roman Tereshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 11 21:28:16 PST 2019
rtereshin created this revision.
rtereshin added reviewers: chandlerc, bkramer.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The method is to be used to keep frequently looked up users in the beginning (or
close to it) of the use list, reducing the amortized cost of such lookups.
Repository:
rL LLVM
https://reviews.llvm.org/D58098
Files:
include/llvm/IR/Use.h
include/llvm/IR/Value.h
unittests/IR/UseTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58098.186396.patch
Type: text/x-patch
Size: 3441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190212/b941eed9/attachment.bin>
More information about the llvm-commits
mailing list