- Aug 06, 2010
-
-
Nick Lewycky authored
Also move 'default' case next to a real case to help compiler optimize in non-Debug builds. No functionality change. llvm-svn: 110435
-
Nick Lewycky authored
Further clean up the comparison function by removing overly generalized "domains". Remove all understanding of ELF aliases and simplify folding code and comments. llvm-svn: 110434
-
Owen Anderson authored
llvm-svn: 110410
-
Owen Anderson authored
ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
-
Owen Anderson authored
llvm-svn: 110384
-
- Aug 04, 2010
-
-
Owen Anderson authored
Experiments show that we can safely increase our unrolling threshold without unduly impacting code size, particularly since unrolling is not enabled at -Os. llvm-svn: 110233
-
Dan Gohman authored
llvm-svn: 110223
-
Dan Gohman authored
llvm-svn: 110181
-
- Aug 03, 2010
-
-
Dan Gohman authored
eliminate several const_casts. Make CallSite implicitly convertible to ImmutableCallSite. Rename the getModRefBehavior for intrinsic IDs to getIntrinsicModRefBehavior to avoid overload ambiguity with CallSite, which happens to be implicitly convertible to bool. llvm-svn: 110155
-
Dan Gohman authored
instructions with alignment 0, so that subsequent passes don't need to bother checking the TargetData ABI size manually. llvm-svn: 110128
-
Peter Collingbourne authored
llvm-svn: 110113
-
Dan Gohman authored
around std::min vs static const friction. llvm-svn: 110112
-
- Aug 02, 2010
-
-
Owen Anderson authored
llvm-svn: 110036
-
Oscar Fuentes authored
Fixes potential ambiguity problems on VS 2010. Patch by nobled! llvm-svn: 110029
-
Daniel Dunbar authored
llvm-svn: 110022
-
Nick Lewycky authored
Start cleaning up MergeFunctions to look more like the rest of LLVM. The primary change here is to move the methods responsible for comparison into the new FunctionComparator object. Some comments added. There's more to do. llvm-svn: 110021
-
- Jul 31, 2010
-
-
Daniel Dunbar authored
like my instcombine patch.", in an attempt to fix Clang i386 bootstrap. - Also PR7719. llvm-svn: 109953
-
Rafael Espindola authored
exactly what bugpoint expected it to do. There was also only one user of BlockExtractorPass(const std::vector<BasicBlock*> &B), so just remove it and make BlockExtractorPass read BlockFile. This fixes bugpoint's block extraction. Nick, please review. llvm-svn: 109936
-
- Jul 30, 2010
-
-
Dan Gohman authored
llvm-svn: 109891
-
Nick Lewycky authored
llvm-svn: 109886
-
- Jul 29, 2010
-
-
Eli Friedman authored
if CExpr is a ConstantInt. llvm-svn: 109773
-
Gabor Greif authored
llvm-svn: 109687
-
- Jul 28, 2010
-
-
Dan Gohman authored
alloca instructions (constrained by their internal encoding), and add error checking for it. Fix an instcombine bug which generated huge alignment values (null is infinitely aligned). This fixes undefined behavior noticed by John Regehr. llvm-svn: 109643
-
Dan Gohman authored
dereference is theoretically infinite. Put a cap on the computed alignment to avoid overflow, noticed by John Regehr. llvm-svn: 109596
-
Gabor Greif authored
llvm-svn: 109589
-
Gabor Greif authored
llvm-svn: 109581
-
- Jul 27, 2010
-
-
Gabor Greif authored
llvm-svn: 109510
-
Gabor Greif authored
llvm-svn: 109509
-
Gabor Greif authored
llvm-svn: 109506
-
Gabor Greif authored
llvm-svn: 109502
-
- Jul 26, 2010
-
-
Owen Anderson authored
llvm-svn: 109424
-
Dan Gohman authored
dependence on DominanceFrontier. Instead, add an explicit DominanceFrontier pass in StandardPasses.h to ensure that it gets scheduled at the right time. Declare that loop unrolling preserves ScalarEvolution, and shuffle some getAnalysisUsages. This eliminates one LoopSimplify and one LCCSA run in the standard compile opts sequence. llvm-svn: 109413
-
Dan Gohman authored
llvm-svn: 109412
-
Dan Gohman authored
explicit inequality check. llvm-svn: 109401
-
Dan Gohman authored
llvm-svn: 109400
-
- Jul 24, 2010
-
-
Nick Lewycky authored
build of llvm-gcc. llvm-svn: 109355
-
Nick Lewycky authored
it needs to be mapped to refer to the function in the new module, not the old one. Fixes PR7700. llvm-svn: 109353
-
- Jul 22, 2010
-
-
Devang Patel authored
llvm-svn: 109132
-
Gabor Greif authored
llvm-svn: 109122
-
Devang Patel authored
A non function local MDNode can have an operand which is cloned by MapValue(). llvm-svn: 109117
-