summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for the OpenBSD for Bitrig.Eric Christopher2012-08-0611-20/+30
| | | | | | Patch by David Hill. llvm-svn: 161344
* scan-build: factor out setting of environment variables.Ted Kremenek2012-08-061-34/+59
| | | | llvm-svn: 161343
* [ms-inline asm] Pass Tokens to Sema and store them in the AST. No functionalChad Rosier2012-08-066-11/+21
| | | | | | change intended. No test case as there's no real way to test at this time. llvm-svn: 161342
* Fix MIPS DSP Rev1 intrinsics memory properties.Simon Atanasyan2012-08-062-61/+157
| | | | | | The patch reviewed by Akira Hatanaka. llvm-svn: 161333
* Fix MIPS DSP Rev1 intrinsics memory properties.Simon Atanasyan2012-08-061-78/+56
| | | | | | The patch reviewed by Akira Hatanaka. llvm-svn: 161332
* Comment parser and sema: remove useless return valuesDmitri Gribenko2012-08-064-149/+130
| | | | llvm-svn: 161331
* Pull 'xcodebuild' wrapper logic into a separate function.Ted Kremenek2012-08-061-26/+38
| | | | llvm-svn: 161330
* Put up warning signs around MO::getNextOperandForReg().Jakob Stoklund Olesen2012-08-061-2/+4
| | | | llvm-svn: 161329
* Remove empty overrides of processFunctionBeforeFrameFinalized().Roman Divacky2012-08-063-10/+0
| | | | llvm-svn: 161328
* Comment diagnostics: warn on duplicate \brief and \return commands.Dmitri Gribenko2012-08-065-67/+183
| | | | | | | | | | Doxygen manual claims that multiple \brief or \returns commands will be merged together, but actual behavior is different (second \brief command becomes a part of a discussion, second \returns becomes a "Returns: blah" paragraph on its own). Anyway, it seems to be a bad idea to use multiple \brief or \returns commands in a single command. llvm-svn: 161325
* Comment diagnostics: \return in void function: specialize diagnostic text forDmitri Gribenko2012-08-066-14/+32
| | | | | | ObjC methods. llvm-svn: 161324
* <rdar://problem/12029894>Greg Clayton2012-08-062-3/+15
| | | | | | Use the built in demangler for Apple builds for now which has needed demangling fixes, and make the cxa_demangle.cpp use rtti in the Xcode project settings as it requires it be enabled. llvm-svn: 161323
* [ASan] fix names of malloc/free replacements on AndroidAlexey Samsonov2012-08-061-1/+7
| | | | llvm-svn: 161322
* [ASan] add new ASan option 'strip_path_prefix' to remove useless prefices ↵Alexey Samsonov2012-08-065-6/+30
| | | | | | from filenames in stack traces llvm-svn: 161321
* AllocationSize(ptr) should check that |ptr| actually points to the beginning ↵Alexander Potapenko2012-08-061-4/+5
| | | | | | | | of the chunk it belongs to. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=86 llvm-svn: 161320
* Re-enable pcmpistri/pcmpestri builtins in clang now that llvm supports them ↵Craig Topper2012-08-062-11/+80
| | | | | | properly. llvm-svn: 161319
* Implement proper handling for pcmpistri/pcmpestri intrinsics. Requires ↵Craig Topper2012-08-066-65/+197
| | | | | | custom handling in DAGISelToDAG due to limitations in TableGen's implicit def handling. Fixes PR11305. llvm-svn: 161318
* PR13529: Don't crash if the driver sees an unused input file when running asRichard Smith2012-08-064-9/+27
| | | | | | | | | | 'clang-cpp'. For now, the test uses "REQUIRES: shell" to determine if the host system supports "ln -s", which it uses to create a 'clang-cpp' symlink. This is a bit hacky and should likely be directly supported by lit.cfg. llvm-svn: 161317
* PR13499: Don't try to check whether 'override' has been validly applied untilRichard Smith2012-08-063-38/+91
| | | | | | | we know whether the function is virtual. But check it as soon as we do know; in some cases we don't need to wait for an instantiation. llvm-svn: 161316
* PR13527: don't assert if a function is explicitly defaulted when it's alreadyRichard Smith2012-08-063-1/+35
| | | | | | been defined. llvm-svn: 161315
* Do not use linkonce_odr linkage in .ll files. This prevented themPeter Collingbourne2012-08-056-48/+48
| | | | | | from being linked into the library under lazy linkage. llvm-svn: 161314
* PTX: move implementations of work-item and synchronisation functionsPeter Collingbourne2012-08-0518-21/+38
| | | | | | | to lib, and add header files in generic. Incorporates a patch by Tom Stellard! llvm-svn: 161313
* Implement sub_sat builtin. Patch by Lei Mou!Peter Collingbourne2012-08-0510-0/+272
| | | | llvm-svn: 161312
* Fix declarations of __clc_add_sat_*. Patch by Lei Mou!Peter Collingbourne2012-08-051-8/+8
| | | | llvm-svn: 161311
* Add __builtin_readcyclecounter() to produce the @llvm.readcyclecounter() ↵Hal Finkel2012-08-054-0/+48
| | | | | | intrinsic. llvm-svn: 161310
* std::equal operating on non-const __bit_iterators was not working. This ↵Howard Hinnant2012-08-051-14/+14
| | | | | | fixes it. llvm-svn: 161309
* Andrew Morrow: The current CMake setup for libc++ incorrectly uses the variableHoward Hinnant2012-08-051-1/+2
| | | | | | | | | | | | LLVM_ENABLE_ASSERTIONS instead of LIBCXX_ENABLE_ASSERTIONS when figuring out what _DEBUG/NDEBUG defines to set. It also tries to test the non-existent variable 'uppercase_CMAKE_BUILD_TYPE', which the top level LLVM CMakeLists.txt sets up, but which the top level libc++ CMakeLists.txt currently does not. Changing the variable name tested and creating the uppercase release name variable allows libc++ to honor the LIBCXX_ENABLE_ASSERTIONS option correctly. llvm-svn: 161308
* Update test to check for r161305Craig Topper2012-08-051-0/+2
| | | | llvm-svn: 161307
* Remove custom inserter for MWAIT. It doesn't do anything that couldn't be ↵Craig Topper2012-08-052-24/+2
| | | | | | represented in a pattern. llvm-svn: 161306
* Use a COPY node instead of an explicit MOVA opcode in the custom insterter ↵Craig Topper2012-08-051-2/+1
| | | | | | for pcmpestrm/pcmpistrm. Allows the register allocator to handle it better and prevent wasted identity moves. llvm-svn: 161305
* Simplify code, no functionality change.Benjamin Kramer2012-08-042-8/+3
| | | | llvm-svn: 161303
* Add readcyclecounter lowering on PPC64.Hal Finkel2012-08-044-1/+26
| | | | | | | | On PPC64, this can be done with a simple TableGen pattern. To enable this, I've added the (otherwise missing) readcyclecounter SDNode definition to TargetSelectionDAG.td. llvm-svn: 161302
* Skip impdef regs during eabi save/restore list emission to workaround PR11902Anton Korobeynikov2012-08-041-2/+8
| | | | llvm-svn: 161301
* Recognize vst1.64 / vld1.64 with 3 and 4 regs as load from / store to stack ↵Anton Korobeynikov2012-08-041-0/+4
| | | | | | | | | stuff (this corresponds by spilling/reloading regs in DTriple / DQuad reg classes). No testcase, found by inspection. llvm-svn: 161300
* Add stack spill / reload instructions for DTriple and DQuad register ↵Anton Korobeynikov2012-08-042-3/+217
| | | | | | | | classes, which were missed for no reason. This fixes PR13377 llvm-svn: 161299
* Remove extraneous ';'.Bill Wendling2012-08-041-1/+1
| | | | llvm-svn: 161298
* Update cmake build.Benjamin Kramer2012-08-041-0/+1
| | | | llvm-svn: 161297
* Postpone the deletion of the old name in StructType::setName to allow using ↵Benjamin Kramer2012-08-042-10/+50
| | | | | | | | a slice of the old name. Fixes PR13522. Add a rudimentary unit test to exercise the behavior. llvm-svn: 161296
* [CMake] add_lit_target: Remove comments about add_dependencies. It is not a ↵NAKAMURA Takumi2012-08-041-5/+0
| | | | | | bug in cmake that add_custom_target(DEPENDS) would not accept targets but file-level dependencies. llvm-svn: 161295
* [analyzer] Malloc: remove assert since is not valid as of r161248Anna Zaks2012-08-042-5/+12
| | | | | | | We can be in the situation where we did not track the symbol before realloc was called on it. llvm-svn: 161294
* Pull in cxa_demangle.cpp/.h from llvm's libcxxabi project. Change the ↵Johnny Chen2012-08-044-0/+11190
| | | | | | | | namespace to lldb_cxxabiv1 for the time being. Mangled.cpp is not wired in to call it yet. llvm-svn: 161293
* llc: Try to suppress failures since r161262 .NAKAMURA Takumi2012-08-041-2/+5
| | | | | FIXME: Fix several tests on i686-win32 due to lacking of many libraries. llvm-svn: 161292
* objective-C string literal has no side-effect,Fariborz Jahanian2012-08-042-0/+3
| | | | | | | resulting in issuance of unused static variable warning now. // rdar://10777111 llvm-svn: 161291
* [analyzer] Use a more robust check for null in CallAndMessageChecker.Jordan Rose2012-08-042-6/+16
| | | | | | This should fix the failing test on the buildbot as well. llvm-svn: 161290
* Loosen up the timing requirements on 4 more tests.Howard Hinnant2012-08-044-4/+4
| | | | llvm-svn: 161289
* [analyzer] Don't assume values bound to references are automatically non-null.Jordan Rose2012-08-042-4/+32
| | | | | | | | | | | While there is no such thing as a "null reference" in the C++ standard, many implementations of references (including Clang's) do not actually check that the location bound to them is non-null. Thus unlike a regular null dereference, this will not cause a problem at runtime until the reference is actually used. In order to catch these cases, we need to not prune out paths on which the input pointer is null. llvm-svn: 161288
* Fix the name of this variable.Eric Christopher2012-08-041-4/+4
| | | | llvm-svn: 161287
* Update comment to accurately reflect what should happen.Eric Christopher2012-08-041-1/+1
| | | | llvm-svn: 161286
* Delete a dead variable.Jakob Stoklund Olesen2012-08-041-12/+0
| | | | | | TwoAddressInstructionPass doesn't remat any more. llvm-svn: 161285
* TwoAddressInstructionPass refactoring: Extract another method.Jakob Stoklund Olesen2012-08-031-121/+134
| | | | llvm-svn: 161284
OpenPOWER on IntegriCloud