summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the AsmWriterEmitter (unused) feature that rely on TargetSubtargetInfo.Evan Cheng2011-07-063-151/+6
| | | | llvm-svn: 134457
* Call objc_terminate() instead of abort() when a cleanup throws anJohn McCall2011-07-069-4/+68
| | | | | | | exception in Objective-C; in Objective-C++ we still use std::terminate(). This is only available in very recent runtimes. llvm-svn: 134456
* Missing header from last commit; accidental change.John McCall2011-07-062-1/+39
| | | | llvm-svn: 134455
* Added a missing case label.Fariborz Jahanian2011-07-061-0/+1
| | | | llvm-svn: 134454
* Change the driver's logic about Objective-C runtimes: abstract out aJohn McCall2011-07-0655-128/+171
| | | | | | | | | | | | structure to hold inferred information, then propagate each invididual bit down to -cc1. Separate the bits of "supports weak" and "has a native ARC runtime"; make the latter a CodeGenOption. The tool chain is still driving this decision, because it's the place that has the required deployment target information on Darwin, but at least it's better-factored now. llvm-svn: 134453
* Add a more verbose docstring for SBThread.h.Johnny Chen2011-07-061-37/+75
| | | | llvm-svn: 134452
* Add swig docstrings for SBBlock.h.Johnny Chen2011-07-051-0/+38
| | | | llvm-svn: 134451
* objc-arc: enforce performSelector rules in rejecting retaining selectorsFariborz Jahanian2011-07-057-1/+132
| | | | | | | passed to it, and unknown selectors causing potential leak. // rdar://9659270 llvm-svn: 134449
* ScheduleOpt: Fix some bugsTobias Grosser2011-07-051-4/+7
| | | | | | | isl changed a function name, we did not properly initialize some variables and we freed an isl_ctx object. llvm-svn: 134448
* Revert r134366 and add an explicit triple to make this test host-independent.Dan Gohman2011-07-051-4/+4
| | | | llvm-svn: 134447
* Add swig docstrings for SBModule.h, plus ifndef the SBModule::GetUUIDBytes() ↵Johnny Chen2011-07-053-8/+102
| | | | | | | | API out if swig. Fix typos in the comment for Module.h. llvm-svn: 134446
* Add the ObjC ARC optimization passes manually, now that they're notDan Gohman2011-07-053-7/+45
| | | | | | hardwired into the default pass list. llvm-svn: 134445
* Remove the ObjC ARC passes from the default optimization list, and addDan Gohman2011-07-052-7/+9
| | | | | | extension points to be used by clang. llvm-svn: 134444
* Remove unused member of Builtin::Info.Eli Friedman2011-07-053-24/+15
| | | | llvm-svn: 134443
* Testcase for r134441.Devang Patel2011-07-051-0/+35
| | | | llvm-svn: 134442
* Preserve debug loc.Devang Patel2011-07-052-2/+2
| | | | llvm-svn: 134441
* Speculatively revert r134431.Devang Patel2011-07-051-1/+0
| | | | llvm-svn: 134440
* Use memcmp.Benjamin Kramer2011-07-051-3/+1
| | | | llvm-svn: 134439
* Drop "soft" argument that would be considered as file argument by cc1.Joerg Sonnenberger2011-07-051-1/+0
| | | | llvm-svn: 134438
* Add a more verbose docstring to the SBSymbolContext API class.Johnny Chen2011-07-052-4/+44
| | | | | | Add doxygen/docstring to SBProcess.RemoteAttachToProcessWithID() API method. llvm-svn: 134437
* Really fix typo :-(Rafael Espindola2011-07-051-1/+1
| | | | llvm-svn: 134436
* www/memaccess: Fix forgotten typoTobias Grosser2011-07-051-1/+1
| | | | llvm-svn: 134435
* CodeGen: Adapt to change of PHI operand storageTobias Grosser2011-07-051-3/+0
| | | | | | | Commit 133435 "Change how PHINodes store their operands" broke Polly. Fix this breakage by adapting to the changes in the commit. llvm-svn: 134434
* Fix typo.Rafael Espindola2011-07-051-2/+2
| | | | llvm-svn: 134433
* test: Do not pipe the .ll file into optTobias Grosser2011-07-0536-60/+60
| | | | | | | The construct '< %s' complicates debugging with gdb --args as the content of %s is interpreted as gdb input. llvm-svn: 134432
* Clear debug loc while updating insert point.Devang Patel2011-07-051-0/+1
| | | | llvm-svn: 134431
* By default mkstemp() creates a temporary file with mode 0600, but the modeChad Rosier2011-07-051-0/+3
| | | | | | | | used for open is 0666. Therefore, add the necessary permission bits for consistency. rdar://8621462 llvm-svn: 134430
* www: Updating memaccess documentationRaghesh Aloor2011-07-052-137/+81
| | | | | | | This is a complete rewrite to memaccess.html file. This removed some unwanted html tags. llvm-svn: 134429
* Break infinite loop when the Hopfield network oscillates.Jakob Stoklund Olesen2011-07-051-8/+6
| | | | | | | | | | This is impossible in theory, I can prove it. In practice, our near-zero threshold can cause the network to oscillate between equally good solutions. <rdar://problem/9720596> llvm-svn: 134428
* Compare all 4 bytes of the header.Rafael Espindola2011-07-051-2/+3
| | | | llvm-svn: 134427
* Look through parenthesized declarators when determining whether anDouglas Gregor2011-07-052-1/+9
| | | | | | | instantiated function template was written with a prototype or via some kind of typedef. Fixes PR10273 / <rdar://problem/9723679>. llvm-svn: 134426
* Hook up mipsel-netbsd and mipsel-freebsd for OS specific handling.Joerg Sonnenberger2011-07-051-4/+11
| | | | llvm-svn: 134425
* Add assembler/disassembler support for non-AVX pclmulqdq. While I'm here, ↵Eli Friedman2011-07-054-35/+58
| | | | | | use proper aliases for the pclmullqlqdq and friends. PR10269. llvm-svn: 134424
* indvars -disable-iv-rewrite: avoid multiple IVs in weird cases.Andrew Trick2011-07-051-18/+30
| | | | | | Putting back the helper that I removed on 7/1 to do this right. llvm-svn: 134423
* Use OS-specific configuration for mips-netbsd and mips-freebsd.Joerg Sonnenberger2011-07-051-4/+11
| | | | llvm-svn: 134422
* Some documentation fixes for the parser, from John FreemanDouglas Gregor2011-07-052-27/+2
| | | | llvm-svn: 134419
* StringRef'ize clang::drive::Option::getName(), from Zach Wheeler!Douglas Gregor2011-07-054-14/+15
| | | | llvm-svn: 134418
* Clean up and refactor ParseFunctionDeclarator to reduce codeDouglas Gregor2011-07-052-254/+197
| | | | | | repetition and better reflect the actual grammar, from John Freeman! llvm-svn: 134417
* ActOnCXXConditionDeclaration should take into account thatDouglas Gregor2011-07-052-1/+13
| | | | | | ActOnDeclarator can return NULL. Fixes PR10270, from Hans Wennborg! llvm-svn: 134416
* ARM estimateStackSize() needs to account for simplified call frames.Jim Grosbach2011-07-051-7/+39
| | | | | | | | | | | | If the function allocates reserved stack space for callee argument frames, estimateStackSize() needs to account for that, as it doesn't show up as ordinary frame objects. Otherwise, a callee with a large argument list will throw off the calculations for whether to allocate an emergency spill slot and we get assert() failures in the register scavenger. rdar://9715469 llvm-svn: 134415
* Don't define __CONSTANT_CFSTRINGS__ with -fno-constant-cfstrings issue.Fariborz Jahanian2011-07-051-1/+2
| | | | | | Patch by Jean-Daniel Dupas. llvm-svn: 134414
* Fix PR10277.Jakob Stoklund Olesen2011-07-053-0/+108
| | | | | | | | | | | | | | | Remat during spilling triggers dead code elimination. If a phi-def becomes unused, that may also cause live ranges to split into separate connected components. This type of splitting is different from normal live range splitting. In particular, there may not be a common original interval. When the split range is its own original, make sure that the new siblings are also their own originals. The range being split cannot be used as an original since it doesn't cover the new siblings. llvm-svn: 134413
* Tweak comment and debug output.Jakob Stoklund Olesen2011-07-051-2/+3
| | | | llvm-svn: 134412
* Don't define _BIG_ENDIAN for NetBSD/PowerPC.Joerg Sonnenberger2011-07-051-1/+2
| | | | llvm-svn: 134411
* Fix indentationJoerg Sonnenberger2011-07-051-3/+3
| | | | llvm-svn: 134410
* Fix 80-col.Michael J. Spencer2011-07-051-3/+12
| | | | llvm-svn: 134409
* Fix warnings.Michael J. Spencer2011-07-051-3/+3
| | | | llvm-svn: 134408
* Teach Clang's <float.h> to also include MinGW's <float.h>, which provides ↵Douglas Gregor2011-07-051-0/+42
| | | | | | additional system definitions, from Ruben Van Boxem llvm-svn: 134407
* Update header-search paths for MinGW, from Ruben Van BoxemDouglas Gregor2011-07-051-0/+2
| | | | llvm-svn: 134406
* Fix uninitialized loop counter. http://llvm.org/bugs/show_bug.cgi?id=10278Howard Hinnant2011-07-051-1/+1
| | | | llvm-svn: 134405
OpenPOWER on IntegriCloud