summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix PR7162: Use source register classes and sub-indices to determine the ↵Evan Cheng2010-05-182-4/+44
| | | | | | correct register class of the definitions of REG_SEQUENCE. llvm-svn: 104050
* Testcase for llvm-gcc checkin 104042.Dale Johannesen2010-05-181-0/+19
| | | | llvm-svn: 104043
* These test now run in objective-c++ mode we well.Fariborz Jahanian2010-05-184-0/+4
| | | | llvm-svn: 104041
* Incorporate Daniel's suggestion and use !isdigit(CurPtr[0]) and notKevin Enderby2010-05-181-1/+1
| | | | | | | CurPtr[0] == '\n' when testing the character after a "0b" when looking to see if it part of a something like "jmp 0b". llvm-svn: 104039
* Fixed the problem with a branch to "0b" that was not parsed by llvm-mcKevin Enderby2010-05-182-13/+15
| | | | | | | correctly. The Lexer was incorrectly eating the newline casusing it to branch to address 0. Updated the test case to use a "0:" label and a branch to "0b". llvm-svn: 104038
* Add missing test case, provided by Steven Watanabe.Douglas Gregor2010-05-181-0/+50
| | | | llvm-svn: 104037
* [rand.dist.norm.f]Howard Hinnant2010-05-1823-55/+946
| | | | llvm-svn: 104035
* Teach the machine code verifier to use getSubRegisterRegClass().Jakob Stoklund Olesen2010-05-181-2/+5
| | | | | | The old approach was wrong. It had an off-by-one error. llvm-svn: 104034
* MC/Mach-O: Implement support for setting indirect symbol table offset in ↵Daniel Dunbar2010-05-183-3/+203
| | | | | | | | section header. Also, create symbol data for LHS of assignment, to match 'as' symbol ordering better. llvm-svn: 104033
* MC/Mach-O: Remove some FIXMEs.Daniel Dunbar2010-05-181-7/+3
| | | | llvm-svn: 104032
* MC/Mach-O: Fail faster/harder when we see .file, which isn't yet supported.Daniel Dunbar2010-05-181-2/+2
| | | | llvm-svn: 104031
* MC/X86: Implement custom lowering to make sure we match things likeDaniel Dunbar2010-05-182-0/+94
| | | | | | | | X86::ADC32ri $0, %eax to X86::ADC32i32 $0 llvm-svn: 104030
* llc (et al): Add support for --show-encoding and --show-inst.Daniel Dunbar2010-05-181-1/+13
| | | | llvm-svn: 104029
* Fix typo test caseDouglas Gregor2010-05-181-1/+1
| | | | llvm-svn: 104027
* Add support for Microsoft's __thiscall, from Steven Watanabe!Douglas Gregor2010-05-1815-20/+63
| | | | llvm-svn: 104026
* Correctly initialize bases with member pointers. This should fix PR6441 but ↵Anders Carlsson2010-05-183-14/+155
| | | | | | that test case is a bit weird and I'd like to investigate further before closing that bug. llvm-svn: 104025
* Give a slight edge to the context-sensitive keyword 'super' overDouglas Gregor2010-05-182-5/+22
| | | | | | | | | non-function-local declarations with names similar to what the user typed. For example, this allows us to correct 'supper' to 'super' in an Objective-C message send, even though the C function 'isupper' has the same edit distance. llvm-svn: 104023
* Tweak typo-correction logic a bit regarding "super", so that weDouglas Gregor2010-05-185-6/+28
| | | | | | | | | consider "super" as a candidate whenever we're parsing an expression within an Objective-C method in an interface that has a superclass. At some point, we'd like to give "super" a little edge over non-local names; that will come later. llvm-svn: 104022
* Usage of O_NONBLOCK in bjam is now confirmed as a bug and fixed upstream.Dan Gohman2010-05-181-4/+7
| | | | | | Update the comment. llvm-svn: 104021
* Simplify MCContext::(Next|Get)InstanceBenjamin Kramer2010-05-181-24/+8
| | | | | | | - Allocate MCLabels in the context so they don't leak. - Avoid duplicated densemap lookup. llvm-svn: 104020
* Permit Objective C object pointers to be const_casted.John McCall2010-05-183-1/+26
| | | | llvm-svn: 104019
* Replace FIRST_* and LAST_* macros with a generic STMT_RANGE macroAlexis Hunt2010-05-181-20/+27
| | | | | | Also rename ABSTRACT to ABSTRACT_STMT llvm-svn: 104018
* Switch over the tablegen to use much prettier range technologyAlexis Hunt2010-05-185-24/+13
| | | | | | | Also rename ABSTRACT to ABSTRACT_STMT, in keeping with the other .def files llvm-svn: 104017
* "The attached patch allows clang to find the headersDouglas Gregor2010-05-181-9/+33
| | | | | | | for Visual Studio 2010. It also adds a registry search for the Express edition,", from Steven Watanabe! llvm-svn: 104015
* I hate this commit.Douglas Gregor2010-05-183-116/+37
| | | | | | | | | | | | | | | | | | | | | Revert much of the implementation of C++98/03 [temp.friend]p5 in r103943 and its follow-ons r103948 and r103952. While our implementation was technically correct, other compilers don't seem to implement this paragraph (which forces the instantiation of friend functions defined in a class template when a class template specialization is instantiated), and doing so broke a bunch of Boost libraries. Since this behavior has changed in C++0x (which instantiates the friend function definitions when they are used), we're going to skip the nowhere-implemented C++98/03 semantics and go straight to the C++0x semantics. This commit is a band-aid to get Boost up and running again. It doesn't really fix PR6952 (which this commit un-fixes), but it does deal with the way Boost.Units abuses this particular paragraph. llvm-svn: 104014
* Keep track of the LLVM field numbers for non-virtual bases.Anders Carlsson2010-05-182-4/+25
| | | | llvm-svn: 104013
* Start laying out bases as individual fields. We still use ugly i8 arrays but ↵Anders Carlsson2010-05-181-14/+61
| | | | | | this is a step in the right direction. llvm-svn: 104012
* Add CodeGenTypes::ContainsPointerToDataMember overload that takes a ↵Anders Carlsson2010-05-182-6/+15
| | | | | | CXXRecordDecl. llvm-svn: 104011
* If a switch condition is constant, don't warn about missing enum cases.John McCall2010-05-186-30/+116
| | | | | | | | If a switch condition is constant, warn if there's no case for it. Constant switch conditions do come up in reasonable template code. llvm-svn: 104010
* Better cauchy testsHoward Hinnant2010-05-182-19/+118
| | | | llvm-svn: 104008
* Add option '-analyzer-max-loop', which specifies the maximum Zhongxing Xu2010-05-186-4/+14
| | | | | | number of times the analyzer will go through a loop. llvm-svn: 104007
* more :: to _Howard Hinnant2010-05-1813-0/+0
| | | | llvm-svn: 104006
* more :: to _Howard Hinnant2010-05-188-0/+0
| | | | llvm-svn: 104005
* FIX PR7158. SimplifyVBinOp was asserting when it fails to constant fold (op ↵Evan Cheng2010-05-182-7/+25
| | | | | | (build_vector), (build_vector)). llvm-svn: 104004
* Teach the ObjC mangler to ignore member pointers just like gcc does.John McCall2010-05-172-1/+18
| | | | llvm-svn: 104001
* Add a hack to silence warnings about failing to return from functions afterChandler Carruth2010-05-172-0/+30
| | | | | | a temporary with a noreturn destructor has been created. Fixes PR6884 for now. llvm-svn: 104000
* Instantiate attributes on typedefs. This is a quick fix for PR7148,Douglas Gregor2010-05-172-0/+7
| | | | | | | when we really need a proper audit of our handling of attributes in templates. llvm-svn: 103999
* ARMBaseRegisterInfo::estimateRSStackSizeLimit() could return prematurely with aJakob Stoklund Olesen2010-05-171-16/+17
| | | | | | | | | | | | | | | too large limit. The function would return immediately when finding an addrmode 3/5 instruction. It needs to keep scanning in case there is an addrmode 6 instruction which drops the limit to 0. A test case is very difficult to produce because it will only fail when the scavenger is used. rdar://problem/7894847 llvm-svn: 103995
* Fix PR7175. Insert copies of a REG_SEQUENCE source if it is used by other ↵Evan Cheng2010-05-172-1/+50
| | | | | | REG_SEQUENCE instructions. llvm-svn: 103994
* Add a 'Base' type to RecursiveASTVisitor to make recursing easier and documentNick Lewycky2010-05-171-4/+7
| | | | | | how you're supposed to use it. llvm-svn: 103993
* - Set the "HasCalls" flag after instruction selection is finished.Bill Wendling2010-05-172-16/+23
| | | | | | | - Change the logic DisableFramePointerElim() to check for the -disable-non-leaf-fp-elim before -disable-fp-elim. llvm-svn: 103990
* Added support in MC for Directional Local Labels.Kevin Enderby2010-05-178-9/+283
| | | | llvm-svn: 103989
* Clean up test case and remove XFAIL. This test can now distinguish betweenTed Kremenek2010-05-171-21/+16
| | | | | | | cases where Clang can suggest and fix and suggest and not auto-fix (because of current limitations). llvm-svn: 103987
* Comments and assorted cleanups for the Objective C type AST.John McCall2010-05-172-33/+102
| | | | llvm-svn: 103986
* More data/parsing support for tls directives. Add a few more testcasesEric Christopher2010-05-178-5/+54
| | | | | | and cleanup comments as well. llvm-svn: 103985
* Fix PR7156. If the sources of a REG_SEQUENCE are all IMPLICIT_DEF's. Replace ↵Evan Cheng2010-05-172-2/+57
| | | | | | it with an IMPLICIT_DEF rather than deleting it or else it would be left without a def. llvm-svn: 103984
* [rand.dist.norm.cauchy]. I'm having trouble testing the output as all ↵Howard Hinnant2010-05-1719-2/+767
| | | | | | statistical properties are undefined. They do not converge upon any one value as the number of samples increases. Suggestions for tests welcome. llvm-svn: 103983
* vmov of immediates are trivially re-materializable.Evan Cheng2010-05-171-0/+2
| | | | llvm-svn: 103982
* MC/Mach-O/x86: Optimal nop sequences should only be used for the .text ↵Daniel Dunbar2010-05-172-15/+86
| | | | | | sections, not all sections in the text segment. llvm-svn: 103981
* MC: Add dyn_cast support to MCSection.Daniel Dunbar2010-05-176-6/+42
| | | | | | - Of questionable utility, since in general anything which wants to do this should probably be within a target specific hook, which can rely on the sections being of the appropriate type. However, it can be useful for short term hacks. llvm-svn: 103980
OpenPOWER on IntegriCloud