summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use HandleConversionToBool() to check if a given cond is foldable (per Eli's ↵Nuno Lopes2008-11-161-3/+3
| | | | | | comment) llvm-svn: 59429
* More complex float evaluator support.Anders Carlsson2008-11-161-0/+45
| | | | llvm-svn: 59428
* Describe how constant folding and i-c-e diagnosing should work. Chris Lattner2008-11-161-0/+115
| | | | | | | Unfortunately, we're not here yet, but eventually Expr::isConstantExpr and friends should go away. llvm-svn: 59427
* rename Expr::tryEvaluate to Expr::Evaluate.Chris Lattner2008-11-167-18/+18
| | | | llvm-svn: 59426
* Add very limited support for evaluating complex floats.Anders Carlsson2008-11-161-1/+46
| | | | llvm-svn: 59425
* Trivial tidyingChris Lattner2008-11-161-2/+0
| | | | llvm-svn: 59424
* add PTHLexer.h to projectChris Lattner2008-11-161-0/+2
| | | | llvm-svn: 59423
* fix folding of comma if given a non-constant operand.Nuno Lopes2008-11-162-3/+10
| | | | | | Eli please take a look, as I'm not sure if this gets the extension warning in the right place llvm-svn: 59422
* make IntExprEvaluator fold the ?: operatorNuno Lopes2008-11-161-0/+9
| | | | llvm-svn: 59421
* More work on the constant evaluator. Eli, it would be great if you could ↵Anders Carlsson2008-11-161-1/+65
| | | | | | have a look at this. llvm-svn: 59420
* Fix PR3075, __builtin_stdarg_start being misprototyped. This affects netbsd ↵Chris Lattner2008-11-162-1/+10
| | | | | | headers. llvm-svn: 59419
* Fix PR3077: tokens that come from macro expansions whose macro wasChris Lattner2008-11-161-1/+1
| | | | | | | defined in a system header should be treated as system header tokens even if they are instantiated in a different place. llvm-svn: 59418
* punctuate, add wording about patches contributed by others.Chris Lattner2008-11-161-3/+4
| | | | llvm-svn: 59417
* If SI->size() is 0, we are not allowed to dereference ->begin().Torok Edwin2008-11-161-2/+4
| | | | | | This fixed PR3078. llvm-svn: 59416
* 2008-10-17-SpillerBug.ll is currently failing, but this doesn't reflect an ↵Lang Hames2008-11-161-0/+1
| | | | | | actual regression of PR2898. This test should probably be removed. I've XFAILed it for now to keep buildbot quiet while this is considered. llvm-svn: 59415
* Big PBQP allocator update. Adds coalescing support, stack slot coloring, ↵Lang Hames2008-11-161-139/+478
| | | | | | several bug-fixes. llvm-svn: 59414
* add targe triple commandline option to fix test failure on Linux.Zhongxing Xu2008-11-161-1/+1
| | | | llvm-svn: 59412
* add dump and print methods, add operator<< for APValue.Chris Lattner2008-11-162-0/+105
| | | | llvm-svn: 59411
* move some APValue methods out of line.Chris Lattner2008-11-162-39/+6
| | | | llvm-svn: 59410
* eliminate some std::set's.Chris Lattner2008-11-161-9/+10
| | | | llvm-svn: 59409
* Add the ability to evaluate comparison operators with floating point numbers ↵Anders Carlsson2008-11-161-2/+45
| | | | | | as operands. llvm-svn: 59408
* Enhance modularization: return a <state,loc> pair to let GRExprEngine modify theZhongxing Xu2008-11-164-17/+19
| | | | | | environment. llvm-svn: 59407
* simplify loopChris Lattner2008-11-161-5/+2
| | | | llvm-svn: 59406
* More constant expr work.Anders Carlsson2008-11-161-6/+18
| | | | llvm-svn: 59405
* daniel prefers completed thoughts.Chris Lattner2008-11-161-1/+1
| | | | llvm-svn: 59404
* simplify a bunch more instcombines to use m_Specific etc.Chris Lattner2008-11-161-40/+37
| | | | llvm-svn: 59403
* factor the code for simplifying (icmp)|(icmp) into its own function.Chris Lattner2008-11-161-151/+167
| | | | llvm-svn: 59402
* do some computation with apints instead of ConstantInts.Chris Lattner2008-11-161-6/+5
| | | | llvm-svn: 59401
* merge a check into a place where it is simpler.Chris Lattner2008-11-161-20/+17
| | | | llvm-svn: 59400
* Improved shuffle normalization to avoid using extract/build when weMon P Wang2008-11-164-96/+202
| | | | | | | can extract using different indexes for two vectors. Added a few tests for vector shuffles. llvm-svn: 59399
* factor a whole bunch of code out into a helper function.Chris Lattner2008-11-161-149/+166
| | | | llvm-svn: 59398
* simplify the conditions on two gigantic if's, decreasing indentationChris Lattner2008-11-161-290/+289
| | | | | | a bit. Next step is to factor out into their own helper functions. llvm-svn: 59397
* Re-enable array-struct test.Zhongxing Xu2008-11-161-1/+1
| | | | llvm-svn: 59396
* simplify some instcombine matches by using m_SpecificChris Lattner2008-11-161-37/+34
| | | | llvm-svn: 59395
* Fix 80-col violation.Zhongxing Xu2008-11-161-1/+1
| | | | llvm-svn: 59394
* add a new m_Specific pattern that matches only if we have a specific Value*.Chris Lattner2008-11-161-0/+15
| | | | llvm-svn: 59393
* Use new m_SelectCst template to eliminate macros.Chris Lattner2008-11-161-9/+5
| | | | llvm-svn: 59392
* add a new template for matching a select between two constants.Chris Lattner2008-11-161-0/+11
| | | | llvm-svn: 59391
* simplify code.Chris Lattner2008-11-161-17/+12
| | | | llvm-svn: 59390
* Handle the case where there is no "not". It is possible it got Chris Lattner2008-11-162-1/+16
| | | | | | folded into the select. llvm-svn: 59389
* factor a bunch of copy/paste code out into a helper function.Chris Lattner2008-11-161-61/+35
| | | | | | | Eliminate the cases checking for cond?0:-1, since that is already handled by commutative checking. llvm-svn: 59388
* Add partial specialization of FoldingSetTrait for ImmutableList.Zhongxing Xu2008-11-161-0/+5
| | | | llvm-svn: 59387
* make this actually test what it is trying to.Chris Lattner2008-11-161-4/+3
| | | | llvm-svn: 59386
* Fix 80-column violation.Zhongxing Xu2008-11-161-3/+3
| | | | llvm-svn: 59385
* Don't brute-force analyze cubic or higher polynomials.Nick Lewycky2008-11-162-21/+19
| | | | | | | If this patch causes a performance regression for anyone, please let me know, and it can be fixed in a different way with much more effort. llvm-svn: 59384
* CMake: MSVC: Pass list of components the right way to msvc_llvm_configOscar Fuentes2008-11-161-12/+27
| | | | | | | and siblings. Support targets whose name does not end on `CodeGen'. Remove a performance bottleneck. llvm-svn: 59383
* Enhances SCA to process untyped region to typed region conversion.Zhongxing Xu2008-11-166-5/+150
| | | | | | | | | | | | - RegionView and RegionViewMap is introduced to assist back-mapping from super region to subregions. - GDM is used to carry RegionView information. - AnonTypedRegion is added to represent a typed region introduced by pointer casting. Later AnonTypedRegion can be used in other similar cases, e.g., malloc()'ed region. - The specific conversion is delegated to store manager. llvm-svn: 59382
* rearrange some code, no functionality change.Chris Lattner2008-11-161-21/+21
| | | | llvm-svn: 59381
* if we're going to use a macro, use it maximally. no functionality change.Chris Lattner2008-11-161-8/+8
| | | | llvm-svn: 59380
* CMake: Forces linking of the rest of architecture targets and itsOscar Fuentes2008-11-152-10/+31
| | | | | | | | respective asm printers on MSVC. Based on a patch by Scott Graham. llvm-svn: 59379
OpenPOWER on IntegriCloud