summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopVR.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove LoopVR pass. According to Nick:Chris Lattner2009-10-081-297/+0
| | | | | | | "LoopVR's logic was copied into ScalarEvolution::getUnsignedRange and ::getSignedRange. Please delete LoopVR." llvm-svn: 83531
* Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner2009-08-231-2/+1
| | | | | | update all code that this affects. llvm-svn: 79830
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-3/+3
| | | | llvm-svn: 78948
* Eliminate a few unused-variable warningsDouglas Gregor2009-07-291-2/+0
| | | | llvm-svn: 77519
* Move types back to the 2.5 API.Owen Anderson2009-07-291-2/+2
| | | | llvm-svn: 77516
* Get rid of the Pass+Context magic.Owen Anderson2009-07-221-2/+4
| | | | llvm-svn: 76702
* Replace intersectWith with maximalIntersectWith. The latter guarantees thatNick Lewycky2009-07-181-5/+4
| | | | | | | | all values belonging to the intersection will belong to the resulting range. The former was inconsistent about that point (either way is fine, just pick one.) This is part of PR4545. llvm-svn: 76289
* Forward-declare Loop and LoopInfo instead of #including LoopInfo.h.Dan Gohman2009-07-131-0/+7
| | | | llvm-svn: 75529
* Change all SCEV* to SCEV *.Dan Gohman2009-07-071-7/+7
| | | | llvm-svn: 74918
* Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's ↵Owen Anderson2009-07-061-2/+3
| | | | | | through the ValueTracking API. llvm-svn: 74873
* SCEVHandle is no more!Owen Anderson2009-06-221-7/+7
| | | | llvm-svn: 73906
* More const qualifiers.Dan Gohman2009-04-181-14/+14
| | | | llvm-svn: 69451
* LoopVR is not CFGOnly.Dan Gohman2009-03-231-1/+1
| | | | llvm-svn: 67524
* Rename ScalarEvolution's getIterationCount to getBackedgeTakenCount,Dan Gohman2009-02-241-1/+1
| | | | | | | | | to more accurately describe what it does. Expand its doxygen comment to describe what the backedge-taken count is and how it differs from the actual iteration count of the loop. Adjust names and comments in associated code accordingly. llvm-svn: 65382
* Avoid crashing if instruction is not part of a loop.Torok Edwin2008-10-271-2/+3
| | | | | | If it is not part of a loop it is obviously invariant wrt to all loops. llvm-svn: 58240
* Switch the asmprinter (.ll) and all the stuff it requires over toChris Lattner2008-08-231-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | use raw_ostream instead of std::ostream. Among other goodness, this speeds up llvm-dis of kc++ with a release build from 0.85s to 0.49s (88% faster). Other interesting changes: 1) This makes Value::print be non-virtual. 2) AP[S]Int and ConstantRange can no longer print to ostream directly, use raw_ostream instead. 3) This fixes a bug in raw_os_ostream where it didn't flush itself when destroyed. 4) This adds a new SDNode::print method, instead of only allowing "dump". A lot of APIs have both std::ostream and raw_ostream versions, it would be useful to go through and systematically anihilate the std::ostream versions. This passes dejagnu, but there may be minor fallout, plz let me know if so and I'll fix it. llvm-svn: 55263
* Add a value range analysis that lazily computes ranges using ScalarEvolutions.Nick Lewycky2008-06-301-0/+289
llvm-svn: 52885
OpenPOWER on IntegriCloud