summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA
Commit message (Collapse)AuthorAgeFilesLines
...
* De-tabify.Bill Wendling2008-02-261-8/+8
| | | | llvm-svn: 47598
* Change a C-style cast to const_cast, to avoid a -Wcast-qual warning.Dan Gohman2008-02-211-1/+1
| | | | llvm-svn: 47437
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-202-3/+4
| | | | | | annoying warnings. llvm-svn: 47367
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-295-10/+10
| | | | llvm-svn: 45418
* remove attribution from lib Makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45415
* Add explicit keywords, and fix a minor typo that they uncovered.Dan Gohman2007-12-141-1/+1
| | | | llvm-svn: 45034
* Changes from Curtis Dunham implementing lazy cycle detection algorithm.Daniel Berlin2007-12-121-125/+287
| | | | | | | Changes from me implementing different way of representing points-to anything. Changes from me that improve slightly on LCD. llvm-svn: 44895
* Rather than having special rules like "intrinsics cannotDuncan Sands2007-12-031-1/+1
| | | | | | | | | throw exceptions", just mark intrinsics with the nounwind attribute. Likewise, mark intrinsics as readnone/readonly and get rid of special aliasing logic (which didn't use anything more than this anyway). llvm-svn: 44544
* Integrate the readonly/readnone logic more deeplyDuncan Sands2007-12-011-1/+1
| | | | | | | | | | | | | | | into alias analysis. This meant updating the API which now has versions of the getModRefBehavior, doesNotAccessMemory and onlyReadsMemory methods which take a callsite parameter. These should be used unless the callsite is not known, since in general they can do a better job than the versions that take a function. Also, users should no longer call the version of getModRefBehavior that takes both a function and a callsite. To reduce the chance of misuse it is now protected. llvm-svn: 44487
* chain update requests properly.Chris Lattner2007-11-301-0/+3
| | | | llvm-svn: 44460
* Create nodes for inline asm so that we don't crash looking for the node later.Nick Lewycky2007-11-221-0/+8
| | | | llvm-svn: 44267
* Silenced a VC++ warning.Hartmut Kaiser2007-10-251-1/+1
| | | | llvm-svn: 43374
* Add a new DenseSet abstraction.Chris Lattner2007-09-301-4/+4
| | | | llvm-svn: 42474
* Switch to densemap rather than std::setDaniel Berlin2007-09-291-3/+26
| | | | llvm-svn: 42462
* Ignore redundant constraintsDaniel Berlin2007-09-271-2/+20
| | | | llvm-svn: 42397
* Don't execute dump unless NDEBUG isn't defined.Bill Wendling2007-09-241-0/+2
| | | | llvm-svn: 42280
* Comment fixupsDaniel Berlin2007-09-241-12/+11
| | | | llvm-svn: 42279
* Implement offline variable substitution in order to reduce memoryDaniel Berlin2007-09-241-91/+926
| | | | | | | | and time usage. Fixup operator == to make this work, and add a resize method to DenseMap so we can resize our hashtable once we know how big it should be. llvm-svn: 42269
* Fix bug in andersen's related to test_and_set.Daniel Berlin2007-09-161-4/+3
| | | | | | | Add operator == and != to SparseBitVector. Simplify code for test_and_set llvm-svn: 42018
* Rewrite of andersen's to be about 100x faster, cleaner, and begin to support ↵Daniel Berlin2007-09-161-324/+687
| | | | | | field sensitivity llvm-svn: 42016
* Do not overuse std::string. Pass around char * directly.Devang Patel2007-08-101-1/+1
| | | | llvm-svn: 41001
* More explicit keywords.Dan Gohman2007-08-011-1/+1
| | | | llvm-svn: 40673
* Verify loop info.Devang Patel2007-07-191-1/+2
| | | | llvm-svn: 40062
* Replace mysterious code causing a g++-4.2 warningDuncan Sands2007-07-191-6/+3
| | | | | | with hopefully correct code that pleases g++-4.2. llvm-svn: 40051
* CallGraphSCCPass manager may require other passes.Devang Patel2007-06-211-1/+1
| | | | | | | Use schedulePass() to accomodate these requirement instead of directly assigning a manager to new CallGraph PassManager. llvm-svn: 37695
* Fix typo in comment.Nick Lewycky2007-05-061-1/+1
| | | | llvm-svn: 36873
* Drop 'const'Devang Patel2007-05-035-10/+10
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-025-11/+10
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Fix build error.Lauro Ramos Venancio2007-05-021-2/+4
| | | | llvm-svn: 36648
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-015-2/+20
| | | | llvm-svn: 36632
* Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov2007-04-161-13/+12
| | | | | | target for tabs checking. llvm-svn: 36146
* Avoid constructing std::strings unless pass debugging is ON.Devang Patel2007-03-051-10/+5
| | | | llvm-svn: 34933
* Unbreak VC++ build.Jeff Cohen2007-03-051-0/+1
| | | | llvm-svn: 34917
* Make getPassManagerType() const.Devang Patel2007-02-271-1/+1
| | | | llvm-svn: 34669
* Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduceReid Spencer2007-02-053-6/+10
| | | | | | LLVM's footprint and speed up linking. llvm-svn: 33941
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-021-3/+0
| | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
* Dump function names when debug-pass=Executions is used.Devang Patel2007-02-011-1/+5
| | | | llvm-svn: 33772
* Pretty print pass managerDevang Patel2007-02-011-0/+4
| | | | llvm-svn: 33766
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-303-7/+7
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Use StartPassTimer() and StopPassManager()Devang Patel2007-01-291-3/+2
| | | | llvm-svn: 33640
* Measure timings.Devang Patel2007-01-291-2/+3
| | | | llvm-svn: 33627
* Remove dead code.Devang Patel2007-01-261-9/+0
| | | | | | | CallGraphSCCPass does not need to implement runOnModule(). It supports runOnSCC(). llvm-svn: 33516
* Fix typo.Devang Patel2007-01-231-1/+1
| | | | llvm-svn: 33467
* Add CallGraphSCCPass::assignPassManager().Devang Patel2007-01-231-0/+38
| | | | | | This enables CalLGraphPassManager. llvm-svn: 33466
* Add CGPassManager.Devang Patel2007-01-171-0/+124
| | | | llvm-svn: 33309
* For PR950:Reid Spencer2006-12-232-3/+6
| | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751
* eliminate static ctors from StatisticsChris Lattner2006-12-192-27/+14
| | | | llvm-svn: 32697
* Added an automatic cast to "std::ostream*" etc. from OStream. We then canBill Wendling2006-12-171-2/+2
| | | | | | | rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the correct print() method. llvm-svn: 32636
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-072-28/+28
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-062-10/+10
| | | | | | is 'unsigned'. llvm-svn: 32279
OpenPOWER on IntegriCloud