summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert the changes in this testcase until Anton can fix them.Bill Wendling2008-12-241-11/+15
| | | | llvm-svn: 61414
* Keep track of template arguments when we parse them. Right now, we don't ↵Douglas Gregor2008-12-2415-87/+284
| | | | | | actually do anything with the template arguments, but they'll be used to create template declarations llvm-svn: 61413
* Add integer arithmetic intrinsicsAnders Carlsson2008-12-241-0/+156
| | | | llvm-svn: 61412
* Add store/set/load intrisicsAnders Carlsson2008-12-241-0/+103
| | | | llvm-svn: 61411
* Start implementing some SSE2 instructionsAnders Carlsson2008-12-241-0/+371
| | | | llvm-svn: 61410
* Comment and fixup GDM entries for RegionStore to use unique 'tag classes' to ↵Ted Kremenek2008-12-241-40/+66
| | | | | | identify GDM entries. llvm-svn: 61409
* Fix a compiler-abort on a testcase where the stack-pointer is added toDan Gohman2008-12-242-6/+46
| | | | | | | a symbolic constant. This is unlikely to be intentional, but it shouldn't crash the compiler. llvm-svn: 61408
* indentationChris Lattner2008-12-241-9/+8
| | | | llvm-svn: 61407
* Correct the order in which we cope with end-of-class-definitionDouglas Gregor2008-12-2416-36/+124
| | | | | | | | | | | | | | | | | | | | | | semantics and improve our handling of default arguments. Specifically, we follow this order: - As soon as the see the '}' in the class definition, the class is complete and we add any implicit declarations (default constructor, copy constructor, etc.) to the class. - If there are any default function arguments, parse them - If there were any inline member function definitions, parse them As part of this change, we now keep track of the the fact that we've seen unparsed default function arguments within the AST. See the new ParmVarDecl::hasUnparsedDefaultArg member. This allows us to properly cope with calls inside default function arguments to other functions where we're making use of the default arguments. Made some C++ error messages regarding failed initializations more specific. llvm-svn: 61406
* Change comments so everybody can understand them, hopefully.Dale Johannesen2008-12-231-2/+2
| | | | llvm-svn: 61405
* simplify some control flow and reduce indentation, no functionality change.Chris Lattner2008-12-231-63/+46
| | | | llvm-svn: 61404
* Revert 61362 and 61402 until SPEC breakage is fixed.Dale Johannesen2008-12-231-135/+43
| | | | llvm-svn: 61403
* This fixes the bug in 175.vpr. It doesn't fix theDale Johannesen2008-12-231-2/+9
| | | | | | | | other SPEC breakage. I'll be reverting all recent changes shortly, this checking is mostly so this change doesn't get lost. llvm-svn: 61402
* Add another permutation where we should get rid of a-a.Dale Johannesen2008-12-232-4/+35
| | | | llvm-svn: 61401
* Add instruction patterns and encodings for the x86 bt instructions.Dan Gohman2008-12-234-0/+42
| | | | llvm-svn: 61400
* Update testAnton Korobeynikov2008-12-231-15/+11
| | | | llvm-svn: 61399
* Restore debug printingAnton Korobeynikov2008-12-231-23/+26
| | | | llvm-svn: 61398
* Sometimes APInt syntax is really ugly... :(Anton Korobeynikov2008-12-231-10/+21
| | | | llvm-svn: 61397
* Indent stuff properlyAnton Korobeynikov2008-12-231-25/+25
| | | | llvm-svn: 61396
* Initial checkin of APInt'ififcation of switch loweringAnton Korobeynikov2008-12-232-127/+126
| | | | llvm-svn: 61395
* Sema for fastcall/stdcall stuff. Tests will follow.Anton Korobeynikov2008-12-232-6/+37
| | | | | | Patch by Ilya Okonsky! llvm-svn: 61394
* Fix misguided type selectionDouglas Gregor2008-12-231-1/+1
| | | | llvm-svn: 61393
* Silence unused variable warnings.Devang Patel2008-12-232-0/+7
| | | | llvm-svn: 61392
* Fix typo.Devang Patel2008-12-231-1/+2
| | | | | | Silence unused variable warning. llvm-svn: 61391
* Silience unused warnings.Devang Patel2008-12-232-0/+4
| | | | llvm-svn: 61390
* Clean up the atomic opcodes in SelectionDAG.Dan Gohman2008-12-2310-817/+276
| | | | | | | | | | | | | This removes all the _8, _16, _32, and _64 opcodes and replaces each group with an unsuffixed opcode. The MemoryVT field of the AtomicSDNode is now used to carry the size information. In tablegen, the size-specific opcodes are replaced by size-independent opcodes that utilize the ability to compose them with predicates. This shrinks the per-opcode tables and makes the code that handles atomics much more concise. llvm-svn: 61389
* When determining whether a class type has a const copy constructor, beDouglas Gregor2008-12-231-14/+5
| | | | | | | sure to look at all of the results returned by name lookup. Fixes <rdar://problem/6465262> llvm-svn: 61388
* Last patch, for now, to privde ObjC's encoding of types.Fariborz Jahanian2008-12-232-1/+20
| | | | | | We now pass all gcc's encoding compatibility tests. llvm-svn: 61387
* Don't push OverloadedFunctionDecls onto the chain of declarationsDouglas Gregor2008-12-237-176/+154
| | | | | | | | attached to an identifier. Instead, all overloaded functions will be pushed into scope, and we'll synthesize an OverloadedFunctionDecl on the fly when we need it. llvm-svn: 61386
* add some notes for simplifylibcalls optimizationsChris Lattner2008-12-231-0/+25
| | | | llvm-svn: 61385
* Fix <rdar://problem/6465284> clang ObjC rewriter: objc_super messed up again.Steve Naroff2008-12-232-16/+36
| | | | llvm-svn: 61384
* Lot more encoding work. We are closing the gap toFariborz Jahanian2008-12-232-7/+55
| | | | | | gcc compatibilty in all aspects of encoding now. llvm-svn: 61383
* Remove old PTH token-generation test harness.Ted Kremenek2008-12-231-71/+0
| | | | llvm-svn: 61382
* PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). ↵Ted Kremenek2008-12-233-63/+32
| | | | | | No big functionality change. llvm-svn: 61381
* Testcase to show we can tie together integers and pointers ofChris Lattner2008-12-231-0/+9
| | | | | | the same size. llvm-svn: 61380
* Tweak --version to include the date and time.Steve Naroff2008-12-231-0/+1
| | | | llvm-svn: 61378
* PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token.Ted Kremenek2008-12-232-10/+16
| | | | | | | - This reduces the PTH size for Cocoa.h by 7%. - The increases PTH -Eonly speed for Cocoa.h by 0.8%. llvm-svn: 61377
* Rename BuildSchedUnits to BuildSchedGraph, and refactor theDan Gohman2008-12-239-22/+37
| | | | | | code in ScheduleDAGSDNodes' BuildSchedGraph into separate functions. llvm-svn: 61376
* Cosmetics: rename a variable and tighten spacing. No functionality change.Ted Kremenek2008-12-231-4/+2
| | | | llvm-svn: 61375
* Comment MO_FPImmediate and doxygenate surrounding comments.Dan Gohman2008-12-231-9/+9
| | | | llvm-svn: 61374
* Use isTerminator() instead of isBranch()||isReturn() inDan Gohman2008-12-233-5/+4
| | | | | | | | several places. isTerminator() returns true for a superset of cases, and includes things like FP_REG_KILL, which are nither return or branch but aren't safe to move/remat/etc. llvm-svn: 61373
* Avoid an unnecessary call to allnodes_size(), which is linear.Dan Gohman2008-12-231-8/+11
| | | | llvm-svn: 61372
* Minor code simplifications.Dan Gohman2008-12-231-6/+6
| | | | llvm-svn: 61371
* Merge pr-3188.cpp into constructor.cpp.Sebastian Redl2008-12-232-3/+10
| | | | llvm-svn: 61370
* revert r61368.Zhongxing Xu2008-12-231-1/+1
| | | | llvm-svn: 61369
* Remove dead code.Zhongxing Xu2008-12-231-1/+1
| | | | llvm-svn: 61368
* Add a setter for CVR qualifiers, patch by Lukasz Janyst!Chris Lattner2008-12-231-0/+1
| | | | llvm-svn: 61367
* Added shuffle and splat test cases for r61365.Mon P Wang2008-12-233-0/+192
| | | | llvm-svn: 61366
* Fixed code generation for v8i16 and v16i8 splats on X86.Mon P Wang2008-12-231-3/+33
| | | | | | Fixed lowering of v8i16 shuffles for v8i16 when we fall back to extract/insert. llvm-svn: 61365
* PTH:Ted Kremenek2008-12-232-6/+10
| | | | | | | | - Encode the token length with 2 bytes instead of 4. - This reduces the size of the .pth file for Cocoa.h by 12%. - This speeds up PTH time (-Eonly) on Cocoa.h by 1.6%. llvm-svn: 61364
OpenPOWER on IntegriCloud