| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
loop.
- Avoid loop unswich for loop header branch.
- While cloning dominators fix typo and handle self dominating blocks.
llvm-svn: 37772
|
| |
|
|
| |
llvm-svn: 37771
|
| |
|
|
|
|
| |
to loop unswitch candidate for the loop.
llvm-svn: 37770
|
| |
|
|
| |
llvm-svn: 37446
|
| |
|
|
|
|
|
|
| |
Testcases :
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049451.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049452.html
llvm-svn: 36955
|
| |
|
|
| |
llvm-svn: 36662
|
| |
|
|
|
|
|
| |
Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.
llvm-svn: 36652
|
| |
|
|
| |
llvm-svn: 36632
|
| |
|
|
| |
llvm-svn: 34992
|
| |
|
|
| |
llvm-svn: 34859
|
| |
|
|
| |
llvm-svn: 34640
|
| |
|
|
| |
llvm-svn: 34638
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
speeds up the inliner 16%.
llvm-svn: 33801
|
| |
|
|
|
|
| |
transformutils to libanalysis.
llvm-svn: 33680
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the final patch for this PR. It implements some minor cleanup
in the use of IntegerType, to wit:
1. Type::getIntegerTypeMask -> IntegerType::getBitMask
2. Type::Int*Ty changed to IntegerType* from Type*
3. ConstantInt::getType() returns IntegerType* now, not Type*
This also fixes PR1120.
Patch by Sheng Zhou.
llvm-svn: 33370
|
| |
|
|
| |
llvm-svn: 33164
|
| |
|
|
|
|
|
|
| |
recommended that getBoolValue be replaced with getZExtValue and that
get(bool) be replaced by get(const Type*, uint64_t). This implements
those changes.
llvm-svn: 33110
|
| |
|
|
| |
llvm-svn: 33076
|
| |
|
|
|
|
|
| |
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.
llvm-svn: 33073
|
| |
|
|
|
|
|
|
| |
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
|
| |
|
|
|
|
|
| |
converted, we lose a static initializer. This also allows GCC to emit warnings
about unused statistics.
llvm-svn: 32690
|
| |
|
|
|
|
| |
is 'unsigned'.
llvm-svn: 32279
|
| |
|
|
| |
llvm-svn: 31923
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
ConstantBool::getTrue() and ConstantBool::getFalse().
llvm-svn: 30665
|
| |
|
|
|
|
|
|
| |
exit blocks. The output is dependent on addresses of basic block.
Add and use Loop::getUniqueExitBlocks.
llvm-svn: 29966
|
| |
|
|
| |
llvm-svn: 29925
|
| |
|
|
|
|
| |
somewhere down the road.
llvm-svn: 29197
|
| |
|
|
|
|
|
|
|
|
| |
will be profitable. This is mainly to remove some cases where excessive
unswitching would result in long compile times and/or huge generated code.
Once someone comes up with a better heuristic that avoids these cases, this
should be switched out.
llvm-svn: 28962
|
| |
|
|
|
|
| |
blocks.
llvm-svn: 28959
|
| |
|
|
|
|
|
| |
Be more careful when updating Phi nodes after eliminating dead switch cases. Fix
proposed by Chris.
llvm-svn: 28947
|
| |
|
|
|
|
|
|
|
| |
advantage
of LCSSA. This results several times the number of unswitchings occurring on
tests such and timberwolfmc, unix-tbl, and ldecod.
llvm-svn: 28912
|
| |
|
|
|
|
| |
bug exposed by the recent lcssa work.
llvm-svn: 28779
|
| |
|
|
| |
llvm-svn: 28759
|
| |
|
|
|
|
| |
MultiSource/Benchmarks/Prolangs-C/bison (and perhaps others).
llvm-svn: 28747
|
| |
|
|
|
|
|
|
| |
preserves
LCSSA.
llvm-svn: 28739
|
| |
|
|
| |
llvm-svn: 27051
|
| |
|
|
|
|
|
|
|
| |
caused SPASS to fail building last night.
We can't trivially unswitch a loop if the exit block has phi nodes in it,
because we don't know which predecessor to use.
llvm-svn: 26320
|
| |
|
|
|
|
| |
to rewrite with the wrong value.
llvm-svn: 26311
|
| |
|
|
| |
llvm-svn: 26289
|
| |
|
|
| |
llvm-svn: 26285
|
| |
|
|
|
|
| |
Thanks to nate for pointing this out :)
llvm-svn: 26280
|
| |
|
|
|
|
| |
destinations.
llvm-svn: 26279
|
| |
|
|
|
|
| |
the right loop.
llvm-svn: 26277
|
| |
|
|
| |
llvm-svn: 26258
|
| |
|
|
|
|
| |
risk :)
llvm-svn: 26248
|
| |
|
|
|
|
|
|
|
|
|
| |
Apparently they do different things :)
This fixes a testcase that nate reduced from spass.
Also included are a couple minor code changes that don't affect the generated
code at all.
llvm-svn: 26235
|
| |
|
|
| |
llvm-svn: 26228
|
| |
|
|
| |
llvm-svn: 26225
|