summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a crash when parsing malformed out-of-line member function Fariborz Jahanian2010-08-162-1/+11
| | | | | | definition. radar 8307865. llvm-svn: 111163
* Revert r111031. The way LLVM defines loop invariance, the property of anDan Gohman2010-08-161-18/+0
| | | | | | | | | expression being loop invariant is not equivalent to the property of properly dominating the loop header. Other optimizations have also made this optimization less important. llvm-svn: 111160
* Fix initialization for members of anonymous struct in a union.Argyrios Kyrtzidis2010-08-162-0/+15
| | | | llvm-svn: 111159
* Emit diagnostic error when the field of an anonymous struct is non trivial.Argyrios Kyrtzidis2010-08-164-24/+57
| | | | llvm-svn: 111158
* Remove unused functions.Jakob Stoklund Olesen2010-08-162-35/+0
| | | | llvm-svn: 111156
* Remove unused functions.Jakob Stoklund Olesen2010-08-161-8/+0
| | | | llvm-svn: 111155
* Remove unused code.Bob Wilson2010-08-161-5/+0
| | | | llvm-svn: 111154
* Convert a test to use FileCheck.Bob Wilson2010-08-161-4/+19
| | | | llvm-svn: 111153
* Placate overzealous compiler warnings.Dan Gohman2010-08-161-2/+2
| | | | llvm-svn: 111152
* To create a copy of a SmallVector with an element removed from theDan Gohman2010-08-161-6/+7
| | | | | | | | | middle, copy the elements in two groups, rather than copying all the elements and then doing an erase on the middle of the result. These are SmallVectors, so we shouldn't expect to hit dynamic allocation in the common case. llvm-svn: 111151
* Dereferencing NULL pointers is such poor form.Douglas Gregor2010-08-162-5/+10
| | | | llvm-svn: 111150
* Install Embedded builds into usr/local. Radar 8313723.Bob Wilson2010-08-161-2/+2
| | | | llvm-svn: 111149
* silence a vc2010 warning: " result of 32-bit shift implicitly converted toChris Lattner2010-08-161-1/+1
| | | | | | 64 bits (was 64-bit shift intended?)", pointed out by 'nobled' on llvmdev llvm-svn: 111148
* Tidy whitespace.Dan Gohman2010-08-161-5/+4
| | | | llvm-svn: 111147
* Add a comment.Dan Gohman2010-08-161-0/+5
| | | | llvm-svn: 111145
* Use const_iterator in a few places.Dan Gohman2010-08-161-3/+3
| | | | llvm-svn: 111144
* Use iterators instead of indices in a few more places.Dan Gohman2010-08-161-6/+9
| | | | llvm-svn: 111143
* Micro-optimize SCEVConstant comparison.Dan Gohman2010-08-161-4/+4
| | | | llvm-svn: 111142
* support for vec_add, vec_adds, vec_and, vec_andc with bool argumentsAnton Yartsev2010-08-162-21/+892
| | | | llvm-svn: 111141
* Move SCEVNAryExpr's virtual member functions out of line, and convertDan Gohman2010-08-162-22/+36
| | | | | | them to iterators. llvm-svn: 111140
* When caching global completion results, keep track of the simplifiedDouglas Gregor2010-08-166-37/+98
| | | | | | | | | | | type class, so that we can adjust priorities appropriately when the preferred type for the context and the actual type of the completion are similar. This gets us one step closer to parity of the cached completion results with the non-cached completion results. llvm-svn: 111139
* Use iterators instead of indices in simple cases.Dan Gohman2010-08-161-6/+4
| | | | llvm-svn: 111138
* Avoid gratuitous inefficiency in ifndef NDEBUG code.Dan Gohman2010-08-161-8/+8
| | | | llvm-svn: 111137
* Make one getAddExpr call when analyzing a+b+c+d+e+... instead of oneDan Gohman2010-08-161-6/+31
| | | | | | for each add instruction. Ditto for Mul. llvm-svn: 111136
* Delete an unused function.Dan Gohman2010-08-161-35/+0
| | | | llvm-svn: 111135
* Fixed typo in conj, conjf, conjl signature.Abramo Bagnara2010-08-161-3/+3
| | | | llvm-svn: 111134
* Instead of having CollectSubexpr's categorize operands as interesting orDan Gohman2010-08-161-19/+14
| | | | | | | | uninteresting, just put all the operands on one list and make GenerateReassociations make the decision about what's interesting. This is simpler, and it avoids an extra ScalarEvolution::getAddExpr call. llvm-svn: 111133
* Put add operands in ScalarEvolution-canonical order, when convenient.Dan Gohman2010-08-161-2/+2
| | | | | | | This isn't necessary, because ScalarEvolution sorts them anyway, but it's tidier this way. llvm-svn: 111132
* Specialize FoldingSetTrait<SCEV>, providing implementations of nodeDan Gohman2010-08-161-3/+19
| | | | | | | comparison and hash computation which don't require constructing temporary ID values. llvm-svn: 111131
* Add hooks to FoldingSetTrait to allow specializations to provideDan Gohman2010-08-162-50/+176
| | | | | | | | implementations of equality comparison and hash computation. This can be used to optimize node lookup by avoiding creating lots of temporary ID values just for hashing and comparison purposes. llvm-svn: 111130
* Tidy up whitespace in comments.Dan Gohman2010-08-161-9/+9
| | | | llvm-svn: 111129
* Constify FoldingSetNodeIDRef's Data.Dan Gohman2010-08-161-3/+3
| | | | llvm-svn: 111128
* Reverse the order of GetNodeProfile's arguments, for consistencyDan Gohman2010-08-162-8/+8
| | | | | | with FoldingSetTrait::Profile. llvm-svn: 111127
* Fix indentation in example code in a comment.Dan Gohman2010-08-161-3/+3
| | | | llvm-svn: 111125
* Avoid #include <ScalarEvolution.h> in LoopSimplify.cpp, which doesn'tDan Gohman2010-08-161-2/+1
| | | | | | actually use ScalarEvolution. llvm-svn: 111124
* Instead, teach SimplifyCFG to trim non-address-taken blocks fromDan Gohman2010-08-162-2/+16
| | | | | | indirectbr destination lists. llvm-svn: 111122
* Revert r111058, the lint check for indirectbr successors that aren'tDan Gohman2010-08-162-7/+0
| | | | | | | address-taken. This can occur normally, if the code which took the address got DCEd. llvm-svn: 111121
* Model the effects of strcpy() and stpcpy() in CStringChecker. Other changes:Jordy Rose2010-08-163-25/+320
| | | | | | | | - Fix memcpy() and friends to actually invalidate the destination buffer. - Emit a different message for out-of-bounds buffer accesses if the buffer is being written to. - When conjuring symbols, let ValueManager figure out the type. llvm-svn: 111120
* Error out if reinterpret_casting between member pointers of two differentCharles Davis2010-08-163-0/+18
| | | | | | sizes. llvm-svn: 111119
* Err on incomplete class types in member pointers when compiling for theCharles Davis2010-08-162-0/+15
| | | | | | Microsoft C++ ABI, for now. llvm-svn: 111118
* Implement support for member pointers under the Microsoft C++ ABI in theCharles Davis2010-08-1611-16/+157
| | | | | | | | AST library. This also adds infrastructure for supporting multiple C++ ABIs in the AST. llvm-svn: 111117
* - Allow making ElementRegions with complex offsets (expressions or symbols) ↵Jordy Rose2010-08-168-46/+85
| | | | | | | | | | for the purpose of bounds-checking. - Rewrite GRState::AssumeInBound to actually do that checking, and to use the normal constraint path. - Remove ConstraintManager::AssumeInBound. - Teach RegionStore and FlatStore to ignore those regions for now. llvm-svn: 111116
* Test expects SSE, give him SSE.Benjamin Kramer2010-08-151-1/+1
| | | | llvm-svn: 111115
* Pass some things to the linker that gcc passes. -r is the only one of these ↵David Chisnall2010-08-151-0/+4
| | | | | | that I'm sure about, but the others seem to be listed on FreeBSD by gcc -dumpspecs, so I hope they're right. Apparently -r is also not passed on GNU/Linux (and should be), but I can't see where the toolchain definition for this platform live. llvm-svn: 111114
* Move GRState's bind* methods out of its header file -- they're too big for ↵Jordy Rose2010-08-152-76/+73
| | | | | | inlining now. llvm-svn: 111113
* Updated LLVMLibDeps.cmakeOscar Fuentes2010-08-151-3/+1
| | | | llvm-svn: 111112
* CMake: Improved COMMENT on a custom commandOscar Fuentes2010-08-151-1/+1
| | | | llvm-svn: 111111
* Call the base class in StmtProfiler::VisitOverloadExpr.Argyrios Kyrtzidis2010-08-151-0/+1
| | | | llvm-svn: 111110
* Restore arch on these test, they fail on arm.Benjamin Kramer2010-08-152-2/+2
| | | | llvm-svn: 111109
* Mark as XFAIL on darwin 8. PR 7886.Dale Johannesen2010-08-151-0/+2
| | | | llvm-svn: 111108
OpenPOWER on IntegriCloud