| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
bit width of the ConstantInt being converted.
llvm-svn: 34810
|
| |
|
|
| |
llvm-svn: 34219
|
| |
|
|
| |
llvm-svn: 34205
|
| |
|
|
| |
llvm-svn: 34175
|
| |
|
|
|
|
|
| |
the Transforms library. This reduces debug library size by 132 KB, debug
binary size by 376 KB, and reduces link time for llvm tools slightly.
llvm-svn: 33939
|
| |
|
|
| |
llvm-svn: 33514
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces signed integer types with signless ones:
1. [US]Byte -> Int8
2. [U]Short -> Int16
3. [U]Int -> Int32
4. [U]Long -> Int64.
5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion
and other methods related to signedness. In a few places this warranted
identifying the signedness information from other sources.
llvm-svn: 32785
|
| |
|
|
| |
llvm-svn: 32693
|
| |
|
|
|
|
| |
is 'unsigned'.
llvm-svn: 32279
|
| |
|
|
| |
llvm-svn: 31924
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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: 30698
|
| |
|
|
|
|
| |
Burg.
llvm-svn: 30657
|
| |
|
|
|
|
| |
MultiSource/Applications/Burg
llvm-svn: 30397
|
| |
|
|
|
|
|
|
| |
revealed these
changes to be incorrect. They just weren't showing up in any of our current testcases.
llvm-svn: 30385
|
| |
|
|
|
|
| |
their recursive calls.
llvm-svn: 30057
|
| |
|
|
| |
llvm-svn: 29925
|
| |
|
|
| |
llvm-svn: 25514
|
| |
|
|
| |
llvm-svn: 21798
|
| |
|
|
| |
llvm-svn: 21734
|
| |
|
|
| |
llvm-svn: 21427
|
| |
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
| |
|
|
| |
llvm-svn: 19382
|
| |
|
|
| |
llvm-svn: 17719
|
| |
|
|
|
|
|
|
|
|
| |
argument pointers. This is only valid to do if the function already
unconditionally loaded an argument or if the pointer passed in is known
to be valid. Make sure to do the required checks.
This fixed ArgumentPromotion/control-flow.ll and the Burg program.
llvm-svn: 17718
|
| |
|
|
|
|
|
| |
from ModulePass. Instead of implementing Pass::run, then should implement
ModulePass::runOnModule.
llvm-svn: 16436
|
| |
|
|
| |
llvm-svn: 16400
|
| |
|
|
|
|
|
| |
the worklist and makes it more efficient. This does not change functionality
at all.
llvm-svn: 16390
|
| |
|
|
| |
llvm-svn: 16384
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
- Excise dead CPR procesing.
llvm-svn: 14944
|
| |
|
|
|
|
|
| |
of ConstantInt objects in memory used to determine which order arguments
were added in in some cases.
llvm-svn: 14276
|
| |
|
|
|
|
|
| |
we make the transformation. This allows us to use interprocedural alias
analyses successfully.
llvm-svn: 13691
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows pointers to aggregate objects, whose elements are only read, to
be promoted and passed in by element instead of by reference. This can
enable a LOT of subsequent optimizations in the caller function.
It's worth pointing out that this stuff happens a LOT of C++ programs, because
objects in templates are generally passed around by reference. When these
templates are instantiated on small aggregate or scalar types, however, it is
more efficient to pass them in by value than by reference.
This transformation triggers most on C++ codes (e.g. 334 times on eon), but
does happen on C codes as well. For example, on mesa it triggers 72 times,
and on gcc it triggers 35 times. this is amazingly good considering that
we are using 'basicaa' so far.
llvm-svn: 12202
|
| |
|
|
| |
llvm-svn: 12200
|
| |
|
|
| |
llvm-svn: 12198
|
| |
|
|
| |
llvm-svn: 12195
|
|
|
variables.
llvm-svn: 12193
|