summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for #pragma mark, which shouldn't warn about bogus tokens.Chris Lattner2007-12-193-0/+32
| | | | llvm-svn: 45212
* Removed storing inode and device number in TranslationUnit.Ted Kremenek2007-12-196-47/+60
| | | | | | | | | | Added "SourceFile" string to TranslationUnit to record corresponding source file. Updated serialization of TranslationUnits and logic in the driver to correctly pass the source file information to the serializer. llvm-svn: 45211
* fix some crazy indentationChris Lattner2007-12-191-34/+35
| | | | llvm-svn: 45210
* Soften the macro rewrite error to a warning (and change the text).Steve Naroff2007-12-191-32/+16
| | | | llvm-svn: 45209
* Minor test twik.Fariborz Jahanian2007-12-191-1/+1
| | | | llvm-svn: 45208
* Updated locations of TranslationUnit.[cpp,h] in XCode project.Ted Kremenek2007-12-192-7/+21
| | | | | | Added AST/ASTConsumer.cpp to XCode project. llvm-svn: 45206
* reenable this code, fix the testcase.Chris Lattner2007-12-193-5/+4
| | | | llvm-svn: 45205
* disable my commit from yesterday, fixing a regression test failure.Chris Lattner2007-12-191-1/+1
| | | | llvm-svn: 45204
* This patch concludes implementation of dynamic objective-c type qualified byFariborz Jahanian2007-12-195-8/+205
| | | | | | protocol list. llvm-svn: 45203
* Fix the embarassing typo for real this time (- vs _), sorry about breaking ↵Anders Carlsson2007-12-191-5/+10
| | | | | | the tests Steve. llvm-svn: 45202
* Moved generation of the name of the serialized AST file intoTed Kremenek2007-12-193-16/+16
| | | | | | CreateASTSerializer. llvm-svn: 45201
* Emit errors when attempting to rewrite ObjC expressions that originate from ↵Steve Naroff2007-12-192-7/+65
| | | | | | | | a macro expansion. We plan on fixing this and removing this restriction after the break... llvm-svn: 45200
* Revert Anders r45191 commit...it broke several of the tests.Steve Naroff2007-12-191-9/+5
| | | | llvm-svn: 45199
* Simplify LowerCallTo by using a callsite.Duncan Sands2007-12-191-41/+27
| | | | llvm-svn: 45198
* The C++ exception handling personality function wantsDuncan Sands2007-12-193-28/+60
| | | | | | | | | | | | | | | | | | | | | | | to know about calls that cannot throw ('nounwind'): if such a call does throw for some reason then the personality will terminate the program. The distinction between an ordinary call and a nounwind call is that an ordinary call gets an entry in the exception table but a nounwind call does not. This patch sets up the exception table appropriately. One oddity is that I've chosen to bracket nounwind calls with labels (like invokes) - the other choice would have been to bracket ordinary calls with labels. While bracketing ordinary calls is more natural (because bracketing by labels would then correspond exactly to getting an entry in the exception table), I didn't do it because introducing labels impedes some optimizations and I'm guessing that ordinary calls occur more often than nounwind calls. This fixes the gcc filter2 eh test, at least at -O0 (the inliner needs some tweaking at higher optimization levels). llvm-svn: 45197
* Add new immed16.ll test case, fix CellSPU errata to make test case work.Scott Michel2007-12-196-13/+61
| | | | llvm-svn: 45196
* Fix an embarassing typo and add some very limited support for the aligned ↵Anders Carlsson2007-12-192-1/+23
| | | | | | attribute. llvm-svn: 45195
* svn:ignore configure.out at the root levelChristopher Lamb2007-12-190-0/+0
| | | | llvm-svn: 45194
* Change svn attributes to ignore build directories.Christopher Lamb2007-12-190-0/+0
| | | | llvm-svn: 45193
* Modified to support comments better.Bill Wendling2007-12-191-53/+42
| | | | llvm-svn: 45192
* Normalize attribute names if possible so we won't have to do two strcmps for ↵Anders Carlsson2007-12-191-5/+12
| | | | | | every attribute. llvm-svn: 45191
* Mark the "isRemat" instruction as never having side effects.Bill Wendling2007-12-191-1/+1
| | | | llvm-svn: 45190
* fix broken assert.Chris Lattner2007-12-191-1/+1
| | | | llvm-svn: 45189
* Implement C99 6.7.5.3p1Chris Lattner2007-12-193-0/+16
| | | | llvm-svn: 45188
* fix more table abuses.Chris Lattner2007-12-191-50/+46
| | | | llvm-svn: 45187
* Don't leave newly created nodes around if it turns out they are not needed.Evan Cheng2007-12-191-2/+4
| | | | llvm-svn: 45186
* Refactored inode and device number into FileEntry, and changed theTed Kremenek2007-12-182-16/+17
| | | | | | ADT storing FileEntry's in FileManager from a map to a set. llvm-svn: 45184
* When serializing SourceManager, we now serialize out absolute pathsTed Kremenek2007-12-181-1/+13
| | | | | | to serialized source files. llvm-svn: 45183
* Added "GetCurrentDirectory()" to sys::Path.Ted Kremenek2007-12-183-0/+24
| | | | llvm-svn: 45182
* Moved ReadBitcodeFile and EmitBitcodeFile out of TranslationUnit and made themTed Kremenek2007-12-185-16/+18
| | | | | | | the standalone functions ReadASTBitcodeFile and EmitASTBitcodeFile respectively. llvm-svn: 45180
* Fix serious regression with ObjcInterfaceDecl. Now that we are storing -1 to ↵Steve Naroff2007-12-181-3/+3
| | | | | | mean undefined, we need to change the respective getters from unsigned->int. llvm-svn: 45179
* Add debugging info. Use the newly created "hasUnmodelledSideEffects" method.Bill Wendling2007-12-181-21/+38
| | | | llvm-svn: 45178
* Fixed broken includes introduced by recent (incomplete) patch toTed Kremenek2007-12-182-3/+2
| | | | | | TranslationUnit. llvm-svn: 45177
* Moved TranslationUnit.h to include path.Ted Kremenek2007-12-181-0/+0
| | | | llvm-svn: 45176
* Moved TranslationUnit from Driver to AST library.Ted Kremenek2007-12-184-2/+2
| | | | llvm-svn: 45175
* Refactoring work. ObjcQualifiedIdType is now derived from 'Type'.Fariborz Jahanian2007-12-187-22/+45
| | | | llvm-svn: 45174
* Fold subtracts into integer compares vs. zero. This improves generate code ↵Christopher Lamb2007-12-181-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | for this case on X86 from _foo: movl $99, %ecx movl 4(%esp), %eax subl %eax, %ecx xorl %edx, %edx testl %ecx, %ecx cmovs %edx, %eax ret to _foo: xorl %ecx, %ecx movl 4(%esp), %eax cmpl $99, %eax cmovg %ecx, %eax ret llvm-svn: 45173
* Support more insane CEP's in AsmPrinter (Yes, PyPy folks do really use them).Anton Korobeynikov2007-12-181-1/+24
| | | | llvm-svn: 45172
* Added to FileEntry a pointer to the <dev_t,ino_t> pair for the file, andTed Kremenek2007-12-182-4/+15
| | | | | | accessors to FileEntry to query these values. llvm-svn: 45171
* Fix commentsChristopher Lamb2007-12-181-4/+2
| | | | llvm-svn: 45170
* Remove an orthogonal transformation of the selection condition from my most ↵Christopher Lamb2007-12-182-40/+3
| | | | | | recent submission. llvm-svn: 45169
* Added "isDirectory" method to llvm::sys::Path.Ted Kremenek2007-12-183-1/+22
| | | | llvm-svn: 45168
* Fix PR1872: SrcValue and SrcValueOffset should not be used to compute load / ↵Evan Cheng2007-12-182-20/+28
| | | | | | store node id. llvm-svn: 45167
* Ignore shell scripts when doing "dsymutil" call.Bill Wendling2007-12-181-1/+2
| | | | llvm-svn: 45166
* remove obviously dead uses of IncludeFile.Chris Lattner2007-12-187-13/+0
| | | | llvm-svn: 45165
* Also print alignment and volatileness.Evan Cheng2007-12-181-13/+19
| | | | llvm-svn: 45164
* remove a dead annotationChris Lattner2007-12-182-4/+0
| | | | llvm-svn: 45163
* Added some sectioning comments to Serialize.h.Ted Kremenek2007-12-181-14/+71
| | | | | | Added additional serialization functors for use with std::foreach. llvm-svn: 45162
* add an obvious load folding missed optzn.Chris Lattner2007-12-181-0/+21
| | | | llvm-svn: 45161
* Rename isNoReturn to doesNotReturn, and isNoUnwind toDuncan Sands2007-12-188-21/+21
| | | | | | doesNotThrow. llvm-svn: 45160
OpenPOWER on IntegriCloud