summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert r131644; it's breaking the build.Eli Friedman2011-05-192-14/+8
| | | | llvm-svn: 131653
* Turns out GAS does have Win64 EH directives. (It also supports WinCE EH.) MakeCharles Davis2011-05-194-50/+60
| | | | | | | | | ours compatible with GAS. In retrospect, I should have emailed binutils about this earlier. Thanks to Kai Tietz for pointing out that GAS already had SEH directives. llvm-svn: 131652
* Link to LLVM instrumentation libPeter Collingbourne2011-05-191-1/+1
| | | | llvm-svn: 131651
* Add UnwindAssembly plugins to makefile buildPeter Collingbourne2011-05-194-1/+32
| | | | llvm-svn: 131650
* 80 columns.Jim Grosbach2011-05-191-9/+12
| | | | llvm-svn: 131649
* #include <string.h> for memsetPeter Collingbourne2011-05-191-0/+1
| | | | llvm-svn: 131648
* Remove some old files which should have been removed in r131193Peter Collingbourne2011-05-192-94/+0
| | | | llvm-svn: 131647
* Use the portable memchr function instead of the BSD-only strnstrPeter Collingbourne2011-05-191-2/+2
| | | | llvm-svn: 131646
* Initialise the Darwin ABI plugins only on DarwinPeter Collingbourne2011-05-191-7/+7
| | | | llvm-svn: 131645
* Introduce -fatal-assembler-warnings for the obvious purposeJoerg Sonnenberger2011-05-192-8/+14
| | | | llvm-svn: 131644
* Fix data layout string. i64 is aligned to 64 bit boundaries.Akira Hatanaka2011-05-191-2/+3
| | | | llvm-svn: 131642
* Revise MOVSX16rr8/MOVZX16rr8 (and rm variants) to no longer beStuart Hastings2011-05-193-25/+21
| | | | | | pseudos. rdar://problem/8614450 llvm-svn: 131641
* Fix PR9941 again, this time for templates.Sebastian Redl2011-05-192-2/+33
| | | | llvm-svn: 131640
* I had a giant misunderstanding of what 'synchronizes with' meant in ↵Howard Hinnant2011-05-195-23/+316
| | | | | | [futures.async]/p5. This invalidated the current design of async in <future>. This is a new design, based on my new understanding, which has been confirmed on the lwg mailing list. The summary is that ~future() (and ~shared_future()) will block when they are created from within async, and the thread hasn't finished yet. As part of this work I created two new type traits: __invokable<F, Args...>::value and __invoke_of<F, Args...>::type. These are what result_of<F(Args...)> wanted to be when it grew up, but never will be. __invoke_of is carefully crafted so that it can serve as its own enable_if (type doesn't exist if the signature isn't invokable). All of this work is C++11 only. llvm-svn: 131639
* - Fixes openSUSE detection for 11.4 and upcoming 12.1David Chisnall2011-05-191-2/+9
| | | | | | | | - Adds gcc 4.6 to gcc list so that linking will work on openSUSE 12.1 Patch by İsmail Dönmez! llvm-svn: 131637
* Add paths used by openSuSE 12.1David Chisnall2011-05-191-0/+5
| | | | | | Patch by Ismail Dönmez! llvm-svn: 131636
* Move test to Transforms/InstCombine.Stuart Hastings2011-05-192-19/+16
| | | | llvm-svn: 131634
* Implement __underlying_type for libc++.Alexis Hunt2011-05-1913-3/+88
| | | | llvm-svn: 131633
* Reapply r121528, fixing PR9941 by delaying the exception specification check ↵Sebastian Redl2011-05-198-21/+236
| | | | | | for destructors until the class is complete and destructors have been adjusted. llvm-svn: 131632
* Use the correct register class for Cell varargs spilling. This fixes all of theCameron Zwarich2011-05-191-1/+1
| | | | | | verifier failures in the CodeGen/CellSPU tests. llvm-svn: 131631
* Fixed sdiv and udiv for <4 x i16>. The test from r125402 still applies for ↵Mon P Wang2011-05-191-7/+7
| | | | | | this change. llvm-svn: 131630
* Implement the StartChained and EndChained Win64 EH methods on MCStreamer.Charles Davis2011-05-193-16/+27
| | | | llvm-svn: 131629
* Fixed a crasher that was happened when a log shared pointer wasn't valid.Greg Clayton2011-05-193-16/+31
| | | | | | | | | | | Fixed ThreadPlanCallFunction::ReportRegisterState(...) to only dump when verbose logging is enabled and fixed the function to use the new RegisterValue method of reading registers. Fixed the GDB remote client to not send a continue packet after receiving stdout or stderr from the inferior process. llvm-svn: 131628
* Make CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll pass with the verifier.Cameron Zwarich2011-05-191-1/+2
| | | | llvm-svn: 131627
* Fix PR8828 by removing the explicit def in MovePCToLR as well as the pointlessCameron Zwarich2011-05-193-5/+4
| | | | | | | | piclabel operand. The operand in the tablegen definition doesn't actually turn into an MI operand, so it just confuses anything checking the TargetInstrDesc for the number of operands. It suffices to just have an implicit def of LR. llvm-svn: 131626
* Reuse the TargetInstrDesc.Cameron Zwarich2011-05-191-2/+1
| | | | llvm-svn: 131625
* Fix the MSVC build.Francois Pichet2011-05-191-14/+19
| | | | | | | | Use a set of overloaded functions instead of template function for CreatePassFn. It seems that template deduction for functions type that differs only by return type doesn't work with MSVC. llvm-svn: 131624
* Implement the StartProc and EndProc Win64 EH methods on the base MCStreamer.Charles Davis2011-05-192-8/+34
| | | | | | Based largely on Rafael Espindola's work on CFI. Other methods soon to follow. llvm-svn: 131623
* Fix build issues with headers, which I discovered by actually using them.Charles Davis2011-05-192-26/+28
| | | | | | Also, convert all the inline functions on UnwindInfo into methods. llvm-svn: 131622
* Add test for PR9946.Rafael Espindola2011-05-191-0/+18
| | | | llvm-svn: 131621
* revert 131605 to fix PR9946.Rafael Espindola2011-05-191-36/+31
| | | | llvm-svn: 131620
* Correctly constrain a register class when computing frame offsets, as the Thumb2Cameron Zwarich2011-05-191-0/+4
| | | | | | add instruction takes an rGPR. This fixes the last of PR8825. llvm-svn: 131619
* Revert r128961 because it didn't include a test and causes the verifier to failCameron Zwarich2011-05-191-5/+0
| | | | | | | | on CodeGen/X86/2007-05-07-InvokeSRet.ll. There is probably a bug here that was fixed by r128961, but since there is no test or reference to a source file I have to revert it. llvm-svn: 131618
* Make the demanded bits/elements optimizations preserve debug line information.Eli Friedman2011-05-192-15/+23
| | | | | | I'm not sure this is quite ideal, but I can't really think of any better way to do it. llvm-svn: 131616
* Make InstructionLLVM::Dump() more robust for edis in cases when all theJohnny Chen2011-05-191-24/+36
| | | | | | | | | | | | EDOperandIndexForToken(token) calls fail to return a meaningful operand index, resulting in both operands and comment being empty. We will use the raw disassembly string as output in these cases. There is still a known bug where llvm:tB (A8.6.16 B Encoding T2) is not being processed as a branch instruction and therefore the symbolic information is not being dumped for non-raw mode. llvm-svn: 131615
* Teach static analyzer to analyze Objective-C methods in category ↵Ted Kremenek2011-05-192-4/+20
| | | | | | implementations. llvm-svn: 131614
* Fixed an issue with the sign extend code so it uses the correct m_data member.Greg Clayton2011-05-191-4/+4
| | | | llvm-svn: 131613
* Avoid a Twine that referenced a tmp (which proceded to go out of scope beforeJim Grosbach2011-05-191-5/+3
| | | | | | the Twine was used). llvm-svn: 131612
* Make __builtin_shufflevector and -ftrapv work correctly together. PR9945.Eli Friedman2011-05-192-12/+7
| | | | llvm-svn: 131611
* Added the ability to sign extend a Scalar at any bit position for integerGreg Clayton2011-05-195-152/+188
| | | | | | | | | | | | | | types. Added the abilty to set a RegisterValue type via accessor and enum. Added the ability to read arguments for a function for ARM if you are on the first instruction in ABIMacOSX_arm. Fixed an issue where a file descriptor becoming invalid could cause an inifnite loop spin in the libedit thread. llvm-svn: 131610
* Use IRBuilder.Devang Patel2011-05-191-2/+2
| | | | llvm-svn: 131609
* Another try at fixing cmake.Rafael Espindola2011-05-191-1/+1
| | | | llvm-svn: 131608
* Use IRBuilder while simplifying unreachable.Devang Patel2011-05-191-7/+8
| | | | llvm-svn: 131607
* Revert my previous patch. The cmake build had already been fixed.Rafael Espindola2011-05-192-2/+1
| | | | llvm-svn: 131606
* Use IRBuilder while simplifying conditional branch.Devang Patel2011-05-181-31/+36
| | | | llvm-svn: 131605
* More instcombine cleanup, towards improving debug line info.Eli Friedman2011-05-184-12/+14
| | | | llvm-svn: 131604
* Restore sanity to 131601.Jim Grosbach2011-05-181-2/+3
| | | | llvm-svn: 131603
* Fix the cmake build.Rafael Espindola2011-05-182-1/+2
| | | | llvm-svn: 131602
* Objective C functions may use a magic '\1' on the name. Handle that whenJim Grosbach2011-05-182-1/+16
| | | | | | dealing with them in the MCJIT. llvm-svn: 131601
* Shuffle StandardPasses.cpp into VMCore; add it to CMake.Eli Friedman2011-05-182-0/+1
| | | | llvm-svn: 131600
OpenPOWER on IntegriCloud