summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a couple of more functions that cannot access memory (the intrinsics) andChris Lattner2004-04-101-0/+7
| | | | | | don't write to memory llvm-svn: 12808
* Fix a bug Brian found.Chris Lattner2004-04-071-2/+3
| | | | llvm-svn: 12754
* Sparc don't got not "sqrtl", bum bum bumChris Lattner2004-04-051-1/+1
| | | | llvm-svn: 12670
* Kill warnings during an optimized compile where assert() disappears.Misha Brukman2004-04-051-0/+2
| | | | llvm-svn: 12669
* Fix PR312 and IndVarsSimplify/2004-04-05-InvokeCastCrash.llxChris Lattner2004-04-051-0/+2
| | | | llvm-svn: 12668
* Support getelementptr instructions which use uint's to index into structureChris Lattner2004-04-052-15/+37
| | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653
* Implement test/Regression/Transforms/GCSE/undefined_load.llChris Lattner2004-04-031-0/+14
| | | | llvm-svn: 12641
* Add a break in the default caseChris Lattner2004-04-031-0/+1
| | | | llvm-svn: 12639
* Remove obsolete filesChris Lattner2004-04-021-324/+0
| | | | llvm-svn: 12633
* Comment out debugging printoutsChris Lattner2004-04-021-1/+5
| | | | llvm-svn: 12623
* Add a new analysisChris Lattner2004-04-021-0/+2482
| | | | llvm-svn: 12619
* Minor efficiency improvement, finegrainify namespacificationChris Lattner2004-03-251-5/+10
| | | | llvm-svn: 12517
* Fix a HORRIBLY NASTY bug that caused siod to stop working last night.Chris Lattner2004-03-171-1/+1
| | | | llvm-svn: 12479
* Add some missing functions. Make sure to handle calls together in case theChris Lattner2004-03-162-3/+21
| | | | | | client has another VN implementation that can VN calls. llvm-svn: 12427
* Ok, the assertion was bogus. Calls that do not read/write memory should notChris Lattner2004-03-151-0/+6
| | | | | | have an alias set, just like adds and subtracts don't. llvm-svn: 12422
* This assertion is bogus now that calls do not necessarily read/write memoryChris Lattner2004-03-151-2/+0
| | | | llvm-svn: 12421
* Implement CSE of call instructions in the most trivial case. This implementsChris Lattner2004-03-151-11/+139
| | | | | | GCSE/call_cse.ll llvm-svn: 12419
* Fix a minor bug, implementing GCSE/call_pure_function.llChris Lattner2004-03-151-3/+6
| | | | | | Also, add some stuff I missed before. llvm-svn: 12417
* Don't be COMPLETELY pessimistic in the face of function callsChris Lattner2004-03-151-4/+20
| | | | llvm-svn: 12413
* Deinline some virtual methods, provide better mod/ref answers through theChris Lattner2004-03-151-5/+21
| | | | | | use of the boolean queries llvm-svn: 12410
* Pass through the boolean queriesChris Lattner2004-03-151-0/+12
| | | | llvm-svn: 12409
* Teach basicaa about some stdc functions.Chris Lattner2004-03-151-5/+100
| | | | llvm-svn: 12408
* Fix a tiny bug that caused an incorrect assertion failure poolallocatingChris Lattner2004-03-131-4/+6
| | | | | | boxed-sim. llvm-svn: 12358
* Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* toChris Lattner2004-03-131-5/+3
| | | | | | Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file. llvm-svn: 12356
* Fix a couple of minor problems. Because PHI nodes can use themselves, thisChris Lattner2004-03-121-4/+1
| | | | | | could cause infinite loops. Also, getUnderlyingObject can return null llvm-svn: 12351
* Implement mod/ref analysis for a trivial case where locals don't escape.Chris Lattner2004-03-121-0/+52
| | | | | | | This comes up when you have a local array on the stack and you never pass the address of elements around. llvm-svn: 12349
* Simplify code to process CallSites (thanks to Chris).Misha Brukman2004-03-121-4/+2
| | | | llvm-svn: 12334
* Evaluate ModRef information in addition to regular ol' pointer analysis.Misha Brukman2004-03-121-24/+93
| | | | llvm-svn: 12331
* Implement getModRefInfo() for DSA to calculate whether a function modifies orMisha Brukman2004-03-121-5/+39
| | | | | | references a pointer. llvm-svn: 12330
* Make code more readable.Misha Brukman2004-03-121-35/+31
| | | | llvm-svn: 12305
* Fix PR284: [indvars] Induction variable analysis violates LLVM invariantsChris Lattner2004-03-101-1/+5
| | | | llvm-svn: 12275
* implement new methodChris Lattner2004-03-091-0/+24
| | | | llvm-svn: 12264
* Switch to using edge profiling information as the basic source of profile infoChris Lattner2004-03-082-5/+73
| | | | | | from using basic block counts. llvm-svn: 12242
* Refactor implementationsChris Lattner2004-03-082-10/+3
| | | | llvm-svn: 12240
* Import the trace class from the reoptimizerChris Lattner2004-03-081-0/+50
| | | | llvm-svn: 12236
* If we have edge counts, we can produce block counts. I've verified thatChris Lattner2004-03-081-11/+67
| | | | | | | using an edge profile to produce block counts gives the exact same numbers as using a block count directly. llvm-svn: 12232
* Add initial support for reading edge counts. This will be improved to enableChris Lattner2004-03-081-0/+29
| | | | | | translation of edge counts into block/function counts when possible. llvm-svn: 12229
* Fix a bug handling globals that are constants, but are still externalChris Lattner2004-03-081-1/+1
| | | | llvm-svn: 12208
* Fix a minor bugChris Lattner2004-03-051-1/+2
| | | | llvm-svn: 12169
* Unbreak the build on Sparc.Misha Brukman2004-03-051-0/+2
| | | | llvm-svn: 12161
* Fix a bug in a previous checkin that broke 175.vprChris Lattner2004-03-041-1/+1
| | | | llvm-svn: 12128
* Add support for strto* and v*printfChris Lattner2004-03-041-0/+66
| | | | llvm-svn: 12127
* Add non-crappy support for varargsChris Lattner2004-03-041-6/+32
| | | | llvm-svn: 12126
* Implement a FIXME, improving the efficiency of DSA on povray.Chris Lattner2004-03-041-2/+16
| | | | | | | This reduces CBU time from 145s -> 122s (debug build), reduces # allocated nodes from 129420 to 116477. llvm-svn: 12125
* Speed up the cbu pass from taking somewhere near the age of the universe to ↵Chris Lattner2004-03-041-6/+28
| | | | | | about 90s on povray llvm-svn: 12123
* Fix BU datastructures with povray!Chris Lattner2004-03-041-11/+25
| | | | | | | | The problem was that we were merging a field of a node with a value that was deleted. Thanks to bugpoint for reducing povray to a nice small 3 function example. :) llvm-svn: 12116
* Minor changes, remove some debugging code that got checked in somehow.Chris Lattner2004-03-041-7/+10
| | | | | | | Make sure to scope the NodeMap passed into cloneInto so that it doesn't point to nodes that are deleted. Add some FIXME's for future performance enhancements. llvm-svn: 12115
* Only clone nodes that are needed in the caller, don't clone ALL aux calls. ↵Chris Lattner2004-03-041-20/+48
| | | | | | | | This improves povray from having ~600K nodes and 300K call nodes to 65K nodes and 25K call nodes. llvm-svn: 12109
* Fix a minor bug handling incomplete programsChris Lattner2004-03-031-1/+1
| | | | llvm-svn: 12105
* Fix a DSA bug that caused DSA to generate incredibly huge graphs and take ↵Chris Lattner2004-03-031-1/+34
| | | | | | | | | | forever to do it on povray. The problem is that we were not copying globals from callees to callers unless the existed in both graphs. We should have copied them in the case where the global pointed to a node that was copied as well. llvm-svn: 12104
OpenPOWER on IntegriCloud