| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 32550
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
|
|
|
| |
adding a temporary wrapper around the ostream to make it friendly to
functions expecting an LLVM stream. This should be fixed in the future.
llvm-svn: 31990
|
|
|
|
|
|
|
|
|
|
| |
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.
llvm-svn: 31931
|
|
|
|
| |
llvm-svn: 31811
|
|
|
|
| |
llvm-svn: 31511
|
|
|
|
|
|
|
|
|
|
| |
improves readability of the call handling code significantly, as well as
makes it clear which parts are hacky (externals) and which parts are good
(call handling).
No functionality change.
llvm-svn: 31415
|
|
|
|
|
|
|
|
|
|
| |
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining
issues when they see them. All changes pass DejaGnu tests and Olden.
llvm-svn: 31380
|
|
|
|
| |
llvm-svn: 31128
|
|
|
|
|
|
|
|
| |
This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.
llvm-svn: 31063
|
|
|
|
| |
llvm-svn: 30933
|
|
|
|
| |
llvm-svn: 29921
|
|
|
|
| |
llvm-svn: 28955
|
|
|
|
| |
llvm-svn: 27970
|
|
|
|
| |
llvm-svn: 27830
|
|
|
|
| |
llvm-svn: 27821
|
|
|
|
| |
llvm-svn: 27819
|
|
|
|
| |
llvm-svn: 27812
|
|
|
|
| |
llvm-svn: 27811
|
|
|
|
| |
llvm-svn: 27672
|
|
|
|
| |
llvm-svn: 27428
|
|
|
|
| |
llvm-svn: 26781
|
|
|
|
| |
llvm-svn: 26779
|
|
|
|
| |
llvm-svn: 26774
|
|
|
|
|
|
| |
PR709, and paving the way for future progress.
llvm-svn: 26476
|
|
|
|
| |
llvm-svn: 25509
|
|
|
|
|
|
| |
Make the dsa-alloc-list and dsa-free-list options hidden.
llvm-svn: 24864
|
|
|
|
| |
llvm-svn: 24863
|
|
|
|
|
|
| |
functions that allocate memory.
llvm-svn: 24862
|
|
|
|
| |
llvm-svn: 24621
|
|
|
|
| |
llvm-svn: 22254
|
|
|
|
| |
llvm-svn: 21416
|
|
|
|
|
|
|
| |
by not allowing integer constants to get into the scalar map in the first
place.
llvm-svn: 20764
|
|
|
|
|
|
|
|
|
| |
Globals Graph for the local pass, the second is after all of the locals
graphs have been constructed. This allows for many additional global EC's
to be recognized that weren't before. This speeds up analysis of programs
like 177.mesa, where it changes DSA from taking 0.712s to 0.4018s.
llvm-svn: 20711
|
|
|
|
| |
llvm-svn: 20703
|
|
|
|
| |
llvm-svn: 20699
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to tell apart anyway, and only track the leader for of these equivalence
classes in our graphs.
This dramatically reduces the number of GlobalValue*'s that appear in scalar
maps, which A) reduces memory usage, by eliminating many many scalarmap entries
and B) reduces time for operations that need to execute an operation for each
global in the scalar map.
As an example, this reduces the memory used to analyze 176.gcc from 1GB to
511MB, which (while it's still way too much) is better because it doesn't hit
swap anymore. On eon, this shrinks the local graphs from 14MB to 6.8MB,
shrinks the bu+td graphs of povray from 50M to 40M, shrinks the TD graphs of
130.li from 8.8M to 3.6M, etc.
This change also speeds up DSA on large programs where this makes a big
difference. For example, 130.li goes from 1.17s -> 0.56s, 134.perl goes
from 2.14 -> 0.93s, povray goes from 15.63s->7.99s (!!!).
This also apparently either fixes the problem that caused DSA to crash on
perlbmk and gcc, or it hides it, because DSA now works on these. These
both take entirely too much time in the TD pass (147s for perl, 538s for
gcc, vs 7.67/5.9s in the bu pass for either one), but this is a known
problem that I'll deal with later.
llvm-svn: 20696
|
|
|
|
| |
llvm-svn: 20674
|
|
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
|
|
|
| |
llvm-svn: 20462
|
|
|
|
| |
llvm-svn: 20436
|
|
|
|
|
|
|
|
| |
Actually teach dsa about select instructions. This doesn't affect the
graph in any way other than not setting a spurious U marker on pointer
nodes that are selected.
llvm-svn: 20324
|
|
|
|
|
|
|
|
|
| |
X = gep null, ...
Used to not create a scalar map entry for X, which caused clients to barf.
This is bad.
llvm-svn: 20316
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
llvm-svn: 19506
|
|
|
|
| |
llvm-svn: 18630
|
|
|
|
| |
llvm-svn: 17631
|
|
|
|
| |
llvm-svn: 17457
|
|
|
|
| |
llvm-svn: 17356
|
|
|
|
| |
llvm-svn: 17260
|