Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fine-grainify namespaces for this library | Chris Lattner | 2003-11-12 | 1 | -3/+3 | |
| | | | | llvm-svn: 9948 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -1/+7 | |
| | | | | llvm-svn: 9903 | |||||
* | Add support for memmove | Chris Lattner | 2003-11-09 | 1 | -0/+9 | |
| | | | | llvm-svn: 9824 | |||||
* | Handle bzero and memset in the local analysis, because we were missing the fact | Chris Lattner | 2003-11-08 | 1 | -2/+16 | |
| | | | | | | that memset returns its argument!! llvm-svn: 9811 | |||||
* | All DSGraphs keep a reference to the targetdata they are created with. This is | Chris Lattner | 2003-11-02 | 1 | -9/+11 | |
| | | | | | | | | used to eliminate the hard coded, hacked in, sparc specific, global TargetData. Changing the TargetData used to actually match the code fixes problems, and eliminates a crash. llvm-svn: 9659 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | DOn't crash if program calls the null pointer | Chris Lattner | 2003-09-24 | 1 | -1/+7 | |
| | | | | llvm-svn: 8708 | |||||
* | Make sure to add global variable initializers to the Globals graph! | Chris Lattner | 2003-09-20 | 1 | -15/+69 | |
| | | | | llvm-svn: 8636 | |||||
* | Add special case handling for calloc and realloc | Chris Lattner | 2003-09-20 | 1 | -0/+16 | |
| | | | | llvm-svn: 8630 | |||||
* | Switch from using CallInst's to represent call sites to using the LLVM | Chris Lattner | 2003-09-20 | 1 | -15/+23 | |
| | | | | | | | CallSite class. Now we can represent function calls by invoke instructions too! llvm-svn: 8629 | |||||
* | Fixed spelling and grammar. | Misha Brukman | 2003-09-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 8478 | |||||
* | DEBUG got moved to Support/Debug.h | Chris Lattner | 2003-08-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 7492 | |||||
* | Remove dead Nodes list | Chris Lattner | 2003-07-02 | 1 | -6/+4 | |
| | | | | llvm-svn: 7065 | |||||
* | Make local pass print out its progress | Chris Lattner | 2003-07-02 | 1 | -0/+3 | |
| | | | | llvm-svn: 7058 | |||||
* | Do not delete the same graph multiple times when freeing memory if graphs ↵ | Chris Lattner | 2003-06-30 | 1 | -3/+6 | |
| | | | | | | are sharing llvm-svn: 6998 | |||||
* | Move usages of explicit hash_* datastructures to use typedefs | Chris Lattner | 2003-06-30 | 1 | -4/+3 | |
| | | | | llvm-svn: 6996 | |||||
* | Revamp DSGraphs so that they can support multiple functions in the same | Chris Lattner | 2003-06-30 | 1 | -9/+10 | |
| | | | | | | DSGraph at one time llvm-svn: 6994 | |||||
* | * Changes to make NodeType be private to DSNode. | Chris Lattner | 2003-06-19 | 1 | -18/+24 | |
| | | | | | | | | * Add new MultiObject flag to DSNode which keeps track of whether or not multiple objects have been merged into the node, allowing must-alias info to be tracked. llvm-svn: 6794 | |||||
* | Nodes get forwarded when they are collapsed currently. | Chris Lattner | 2003-06-16 | 1 | -1/+4 | |
| | | | | llvm-svn: 6696 | |||||
* | Don't apply type information to load instructions if it will cause collapsing | Chris Lattner | 2003-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 5684 | |||||
* | Don't put integer pointers (longs) into the scalar map. | Chris Lattner | 2003-02-14 | 1 | -0/+10 | |
| | | | | | | This speeds stuff up by 10% on some tests, woot! llvm-svn: 5564 | |||||
* | Implement a "union-findy" version of DS-Analysis, which eliminates the | Chris Lattner | 2003-02-11 | 1 | -2/+1 | |
| | | | | | | Referrers list on DSNodes. llvm-svn: 5536 | |||||
* | Don't insert null entries into the scalar map for constexpr (cast null to Ty) | Chris Lattner | 2003-02-09 | 1 | -5/+11 | |
| | | | | llvm-svn: 5523 | |||||
* | Add a flag which effectively disables field sensitivity | Chris Lattner | 2003-02-08 | 1 | -0/+5 | |
| | | | | llvm-svn: 5506 | |||||
* | Implement optimization for direct function call case. This dramatically | Chris Lattner | 2003-02-05 | 1 | -2/+14 | |
| | | | | | | | reduces the number of function nodes created and speeds up analysis by about 10% overall. llvm-svn: 5495 | |||||
* | Fix a huge bug with handling non-pointer instructions | Chris Lattner | 2003-02-04 | 1 | -1/+16 | |
| | | | | llvm-svn: 5491 | |||||
* | Change DSGraph stuff to use hash_(set|map) instead of std::(set|map) | Chris Lattner | 2003-02-01 | 1 | -4/+4 | |
| | | | | | | This change provides a small (3%) but consistent speedup llvm-svn: 5460 | |||||
* | Remove using declarations | Chris Lattner | 2003-02-01 | 1 | -9/+6 | |
| | | | | llvm-svn: 5456 | |||||
* | free instructions mark their operands as being heap nodes. | Chris Lattner | 2003-01-28 | 1 | -1/+2 | |
| | | | | llvm-svn: 5425 | |||||
* | * Eliminate boolean arguments in favor of using enums | Chris Lattner | 2003-01-23 | 1 | -2/+2 | |
| | | | | | | * T-D pass now eliminates unreachable globals llvm-svn: 5419 | |||||
* | Slight efficiency improvement | Chris Lattner | 2003-01-23 | 1 | -4/+1 | |
| | | | | llvm-svn: 5418 | |||||
* | Two bug fixes: | Vikram S. Adve | 2002-12-06 | 1 | -13/+22 | |
| | | | | | | | | (1) Make entries for Constant values in the ScalarMap. (2) Set MOD bit for the node pointed to by the argument of a free instruction. llvm-svn: 4948 | |||||
* | Add peak memory usage support | Chris Lattner | 2002-11-18 | 1 | -1/+4 | |
| | | | | llvm-svn: 4748 | |||||
* | Initialize PrintAuxCalls member | Chris Lattner | 2002-11-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 4677 | |||||
* | eliminate the ability to remove global nodes from deadNodeElminate... for now. | Chris Lattner | 2002-11-09 | 1 | -1/+1 | |
| | | | | | | | This slows stuff down a bit, but it should get much better before it gets any worse. llvm-svn: 4666 | |||||
* | Add globals graphs to all three passes | Chris Lattner | 2002-11-09 | 1 | -10/+10 | |
| | | | | llvm-svn: 4663 | |||||
* | Clean up DSGraph::removeDeadNodes interface | Chris Lattner | 2002-11-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 4660 | |||||
* | Make removeTriviallyDeadNodes a private interface of DSGraph | Chris Lattner | 2002-11-09 | 1 | -3/+3 | |
| | | | | llvm-svn: 4659 | |||||
* | Don't put constants into the scalar map! | Chris Lattner | 2002-11-09 | 1 | -9/+13 | |
| | | | | llvm-svn: 4657 | |||||
* | Add initial support for a globals graph | Chris Lattner | 2002-11-09 | 1 | -2/+6 | |
| | | | | llvm-svn: 4656 | |||||
* | #include Datastructure.h first | Chris Lattner | 2002-11-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 4654 | |||||
* | * actually handle constants (especially constantexprs) correctly. | Chris Lattner | 2002-11-08 | 1 | -11/+28 | |
| | | | | | | | - This seems to dramatically improve many benchmarks, only slowing down gzip significantly. llvm-svn: 4621 | |||||
* | Rename DataStructureAnalysis namespace to DS | Chris Lattner | 2002-11-07 | 1 | -4/+2 | |
| | | | | llvm-svn: 4596 | |||||
* | Dramatically simplify internal DSNode representation, get implementation | Chris Lattner | 2002-11-06 | 1 | -13/+14 | |
| | | | | | | | *FULLY OPERATIONAL* and safe. We are now capable of completely analyzing at LEAST the Olden benchmarks + 181.mcf llvm-svn: 4562 | |||||
* | Rename ValueMap to ScalarMap | Chris Lattner | 2002-11-03 | 1 | -9/+9 | |
| | | | | llvm-svn: 4516 | |||||
* | Rename NewNode flag to HeapNode | Chris Lattner | 2002-11-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 4515 | |||||
* | Implement the "unknown flag" which mainly consists of aligning printing code | Chris Lattner | 2002-11-02 | 1 | -5/+10 | |
| | | | | llvm-svn: 4490 | |||||
* | Stop representing scalars as explicit nodes in the graph. Now the only | Chris Lattner | 2002-11-02 | 1 | -113/+75 | |
| | | | | | | | | | nodes in the graph are memory objects, which is very nice. This also greatly reduces the size and memory footprint for DSGraphs. For example, the local DSGraph for llu went from 65 to 13 nodes with this change. As a side bonus, dot seems to lay out the graphs slightly better too. :) llvm-svn: 4488 | |||||
* | Remove dead code | Chris Lattner | 2002-10-31 | 1 | -31/+12 | |
| | | | | llvm-svn: 4467 | |||||
* | This fixes all kinds of problems with array handling. There are still bugs to | Chris Lattner | 2002-10-31 | 1 | -31/+80 | |
| | | | | | | | | | | | | | | | | be fixed, but we are getting much closer now. * Make DSNode::TypeRec a full fledged DSTypeRec type. * Add methods used to update and access the typerecords elements * Add methods to query if and to cause a node to be completely folded * DSGraph construction doesn't use the allocation type for anything at all, now nodes get their type information based on how they are used. * Fixed a bug with global value handling introduced in the last checkin * GEP support is now much better, arrays are handled correctly. The array flag is now updated in type records. There are still cases that are not handled yet (we do not detect pessimizations), but getting much closer. llvm-svn: 4465 |