summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Restore vbase offsets for classes without a primary.Mike Stump2009-08-192-2/+170
| | | | llvm-svn: 79402
* Fix gcc-4.4/fedora 11 by adding a sentinel value to SimpleValueType.Erick Tryzelaar2009-08-191-1/+6
| | | | | | | | | gcc-4.4 was optimizing away comparisons against SimpleValueType when it was compared to a value larger than the largest value in the enum. This patch works around it by adding one extra item to the enum so that these tests will now be valid. llvm-svn: 79401
* Refine vcalls a little.Mike Stump2009-08-192-42/+54
| | | | llvm-svn: 79400
* Fix a comment and improve an assert message.Argyrios Kyrtzidis2009-08-191-2/+4
| | | | llvm-svn: 79399
* Added an option to have the PBQP allocator attempt coalescing during allocation.Lang Hames2009-08-191-1/+10
| | | | llvm-svn: 79397
* Store/load type source info from/to PCH files.Argyrios Kyrtzidis2009-08-192-7/+149
| | | | llvm-svn: 79396
* Use Sema's LocInfoType to pass and preserve type source info through the Parser.Argyrios Kyrtzidis2009-08-1911-33/+68
| | | | llvm-svn: 79395
* Introduce LocInfoType which is a Sema-specific implementation detail.Argyrios Kyrtzidis2009-08-195-5/+63
| | | | | | | | This is a Type subclass that can hold a DeclaratorInfo* when we have type source info coming out of a declarator that we want to preserve. This is used only at the "border" of Parser/Sema for passing/getting QualTypes, it does not participate in the type system semantics in any way. llvm-svn: 79394
* Create and instantiate a DeclaratorInfo using a newly introduced ↵Argyrios Kyrtzidis2009-08-192-1/+137
| | | | | | Sema::GetDeclaratorInfoForDeclarator(). llvm-svn: 79393
* Introduce DeclaratorDecl and pass DeclaratorInfo through the Decl/Sema ↵Argyrios Kyrtzidis2009-08-1924-182/+273
| | | | | | | | | | | | interfaces. DeclaratorDecl contains a DeclaratorInfo* to keep type source info. Subclasses of DeclaratorDecl are FieldDecl, FunctionDecl, and VarDecl. EnumConstantDecl still inherits from ValueDecl since it has no need for DeclaratorInfo. Decl/Sema interfaces accept a DeclaratorInfo as parameter but no DeclaratorInfo is created yet. llvm-svn: 79392
* Introduce DeclaratorInfo and TypeLoc, intended to be used for storing and ↵Argyrios Kyrtzidis2009-08-197-1/+905
| | | | | | | | | | | reading source information for types. DeclaratorInfo will contain a flat memory block for source information about a type that came out of a declarator. TypeLoc and its subclasses will be used by clients as wrappers to "traverse" the memory block and read the information. Both DeclaratorInfo and TypeLoc are not utilized in this commit. llvm-svn: 79391
* Update Xcode project.Anders Carlsson2009-08-191-5/+11
| | | | llvm-svn: 79390
* Revert my last patch temporarily.Owen Anderson2009-08-193-32/+93
| | | | llvm-svn: 79388
* Privatize part of the leak detector mechanism, which turned out to be ↵Owen Anderson2009-08-193-93/+32
| | | | | | | | | heavily contended when trying to run opt in parallel. This lets parallel opt crunch 403.gcc in about a third of the time. llvm-svn: 79387
* raw_ostream: Simplify write(unsigned char) to match write(const char*, ↵Daniel Dunbar2009-08-191-18/+8
| | | | | | unsigned). llvm-svn: 79386
* raw_ostream: Remove pointless redefinitions of tell().Daniel Dunbar2009-08-192-20/+0
| | | | | | - The base class implementation is correct. llvm-svn: 79385
* Fix SimplifyLibcalls and ValueTracking to check mayBeOverriddenDan Gohman2009-08-193-2/+30
| | | | | | before performing optimizations based on constant string values. llvm-svn: 79384
* Be tidy and use a break to exit from a switch block rather thanDan Gohman2009-08-181-0/+1
| | | | | | just falling through the end. llvm-svn: 79383
* raw_ostream: Add the capability for subclasses to manually install an externalDaniel Dunbar2009-08-182-31/+72
| | | | | | buffer. llvm-svn: 79382
* Legalize the shift amount operand of SRL_PARTS, SHL_PARTS, andDan Gohman2009-08-182-0/+29
| | | | | | SRA_PARTS, as is done for SRL, SHL, and SRA. llvm-svn: 79380
* raw_ostream: Reduce FormattedStream's reliance on raw_ostream's implementation.Daniel Dunbar2009-08-183-30/+27
| | | | | | | | | | | | | | - Kill off begin(), end(), and iterator. It isn't clear what these mean. Instead provide getBufferStart(), which can be used with GetNumBytesInBuffer to the same effect. - Update ComputeColumn to take arguments for the buffer to scan, this simplifies the implementation of write_impl substantially. - This should also fix possible problems with the scanning pointer pointing outside of the current raw_ostream buffer. llvm-svn: 79379
* Changes DOUT references in the PBQP allocator to use DEBUG(errs() ...)Lang Hames2009-08-181-11/+7
| | | | llvm-svn: 79378
* Implement sse4.2 string/text processing instructions:Eric Christopher2009-08-184-1/+178
| | | | | | | | Add patterns and instruction encoding information. Add custom lowering to deal with hardwired return register of uncertain type (xmm0). llvm-svn: 79377
* First steps to document new release plan.Tanya Lattner2009-08-181-307/+152
| | | | llvm-svn: 79376
* Speed up raw_ostream::<<(unsigned long long) for 32-bit systems by doing mostDaniel Dunbar2009-08-181-10/+15
| | | | | | div/mods in 32-bits. llvm-svn: 79375
* Cleanup.Mike Stump2009-08-181-4/+4
| | | | llvm-svn: 79374
* Add some documentation.Mike Stump2009-08-181-0/+1
| | | | llvm-svn: 79373
* Cleanups. Move GenerateRtti to CodeGenModule.Mike Stump2009-08-183-15/+18
| | | | llvm-svn: 79372
* Renamed ClassProp data member of ObjCImplctSetterGetterRefExprFariborz Jahanian2009-08-185-15/+15
| | | | | | | | to InterfaceDecl, as it is unrelated to any property and holds the InterfaceDecl needed for accessing class getter/setter methods using the dot-syntax. llvm-svn: 79371
* Move the rest of the vtable building code into the new builder.Mike Stump2009-08-182-128/+102
| | | | llvm-svn: 79370
* Simplify RegScavenger::FindUnusedReg.Jakob Stoklund Olesen2009-08-186-51/+13
| | | | | | | | | - Drop the Candidates argument and fix all callers. Now that RegScavenger tracks available registers accurately, there is no need to restict the search. - Make sure that no aliases of the found register are in use. This was a potential bug. llvm-svn: 79369
* Add support for mergeable sections back into the XCore backend.Richard Osborne2009-08-183-7/+20
| | | | llvm-svn: 79368
* Suck up method generation.Mike Stump2009-08-181-19/+19
| | | | llvm-svn: 79367
* Split out vtable bulding code into a builder.Mike Stump2009-08-181-19/+25
| | | | llvm-svn: 79366
* Renamed ObjCKVCRefExpr to ObjCImplctSetterGetterRefExpr.Fariborz Jahanian2009-08-1822-73/+108
| | | | | | | | Removed an unnecessary loop to get to setters incoming argument. Added DoxyGen comments. Still more work to do in this area (WIP). llvm-svn: 79365
* Fix a bug in raw_ostream::write(char) introduced by the change toDan Gohman2009-08-181-3/+10
| | | | | | | | | allow underlying stream classes to decline buffering. After calling SetBuffered(), re-check whether the stream is Unbuffered in order to handle the case where the underlying stream has declined buffering. llvm-svn: 79362
* Revert r78924, disabling buffering defeats all the fast paths in raw_ostream.Daniel Dunbar2009-08-182-4/+18
| | | | llvm-svn: 79361
* Improve Triple to recognize the OS in i386-mingw32.Daniel Dunbar2009-08-183-4/+47
| | | | llvm-svn: 79359
* Make various changes suggested by Chris.David Greene2009-08-183-84/+56
| | | | llvm-svn: 79358
* Surrounded variable in <tt> tags for consistency.Misha Brukman2009-08-181-7/+8
| | | | llvm-svn: 79357
* Fix pasto in StringRef::count(char)Daniel Dunbar2009-08-182-1/+2
| | | | llvm-svn: 79356
* Privatize the ValueHandle global map. Because this is used so heavily ↵Owen Anderson2009-08-182-21/+21
| | | | | | | | throughout the code base, locking all accesses to it is not practical performance-wise. llvm-svn: 79355
* Add StringRef::count({char,StringRef})Daniel Dunbar2009-08-182-0/+29
| | | | llvm-svn: 79354
* Fix an uninitialized value warning in APFloat.Erick Tryzelaar2009-08-181-2/+1
| | | | llvm-svn: 79353
* Add CXXFLAGS to the Link lines as well in case someone used those insteadEric Christopher2009-08-181-2/+3
| | | | | | of LDFLAGS. llvm-svn: 79352
* Put data with relocations in the same sections as data without relocations.Richard Osborne2009-08-182-1/+63
| | | | llvm-svn: 79351
* Attempt to normalize test results.Daniel Dunbar2009-08-181-4/+2
| | | | llvm-svn: 79350
* Make this test less sensitive to assembler differences.Dan Gohman2009-08-181-4/+4
| | | | llvm-svn: 79348
* alphabeticalizeChris Lattner2009-08-181-4/+4
| | | | llvm-svn: 79347
* fix COFF targets (mingw/cygwin) to provide ehframe and LSDA sectionsChris Lattner2009-08-182-8/+10
| | | | llvm-svn: 79346
OpenPOWER on IntegriCloud