aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/Interval.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
2017-07-24[Analysis] Fix some Clang-tidy modernize-use-using and Include What You Use ↵Eugene Zelenko1-3/+0
warnings; other minor fixes (NFC). llvm-svn: 308936
2016-06-26Apply clang-tidy's modernize-loop-convert to lib/Analysis.Benjamin Kramer1-9/+6
Only minor manual fixes. No functionality change intended. llvm-svn: 273816
2014-07-21Revert "[C++11] Add predecessors(BasicBlock *) / successors(BasicBlock *) ↵Duncan P. N. Exon Smith1-2/+3
iterator ranges." This reverts commit r213474 (and r213475), which causes a miscompile on a stage2 LTO build. I'll reply on the list in a moment. llvm-svn: 213562
2014-07-20[C++11] Add predecessors(BasicBlock *) / successors(BasicBlock *) iterator ↵Manuel Jacob1-3/+2
ranges. Summary: This patch introduces two new iterator ranges and updates existing code to use it. No functional change intended. Test Plan: All tests (make check-all) still pass. Reviewers: dblaikie Reviewed By: dblaikie Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4481 llvm-svn: 213474
2014-03-04[Modules] Move CFG.h to the IR library as it defines graph traits overChandler Carruth1-1/+1
IR types. llvm-svn: 202827
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-1/+1
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵Sylvestre Ledru1-1/+1
See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru1-1/+1
llvm-svn: 164767
2009-08-23Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner1-2/+1
update all code that this affects. llvm-svn: 79830
2009-08-23eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner1-10/+12
This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
llvm-svn: 45418
2005-04-21Remove trailing whitespaceMisha Brukman1-3/+3
llvm-svn: 21416
2004-07-15Fixes for PR341Chris Lattner1-7/+10
llvm-svn: 14843
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke1-0/+2
llvm-svn: 9903
2003-10-20Added LLVM project notice to the top of every C++ source file.John Criswell1-0/+7
Header files will be on the way. llvm-svn: 9298
2003-10-13Regularize header file commentsChris Lattner1-1/+1
llvm-svn: 9071
2002-07-31*** empty log message ***Chris Lattner1-1/+1
llvm-svn: 3185
2002-07-27* Standardize how analysis results/passes as printed with the print() virtualChris Lattner1-0/+17
methods * Eliminate AnalysisID: Now it is just a typedef for const PassInfo* * Simplify how AnalysisID's are initialized * Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into the analyses themselves. llvm-svn: 3116
2002-04-28Eliminate the cfg namespace, moving LoopInfo, Dominators, Interval* classesChris Lattner1-3/+3
to the global namespace llvm-svn: 2370
2002-02-12* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner1-2/+3
llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750
2001-10-01Pull predecessor and successor iterators out of the CFG*.h files, and plop ↵Chris Lattner1-5/+3
them into the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock, and the cfg namespace isn't used anymore. llvm-svn: 691
2001-09-28Pull iterators out of CFG.h and CFGdecls and put them in Support directoryChris Lattner1-1/+0
llvm-svn: 664
2001-06-24IntervalPartition & IntervalIterator classes have been split out intoChris Lattner1-197/+4
their own .h files & .cpp file llvm-svn: 62
2001-06-24Prepare for split between Interval, IntervalIterator, and IntervalIPartitionChris Lattner1-2/+2
llvm-svn: 60
2001-06-22Interval::HeaderNode is now accessed thorugh an accessor functionChris Lattner1-1/+1
llvm-svn: 56
2001-06-21Implement the new Interval::isLoop methodChris Lattner1-0/+29
Implement destructor to free memory llvm-svn: 51
2001-06-20Add capability to build a derived interval graphChris Lattner1-44/+153
llvm-svn: 41
2001-06-20Initial Checking of Interval handling codeChris Lattner1-0/+85
llvm-svn: 39