summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add the missing aliases for fp stack cmovs, rdar://8456391Chris Lattner2010-09-222-0/+23
| | | | llvm-svn: 114531
* Added the start of a test case that will test all basic types and all theGreg Clayton2010-09-223-0/+187
| | | | | | variety of ways they can be displayed in variable views. llvm-svn: 114530
* reimplement elf TLS support in terms of addressing modes, eliminating ↵Chris Lattner2010-09-225-59/+43
| | | | | | SegmentBaseAddress. llvm-svn: 114529
* Fix rdar://8456364 - llvm-mc rejects '%CS'Chris Lattner2010-09-222-8/+16
| | | | llvm-svn: 114528
* fix rdar://8456389 - llvm-mc mismatch with 'as' on 'fstp'Chris Lattner2010-09-222-0/+14
| | | | | | | | | -This line, and those below, will be ignored-- M test/MC/AsmParser/X86/x86_instructions.s M lib/Target/X86/AsmParser/X86AsmParser.cpp llvm-svn: 114527
* fix rdar://8456361 - llvm-mc rejects 'rep movsd'Chris Lattner2010-09-222-0/+11
| | | | llvm-svn: 114526
* convert the last 4 X86ISD nodes that should have memoperands to have them.Chris Lattner2010-09-224-41/+69
| | | | llvm-svn: 114523
* give X86ISD::FNSTCW16m a memoperand, since it touches memory. It onlyChris Lattner2010-09-223-16/+21
| | | | | | can access the stack due to how it is generated though. llvm-svn: 114522
* give FP_TO_INT16_IN_MEM and friends a memoperand. They are onlyChris Lattner2010-09-224-22/+29
| | | | | | used with stack slots, but hey, lets be safe. llvm-svn: 114521
* linux has a different stack alignment than the mac, relax this a bit.Chris Lattner2010-09-221-1/+1
| | | | llvm-svn: 114519
* Only preload SLocEntries after the entire PCH chain was loaded.Sebastian Redl2010-09-222-15/+28
| | | | llvm-svn: 114518
* Reshuffle PerFileData's members to make more sense.Sebastian Redl2010-09-222-55/+74
| | | | llvm-svn: 114517
* Added some comments explaining why we currently have to manually set ↵Greg Clayton2010-09-221-1/+36
| | | | | | CXXRecordDecl variables. This is because SEMA is actually calling the accessors that should be built into the CXXRecordDecl class. We have an internal bug tracking this change and will remove the affected work around code when a solution is available. llvm-svn: 114516
* give VZEXT_LOAD a memory operand, it now works with segment registers.Chris Lattner2010-09-227-16/+41
| | | | llvm-svn: 114515
* Improved the logging for ASTs generated on theSean Callanan2010-09-221-2/+2
| | | | | | | | expression parser's behalf so that now we see the full TranslationUnitDecl instead of just the FunctionDecl. llvm-svn: 114514
* Sanity check the print representation of lldb.SBProcess object.Johnny Chen2010-09-221-8/+13
| | | | llvm-svn: 114513
* Fixed CXXRecordDecl declaration settings for whether a class in a POD typeGreg Clayton2010-09-221-6/+18
| | | | | | or not. llvm-svn: 114512
* Fixed a build warning where no return values was being returned.Greg Clayton2010-09-221-1/+3
| | | | llvm-svn: 114511
* revert r114386 now that address modes work correctly, we get a niceChris Lattner2010-09-222-9/+3
| | | | | | call through gs-relative memory now. llvm-svn: 114510
* Driver/Darwin: Add a runtime library just for ___eprintf -- when targeting i386Daniel Dunbar2010-09-222-5/+14
| | | | | | some projects still depend on ___eprintf being available. llvm-svn: 114509
* give LCMPXCHG_DAG[8] a memory operand, allowing it to work with addrspace ↵Chris Lattner2010-09-214-10/+22
| | | | | | 256/257 llvm-svn: 114508
* filecheckizeChris Lattner2010-09-211-11/+49
| | | | llvm-svn: 114507
* OptimizeCompareInstr should avoid iterating pass the beginning of the MBB ↵Evan Cheng2010-09-212-1/+90
| | | | | | when the 'and' instruction is after the comparison. llvm-svn: 114506
* Trivial change of a trace output string.Johnny Chen2010-09-211-1/+1
| | | | llvm-svn: 114505
* compiler-rt/clang/Darwin: Add a new library configuration which has nothingDaniel Dunbar2010-09-211-0/+7
| | | | | | other than eprintf for i386. llvm-svn: 114504
* fix the rest of rdar://8461279 - clang miscompiles address-space qualified ↵Chris Lattner2010-09-212-8/+21
| | | | | | atomics llvm-svn: 114503
* same bug as before, this time with __sync_val_compare_and_swap.Chris Lattner2010-09-212-5/+13
| | | | llvm-svn: 114502
* Added a subtest to exercise the capability of lldb Python objects to printJohnny Chen2010-09-212-13/+52
| | | | | | | | | | | themselves. Right now, it tests a breakpoint both before and after it has been resolved. Updated lldbtest.TestBase.expect() with an additional keyword argument 'exe' ( default to True), which if set to False, will treat the mandatory first argument as just the string to be matched/or not-matched against the golden input. llvm-svn: 114501
* Add start of support for MC instruction printer of ARM jump tables. Filling inJim Grosbach2010-09-212-0/+74
| | | | | | the rest of it is next up. llvm-svn: 114500
* Update help text for breakpoint command one-liners.Caroline Tice2010-09-213-11/+14
| | | | | | | | | | Fix minor bug in 'commands alias'; alias commands can now handle command options and arguments in the same alias. Also fixes problem that disallowed "process launch --" as an alias. Fix typo in comment in Python script interpreter. llvm-svn: 114499
* fix __sync_bool_compare_and_swap to work with address-space qualified types.Chris Lattner2010-09-212-5/+17
| | | | llvm-svn: 114498
* filecheckize.Chris Lattner2010-09-211-19/+87
| | | | llvm-svn: 114497
* visibility-decoration.Howard Hinnant2010-09-213-87/+186
| | | | llvm-svn: 114496
* Fixes an IRgen ICE due to cast of null pointer toFariborz Jahanian2010-09-212-2/+20
| | | | | | a vla type (fixes pr7827). llvm-svn: 114495
* Enable target-specific mul-lowering on ARM, even at -Os. Remove a test that ↵Owen Anderson2010-09-213-19/+18
| | | | | | | | this makes irrelevant, but add a new test for the new, improved functionality. llvm-svn: 114494
* Wrapped the subclass-specific cleanup call within a try:except: clause.Johnny Chen2010-09-213-8/+13
| | | | | | And removed the informational output from the conditional_break test case. llvm-svn: 114493
* Build the complement interval dupli after the split intervals instead ofJakob Stoklund Olesen2010-09-212-35/+145
| | | | | | | | | | | | | creating it before and subtracting split ranges. This way, the SSA update code in LiveIntervalMap can properly create and use new phi values in dupli. Now it is possible to create split regions where a value escapes along two different CFG edges, creating phi values outside the split region. This is a work in progress and probably quite broken. llvm-svn: 114492
* reimplement support for GS and FS relative address space matchingChris Lattner2010-09-213-57/+44
| | | | | | | | | | | | | | | | | by having X86DAGToDAGISel::SelectAddr get passed in the parent node of the operand match (the load/store/atomic op) and having it get the address space from that, instead of having special FS/GS addr mode operations that require duplicating the entire instruction set to support. This makes FS and GS relative accesses *far* more predictable and work much better. It also simplifies the X86 backend a bit, more to come. There is still a pending issue with nodes like ISD::PREFETCH and X86ISD::FLD, which really should be MemSDNode's but aren't. llvm-svn: 114491
* Fixed pr20314-2.c failure, added E, F, p constraint letters.John Thompson2010-09-212-6/+21
| | | | llvm-svn: 114490
* Rework passing parent pointers into complexpatterns, I forgotChris Lattner2010-09-213-30/+39
| | | | | | | | that complex patterns are matched after the entire pattern has a structural match, therefore the NodeStack isn't in a useful state when the actual call to the matcher happens. llvm-svn: 114489
* Move a sign-extend or a zero-extend of a load to the same basic block as theBob Wilson2010-09-211-1/+2
| | | | | | | load when the type of the load is not legal, even if truncates are not free. The load is going to be legalized to an extending load anyway. llvm-svn: 114488
* Clarify a comment.Bob Wilson2010-09-211-1/+1
| | | | llvm-svn: 114487
* visibility-decoration.Howard Hinnant2010-09-2111-196/+351
| | | | llvm-svn: 114486
* Fixed an issue with the clang type creation code for C++ classes where we ↵Greg Clayton2010-09-211-1/+26
| | | | | | wouldn't set a CXXRecordDecl to be NOT empty if we had base classes that were not empty or had virtual functions. llvm-svn: 114484
* Add some utility routines.Dan Gohman2010-09-211-0/+12
| | | | llvm-svn: 114483
* Add insertAfter. This should have accompanied previous check-in.Devang Patel2010-09-211-0/+3
| | | | llvm-svn: 114481
* Added a more complex test case of breakpoint commands, which executes a sequenceJohnny Chen2010-09-214-8/+172
| | | | | | | | | | | | | | | | | | | of 'breakpoint command add/list/remove' commands to set breakpoint callbacks, list them, and then remove one. Modified the lldbtest.TestBase.expect() method to add two additional keyword arguments: o matching (default to True), which, if set to False, reverses the semantics of 'expect' to 'expect not' o patterns (default to None), which specifies a list of regexp patterns to match against the output from running the command TestBreakpointCommand.py uses the matching=False and the patterns=[...] expect() API. llvm-svn: 114480
* If only user of a vreg is an copy instruction to export copy of vreg out of ↵Devang Patel2010-09-211-0/+23
| | | | | | | | | current basic block then insert DBG_VALUE so that debug value of the variable is also transfered to new vreg. Testcase is in r114476. This fixes radar 8412415. llvm-svn: 114478
* Correctly register the class extension as the lexical DeclContext for ObjC ↵Ted Kremenek2010-09-213-11/+14
| | | | | | | | | | | | methods declared with @property in class extensions. This matches the behavior for setters. Also pass the class extension to ProcessPropertyDecl as the lexical DeclContext, even when not redeclaring the @property. This fixes the remaining issues in <rdar://problem/7410145>. llvm-svn: 114477
* testcase commit for upcoming fix.Devang Patel2010-09-211-0/+124
| | | | llvm-svn: 114476
OpenPOWER on IntegriCloud