summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Use IRBuilder while simplifying branch.Devang Patel2011-05-181-12/+13
| | | | llvm-svn: 131598
* Revert unintentional commit.Eli Friedman2011-05-181-26/+5
| | | | llvm-svn: 131597
* More instcombine simplifications towards better debug locations.Eli Friedman2011-05-183-18/+36
| | | | llvm-svn: 131596
* Add missing mayLoad / mayStore flags to instruction definitions without ↵Cameron Zwarich2011-05-181-0/+5
| | | | | | | | patterns, which fixes all of the CodeGen/MBlaze verifier failures. llvm-svn: 131595
* Some refactorings with respect to setting of the 'printTokenized' flag.Johnny Chen2011-05-181-20/+16
| | | | | | Add some comments. llvm-svn: 131594
* Add a header patterned after MCDwarf.h for supporting Win64 exception handlingCharles Davis2011-05-181-0/+91
| | | | | | under MC. llvm-svn: 131593
* Some better type safety enforcement in the standard pass list, along with ↵David Chisnall2011-05-181-25/+31
| | | | | | some small tidies and some fixes for bugs that the stricter checking found. llvm-svn: 131592
* Reserve the segment registers on x86 to fix verifier failures in any code thatCameron Zwarich2011-05-181-0/+9
| | | | | | uses them. llvm-svn: 131591
* Remove comments as Chris requested.Charles Davis2011-05-181-48/+12
| | | | llvm-svn: 131590
* Remove dead code which tests for boolan flag 'raw' and restore one ↵Johnny Chen2011-05-181-47/+39
| | | | | | indentation level. llvm-svn: 131589
* Added a function to lldb_private::Address:Greg Clayton2011-05-184-35/+77
| | | | | | | | | | | | | | | | addr_t Address::GetCallableLoadAddress (Target *target) const; This will resolve the load address in the Address object and optionally decorate the address up to be able to be called. For all non ARM targets, this just essentially returns the result of "Address::GetLoadAddress (target)". But for ARM targets, it checks if the address is Thumb, and if so, it returns an address with bit zero set to indicate a mode switch to Thumb. This is how we need function pointers to be for return addresses and when resolving function addresses for the JIT. It is also nice to centralize this in one spot to avoid having multiple copies of this code. llvm-svn: 131588
OpenPOWER on IntegriCloud