aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/IntervalPartition.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-06-26Apply clang-tidy's modernize-loop-convert to lib/Analysis.Benjamin Kramer1-3/+2
Only minor manual fixes. No functionality change intended. llvm-svn: 273816
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check ↵Craig Topper1-1/+1
instead of comparing to nullptr. llvm-svn: 206243
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
llvm-svn: 115996
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-1/+1
llvm-svn: 110460
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-1/+1
llvm-svn: 110410
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson1-1/+1
address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-2/+2
llvm-svn: 109045
2009-08-23Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner1-1/+1
update all code that this affects. llvm-svn: 79830
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman1-1/+1
llvm-svn: 55779
2008-08-28rename destroy -> releaseMemory to properly hook into passmgr.Chris Lattner1-2/+2
llvm-svn: 55508
2008-08-28Clear the intervals list in "destroy", patch by Chris Lattner1-0/+1
Prakash Prabhu! llvm-svn: 55458
2008-06-21fix warning when assertions disabled.Chris Lattner1-2/+1
llvm-svn: 52589
2008-03-20These passes preserve CFG.Devang Patel1-1/+1
This patch fixes Benchmarks/Trimaran/enc-pc1/enc-pc1 failure reported by Grawp-PIC i386 nightly tester llvm-svn: 48623
2008-03-20Restore isCFGOnly property of various analysis passes.Devang Patel1-1/+1
llvm-svn: 48579
2008-03-19PassInfo keep tracks whether a pass is an analysis pass or not.Devang Patel1-1/+1
llvm-svn: 48554
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
llvm-svn: 45418
2007-05-03Drop 'const'Devang Patel1-1/+1
llvm-svn: 36662
2007-05-02Use 'static const char' instead of 'static const int'.Devang Patel1-1/+1
Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
2007-05-01Do not use typeinfo to identify pass in pass manager.Devang Patel1-1/+3
llvm-svn: 36632
2006-08-27Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.Chris Lattner1-1/+1
llvm-svn: 29921
2005-04-26Make interval partition print correctly, patch contributed byChris Lattner1-2/+2
Vladimir Prus! llvm-svn: 21566
2005-04-22Convert tabs to spacesMisha Brukman1-1/+1
llvm-svn: 21439
2005-04-21Remove trailing whitespaceMisha Brukman1-3/+3
llvm-svn: 21416
2005-02-22Remove use of bind_obj, deleter, and finegrainify namespacification.Chris Lattner1-18/+15
llvm-svn: 20277
2004-12-07For PR387:\Reid Spencer1-1/+1
Make only one print method to avoid overloaded virtual warnings when \ compiled with -Woverloaded-virtual llvm-svn: 18589
2004-09-03Fixes to make LLVM compile with vc7.1.Alkis Evlogimenos1-1/+2
Patch contributed by Paolo Invernizzi! llvm-svn: 16152
2004-09-01Changes For Bug 352Reid Spencer1-1/+1
Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke1-0/+4
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-4/+2
llvm-svn: 9071
2002-10-29Fix spelling of `propagate'.Misha Brukman1-3/+3
llvm-svn: 4423
2002-08-21- Do not expose ::ID from any of the analyses anymore.Chris Lattner1-2/+0
llvm-svn: 3417
2002-08-09*** empty log message ***Chris Lattner1-5/+5
llvm-svn: 3282
2002-07-31*** empty log message ***Chris Lattner1-1/+1
llvm-svn: 3185
2002-07-30Declare that these passes only depend on the CFG of the functionChris Lattner1-1/+1
llvm-svn: 3157
2002-07-27* Standardize how analysis results/passes as printed with the print() virtualChris Lattner1-1/+6
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-07-26* Add support for different "PassType's"Chris Lattner1-0/+3
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3112
2002-06-25MEGAPATCH checkin.Chris Lattner1-6/+4
For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
2002-05-06Mark analyses that only depend on the CFG of a functionChris Lattner1-1/+1
llvm-svn: 2507
2002-04-28Eliminate the cfg namespace, moving LoopInfo, Dominators, Interval* classesChris Lattner1-4/+3
to the global namespace llvm-svn: 2370
2002-04-27* Rename MethodPass class to FunctionPassChris Lattner1-5/+5
- Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333
2002-04-07Change references to the Method class to be references to the FunctionChris Lattner1-8/+8
class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
2002-01-31Convert analyses to new pass structureChris Lattner1-3/+8
llvm-svn: 1603
2002-01-20Changes to build successfully with GCC 3.02Chris Lattner1-0/+1
llvm-svn: 1503
2001-11-27Create a new #include "Support/..." directory structure to move thingsChris Lattner1-1/+1
from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
2001-07-23Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner1-1/+1
llvm-svn: 279
2001-07-03IntervalPartition was changed to inherit from vector<Interval*> instead ofChris Lattner1-1/+1
contain it so that it would have full iterator access without much work. Writer includes code to print out IntervalPartition's now. llvm-svn: 133
2001-07-02Moved deleter to include/llvm/Tools/STLExtras.hChris Lattner1-2/+0
llvm-svn: 120
2001-06-27Miscellaneous cleanups:Chris Lattner1-13/+18
* Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method llvm-svn: 96
2001-06-25IntervalPartition: recode to use IntervalIterator to do all the workChris Lattner1-117/+29
LoopDepth.cpp: new file that calculates the depth of a loop, using IntervalPartitions. llvm-svn: 71