aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/UseTest.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-08-19Modernize the .ll parsing interface.Rafael Espindola1-2/+2
* Use StringRef instead of std::string& * Return a std::unique_ptr<Module> instead of taking an optional module to write to (was not really used). * Use current comment style. * Use current naming convention. llvm-svn: 215989
2014-08-01IR: Add Value::reverseUseList()Duncan P. N. Exon Smith1-0/+43
I'm going to use this to improve `verify-uselistorder`. Part of PR5680. llvm-svn: 214594
2014-07-26IR/UseTest.cpp: Avoid std::to_string() to appease mingw32 bot.NAKAMURA Takumi1-5/+10
llvm-svn: 213994
2014-07-24Fix r213824 on windowsDuncan P. N. Exon Smith1-0/+2
llvm-svn: 213866
2014-07-24IR: Add Value::sortUseList()Duncan P. N. Exon Smith1-0/+62
Add `Value::sortUseList()`, templated on the comparison function to use. The sort is an iterative merge sort that uses a binomial vector of already-merged lists to limit the size overhead to `O(1)`. This is part of PR5680. llvm-svn: 213824