summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* force a triple so this passes on darwinChris Lattner2009-08-181-1/+1
| | | | llvm-svn: 79345
* Generalize ScalarEvolution to be able to analyze GEPs whenDan Gohman2009-08-186-121/+565
| | | | | | | | TargetData is not present. It still uses TargetData when available. This generalization also fixed some limitations in the TargetData case; the attached testcase covers this. llvm-svn: 79344
* null streamer needs to maintain the current section as well.Chris Lattner2009-08-181-1/+3
| | | | llvm-svn: 79343
* Change ActOnReturnStmt to not take a FullExprArg. Instead, Sema will wrap ↵Anders Carlsson2009-08-186-7/+11
| | | | | | the return expr inside a CXXExprWithTemporaries if needed. llvm-svn: 79342
* CMake: LLVM_ENABLE_PIC now defaults to ON, as in `configure'. This isOscar Fuentes2009-08-182-4/+4
| | | | | | | required on some platforms for building shared libraries that link to the LLVM libraries. llvm-svn: 79339
* Make tail merging handle blocks with repeated predecessors correctly, andDan Gohman2009-08-184-28/+93
| | | | | | | | | | | | | | | | | | | | remove RemoveDuplicateSuccessor, as it is no longer necessary, and because it breaks assumptions made in MachineBasicBlock::isOnlyReachableByFallthrough. Convert test/CodeGen/X86/omit-label.ll to FileCheck and add a testcase for PR4732. test/CodeGen/Thumb2/thumb2-ifcvt2.ll sees a diff with this commit due to it being bugpoint-reduced to the point where it doesn't matter what the condition for the branch is. Add some more interesting code to test/CodeGen/X86/2009-08-06-branchfolder-crash.ll, which is the testcase that originally motivated the RemoveDuplicateSuccessor code, to help verify that the original problem isn't being re-broken. llvm-svn: 79338
* Fix a bug that caused globalopt to miscompile tramp3d: don't missDan Gohman2009-08-182-3/+49
| | | | | | unruly indices for arrays that are members of structs. llvm-svn: 79337
* Text sections should have 'exec' flag set. This seems to unbreak libstdc++ ↵Anton Korobeynikov2009-08-181-0/+3
| | | | | | | | on linux. Patch by Dmitry Gorbachev! llvm-svn: 79334
* Fixed spelling of MSP430.Misha Brukman2009-08-181-1/+1
| | | | llvm-svn: 79333
* Add support for ellcc, Credit to Richard Pennington.Edward O'Callaghan2009-08-182-2/+2
| | | | llvm-svn: 79332
* Fix testsuit build on linux.Edward O'Callaghan2009-08-181-1/+1
| | | | llvm-svn: 79331
* Fix pre-processor mistake for BSDs in endianness.hEdward O'Callaghan2009-08-182-2/+2
| | | | llvm-svn: 79330
* Remove unused parameter BugReporter due to previous patch.Zhongxing Xu2009-08-183-13/+7
| | | | llvm-svn: 79328
* Now we can get the CFG from the ProgramPoint. No need to pass in the Zhongxing Xu2009-08-183-5/+9
| | | | | | BugReporter. llvm-svn: 79327
* Add test for finding bfin backend.Daniel Dunbar2009-08-181-0/+1
| | | | llvm-svn: 79326
* Fix Triple to recognize the 'bfin' arch.Daniel Dunbar2009-08-181-0/+2
| | | | llvm-svn: 79325
* Make AsmStreamer maintain a notion of the current section, pushing it up ↵Chris Lattner2009-08-185-25/+22
| | | | | | | | | | | | from the MCAsmStreamer. Based on this, eliminate the current section from AsmPrinter. While I'm at it, clean up the last of the horrible "switch to null section" stuff and add an assert. This change is in preparation for completely eliminating asmprinter::switchtosection. llvm-svn: 79324
* add a horrible hack to the dwarf printer. It looks like mingw is not specifyingChris Lattner2009-08-181-3/+9
| | | | | | | | an EHFrame section, so we just emit ehframe data into a random section. This is clearly bad. llvm-svn: 79323
OpenPOWER on IntegriCloud