summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Adds extern "C" ints to the .cpp files that use RegisterTarget, asOscar Fuentes2008-11-1513-0/+91
| | | | | | | | | | | well as 2 files that use "Registrator"s. These are to be used by the MSVC builds, as the Win32 linker does not include libs that are otherwise unreferenced, even if global constructors in the lib have side-effects. Patch by Scott Graham! llvm-svn: 59378
* Start implementing support for @synchonized with the darwin ObjC API.Chris Lattner2008-11-156-2/+134
| | | | | | Patch by Fariborz! llvm-svn: 59377
* CMake: Removed some cruft.Oscar Fuentes2008-11-152-13/+3
| | | | llvm-svn: 59376
* Check in code that uses tryEvaluate for emitting constant exprs (not used yet).Anders Carlsson2008-11-151-0/+29
| | | | llvm-svn: 59375
* CMake: Recursively invokes cmake using the right directories.Oscar Fuentes2008-11-151-1/+1
| | | | | | | | | LLVM_MAIN_SRC_DIR and LLVM_BINARY_DIR are not the cmake top level directories when LLVM is embedded on the build of other project. Fixes PR #3072. llvm-svn: 59374
* Clean up some strange whitespace.Nick Lewycky2008-11-151-7/+6
| | | | llvm-svn: 59373
* Handle padding in the constant CFString struct. Fixes PR3046.Anders Carlsson2008-11-151-8/+46
| | | | llvm-svn: 59372
* Use IgnoreParenCasts. No functionality change.Anders Carlsson2008-11-151-10/+1
| | | | llvm-svn: 59371
* Correct this error message.Nick Lewycky2008-11-152-1/+6
| | | | llvm-svn: 59370
* Add Profile method to ImmutableList.Zhongxing Xu2008-11-151-0/+4
| | | | llvm-svn: 59362
* When splitting a SHUFFLE_VECTOR, try to have the resultDuncan Sands2008-11-151-38/+109
| | | | | | | | use SHUFFLE_VECTOR instead. If not practical, fall back to the old scheme of building the split result by hand using a BUILD_VECTOR. llvm-svn: 59361
* Use the allocator of ExplodedGraph. The whole static analysis module uses it.Zhongxing Xu2008-11-151-1/+4
| | | | llvm-svn: 59359
* Fix silly bug spotted by Daniel DunbarAnders Carlsson2008-11-151-1/+1
| | | | llvm-svn: 59358
* Add missing widen operations, fixed widening for extracting a subvector,Mon P Wang2008-11-151-16/+44
| | | | | | | and when loading/storing a widen vector, make sure that they are loaded and stored in consecutive order. llvm-svn: 59357
* Improve zero value generation.Zhongxing Xu2008-11-151-2/+1
| | | | llvm-svn: 59356
* Add isUnsigned option.Zhongxing Xu2008-11-151-2/+2
| | | | llvm-svn: 59355
* Reduce permissiveness of assertion.Ted Kremenek2008-11-151-2/+1
| | | | llvm-svn: 59354
* Updated checker build.Ted Kremenek2008-11-151-1/+1
| | | | llvm-svn: 59353
* Add a test case for compound assignments that lazily symbolicate the value ↵Ted Kremenek2008-11-151-0/+20
| | | | | | of the LHS when the computation type is an integer of more bits. llvm-svn: 59352
* Reverted part of r59335: ↵Ted Kremenek2008-11-151-23/+37
| | | | | | | | | | http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20081110/009243.html In that patch I added a bogus type promotion for unary '!'. The real bug was more fallout from edges cases with compound assignments and conjured symbolic values. Now the conjured value has the type of the LHS expression, and we do a promotion to the computation type. We also now correctly do a conversion from the computation type back to the LHS type. llvm-svn: 59349
* Re-enable an assertion that I mistakenly removed.Ted Kremenek2008-11-151-7/+1
| | | | llvm-svn: 59348
* CMake: Adds header and TableGen files to Visual Studio solution. A newOscar Fuentes2008-11-154-7/+44
| | | | | | | dummy library, `llvm_headers_do_not_build', is created for containing all header and TableGen files under include/llvm. llvm-svn: 59346
OpenPOWER on IntegriCloud