Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Make some methods more const correct. | Chris Lattner | 2005-01-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | * Change the FunctionCalls and AuxFunctionCalls vectors into std::lists. This makes many operations on these lists much more natural, and avoids *exteremely* expensive copying of DSCallSites (e.g. moving nodes around between lists, erasing a node from not the end of the vector, etc). With a profile build of analyze, this speeds up BU DS from 25.14s to 12.59s on 176.gcc. I expect that it would help TD even more, but I don't have data for it. This effectively eliminates removeIdenticalCalls and children from the profile, going from 6.53 to 0.27s. llvm-svn: 19939 | ||||
* | Silence VC++ warnings. | Chris Lattner | 2005-01-12 | 1 | -3/+4 |
| | | | | llvm-svn: 19506 | ||||
* | Work correctly with ICC, Patch contributed by Bjørn Wennberg | Chris Lattner | 2004-12-08 | 1 | -8/+16 |
| | | | | llvm-svn: 18630 | ||||
* | Handle assert_fail special | Chris Lattner | 2004-11-08 | 1 | -0/+7 |
| | | | | llvm-svn: 17631 | ||||
* | Don't call Constant::getNullValue when the argument could be VoidTy | Chris Lattner | 2004-11-03 | 1 | -2/+3 |
| | | | | llvm-svn: 17457 | ||||
* | Fix more undefined behavior | Chris Lattner | 2004-10-30 | 1 | -10/+13 |
| | | | | llvm-svn: 17356 | ||||
* | add support for UndefValue | Chris Lattner | 2004-10-26 | 1 | -1/+1 |
| | | | | llvm-svn: 17260 | ||||
* | Add support for undef | Chris Lattner | 2004-10-16 | 1 | -0/+3 |
| | | | | llvm-svn: 17055 | ||||
* | Dont' let null nodes sneak past cast instructions | Chris Lattner | 2004-10-06 | 1 | -1/+4 |
| | | | | llvm-svn: 16779 | ||||
* | 'Pass' should now not be derived from by clients. Instead, they should derive | Chris Lattner | 2004-09-20 | 1 | -1/+1 |
| | | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -3/+3 |
| | | | | | | | | 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 | ||||
* | Hide this option | Chris Lattner | 2004-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 15415 | ||||
* | These files don't need to include <iostream> since they include ↵ | Brian Gaeke | 2004-07-21 | 1 | -1/+0 |
| | | | | | | "Support/Debug.h". llvm-svn: 15089 | ||||
* | bug 122: | Reid Spencer | 2004-07-18 | 1 | -13/+8 |
| | | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Minimize redundant isa<GlobalValue> usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14942 | ||||
* | Move all of the DSA headers into the Analysis/DataStructure subdir. | Chris Lattner | 2004-07-07 | 1 | -2/+2 |
| | | | | llvm-svn: 14663 | ||||
* | As much as I hate to say it, the whole setNode interface for DSNodeHandles | Chris Lattner | 2004-07-07 | 1 | -2/+1 |
| | | | | | | | | | | | | is HOPELESSLY broken. The problem is that the embedded getNode call can change the offset of the node handle in unpredictable ways. As it turns out, all of the clients of this method really want to set both the node and the offset, thus it is more efficient (and less buggy) to just do both of them in one method call. This fixes some obscure bugs handling non-forwarded node handles. llvm-svn: 14660 | ||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 1 | -0/+1 |
| | | | | llvm-svn: 14622 | ||||
* | Recognize memalign and friends, and handle them specially. | Vikram S. Adve | 2004-05-25 | 1 | -1/+2 |
| | | | | llvm-svn: 13741 | ||||
* | Fix a really nasty bug with the -disable-ds-field-sensitivity option | Chris Lattner | 2004-05-23 | 1 | -0/+3 |
| | | | | llvm-svn: 13681 | ||||
* | Support getelementptr instructions which use uint's to index into structure | Chris Lattner | 2004-04-05 | 1 | -1/+2 |
| | | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653 | ||||
* | Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* to | Chris Lattner | 2004-03-13 | 1 | -5/+3 |
| | | | | | | Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file. llvm-svn: 12356 | ||||
* | Unbreak the build on Sparc. | Misha Brukman | 2004-03-05 | 1 | -0/+2 |
| | | | | llvm-svn: 12161 | ||||
* | Add support for strto* and v*printf | Chris Lattner | 2004-03-04 | 1 | -0/+66 |
| | | | | llvm-svn: 12127 | ||||
* | Add non-crappy support for varargs | Chris Lattner | 2004-03-04 | 1 | -6/+32 |
| | | | | llvm-svn: 12126 | ||||
* | Fix a minor bug handling incomplete programs | Chris Lattner | 2004-03-03 | 1 | -1/+1 |
| | | | | llvm-svn: 12105 | ||||
* | Really, only if reopen | Chris Lattner | 2004-03-02 | 1 | -1/+2 |
| | | | | llvm-svn: 12080 | ||||
* | Correctly add an array marker on a node when appropriate! | Chris Lattner | 2004-03-01 | 1 | -0/+4 |
| | | | | llvm-svn: 12055 | ||||
* | ADD MORE FUNCTIONS! | Chris Lattner | 2004-02-27 | 1 | -14/+20 |
| | | | | llvm-svn: 11927 | ||||
* | Be a good little compiler and handle direct calls efficiently, even if there | Chris Lattner | 2004-02-26 | 1 | -10/+13 |
| | | | | | | are beastly ConstantPointerRefs in the way... llvm-svn: 11883 | ||||
* | Add _more_ functions | Chris Lattner | 2004-02-26 | 1 | -3/+20 |
| | | | | llvm-svn: 11862 | ||||
* | When building local graphs, clone the initializer for constant globals into each | Chris Lattner | 2004-02-25 | 1 | -7/+21 |
| | | | | | | local graph that uses the global. llvm-svn: 11850 | ||||
* | Add a bunch more functions | Chris Lattner | 2004-02-25 | 1 | -8/+55 |
| | | | | llvm-svn: 11847 | ||||
* | Add a bunch more functions used by perlbmk | Chris Lattner | 2004-02-25 | 1 | -14/+50 |
| | | | | llvm-svn: 11824 | ||||
* | Add support for 'rename' | Chris Lattner | 2004-02-24 | 1 | -4/+9 |
| | | | | llvm-svn: 11813 | ||||
* | Add support for remove, fwrite, and fread | Chris Lattner | 2004-02-24 | 1 | -22/+53 |
| | | | | | | | Also fix problem where we didn't check to see if a node pointer was null. Though fclose(null) doesn't make a lot of sense, 300.twolf does it. llvm-svn: 11810 | ||||
* | Add two missing returns, which caused us to be very pessimistic about the | Chris Lattner | 2004-02-20 | 1 | -1/+2 |
| | | | | | | printf and scanf families! llvm-svn: 11683 | ||||
* | Add support for some string functions, the scanf family, and sprintf | Chris Lattner | 2004-02-20 | 1 | -4/+66 |
| | | | | llvm-svn: 11673 | ||||
* | Only spit out warning for functions that take pointers, not for sin and the like | Chris Lattner | 2004-02-16 | 1 | -5/+25 |
| | | | | | | Add more special case handling for stdio functions. I feel dirty, how about you? llvm-svn: 11506 | ||||
* | memset and bcopy and now unified by the llvm.memset intrinsic | Chris Lattner | 2004-02-16 | 1 | -14/+5 |
| | | | | llvm-svn: 11503 | ||||
* | No need to scan zero initializers. This should make DSA a bit faster. | Chris Lattner | 2004-02-15 | 1 | -0/+2 |
| | | | | llvm-svn: 11471 | ||||
* | Add support for a bunch more functions | Chris Lattner | 2004-02-13 | 1 | -0/+56 |
| | | | | llvm-svn: 11395 | ||||
* | Add support for fopen/fclose. Specifically with fopen, we were marking all ↵ | Chris Lattner | 2004-02-13 | 1 | -0/+27 |
| | | | | | | | | | | of the operands as incomplete, though fopen is known to only read them. This just adds fclose for symmetry, though it doesn't gain anything. This makes the dsgraphs for 181.mcf much more precise. llvm-svn: 11390 | ||||
* | Restructure code to handle memcpy/memmove | Chris Lattner | 2004-02-13 | 1 | -28/+33 |
| | | | | llvm-svn: 11374 | ||||
* | Instead of callign removeTriviallyDeadNodes on the global graph every time | Chris Lattner | 2004-02-08 | 1 | -0/+1 |
| | | | | | | | | | removeDeadNodes is called, only call it at the end of the pass being run. This saves 1.3 seconds running DSA on 177.mesa (5.3->4.0s), which is pretty big. This is only possible because of the automatic garbage collection done on forwarding nodes. llvm-svn: 11178 | ||||
* | This call is no longer needed now that merging does not produce garbage | Chris Lattner | 2004-02-08 | 1 | -1/+0 |
| | | | | llvm-svn: 11176 | ||||
* | Rename DSGraph::ScalarMapTy -> DSScalarMap | Chris Lattner | 2004-01-28 | 1 | -3/+3 |
| | | | | llvm-svn: 11001 | ||||
* | minor cleanups | Chris Lattner | 2004-01-27 | 1 | -4/+3 |
| | | | | llvm-svn: 10985 | ||||
* | Do not depend on index type to determine whether it is a structure or ↵ | Chris Lattner | 2003-11-25 | 1 | -11/+12 |
| | | | | | | sequential index llvm-svn: 10221 | ||||
* | Implement a small optimization to handling of GEP's that are equivalent to ↵ | Chris Lattner | 2003-11-14 | 1 | -0/+18 |
| | | | | | | | | casts. This results in substantially reduced collapsing for some testcases llvm-svn: 10002 | ||||
* | Disable integer tracking by default | Chris Lattner | 2003-11-13 | 1 | -1/+6 |
| | | | | llvm-svn: 9960 |