summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove DbgNode checks in constructor. Debug descriptors are intended to be ↵Devang Patel2010-03-082-55/+12
| | | | | | light weight wrappers. llvm-svn: 97988
* Implement clang_isUnexposed(), a predicate function to simplify filtering outTed Kremenek2010-03-083-0/+19
| | | | | | unexposed AST elements. llvm-svn: 97985
* MC/Mach-O: Fix address compution for zero fill sections.Daniel Dunbar2010-03-082-2/+37
| | | | llvm-svn: 97984
* MC/Mach-O: Error out instead of crashing on invalid scattered relocation ↵Daniel Dunbar2010-03-081-2/+11
| | | | | | expressions. llvm-svn: 97983
* X86: Fix encoding for TEST{8,16,32}rr.Daniel Dunbar2010-03-082-4/+6
| | | | llvm-svn: 97982
* add a codegen hack to work around an AST bug, allowing us to compile theChris Lattner2010-03-082-2/+23
| | | | | | code in PR6537. This should be reverted when the ast bug is fixed. llvm-svn: 97981
* Add documentation on sibling call optimization. Rename tailcall2.ll test to ↵Evan Cheng2010-03-083-2/+50
| | | | | | sibcall.ll. llvm-svn: 97980
* isNull() is not used any more.Devang Patel2010-03-081-1/+0
| | | | llvm-svn: 97979
* Allocate ASTRecordLayout objects using the allocator associated with ASTContext.Ted Kremenek2010-03-085-62/+110
| | | | | | | This allows them to be allocated using a BumpPtrAllocated in the common case. llvm-svn: 97978
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97976
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-088-162/+128
| | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975
* Iterator traits and swap. closes PR6548 and PR6549Andrew Lenharth2010-03-082-0/+23
| | | | llvm-svn: 97974
* Don't always run the ocaml kaleidoscope tutorials.Erick Tryzelaar2010-03-081-2/+5
| | | | llvm-svn: 97973
* Revert r97726 and r97728 at ddunbar's request; we want to solve thisJohn McCall2010-03-083-26/+3
| | | | | | some other way when it comes to be necessary. llvm-svn: 97972
* Revert r97727 at ddunbar's request; we want to solve this some other way.John McCall2010-03-081-12/+0
| | | | llvm-svn: 97971
* Rename -Wbad-literal to -Wliteral-range.John McCall2010-03-082-4/+4
| | | | llvm-svn: 97968
* Add OCaml tutorial to the examples.Erick Tryzelaar2010-03-0865-29/+3508
| | | | llvm-svn: 97966
* Update the OCaml Kaleidoscope tutorial.Erick Tryzelaar2010-03-085-65/+58
| | | | llvm-svn: 97965
* Revert r97949.Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97964
* Revert r97947.Devang Patel2010-03-088-128/+163
| | | | llvm-svn: 97963
* Don't enable static analysis support for C++ by default. Users areTed Kremenek2010-03-081-3/+10
| | | | | | | | accidentally using it without realizing that it is nowhere close to being generally usable and are reporting crashes that we already know about. llvm-svn: 97960
* disambiguate some types, add a fixme about some Chris Lattner2010-03-084-5/+6
| | | | | | inconsistent intrinsics. llvm-svn: 97959
* fix some more ambiguous patterns, remove another nontemporalstoreChris Lattner2010-03-082-14/+12
| | | | | | pattern which is broken (source and address swapped). llvm-svn: 97958
* Correct immediate sizes.Chris Lattner2010-03-082-2/+2
| | | | llvm-svn: 97957
* fix a type compatibility bug. imm is i32 in the input Chris Lattner2010-03-082-1/+6
| | | | | | pattern, not i64. llvm-svn: 97956
* fix a bunch of partially ambiguous patterns on ARM. As anChris Lattner2010-03-083-35/+40
| | | | | | | | | | | | example, this: (set DPR:$dst, (fsub (fneg (fmul DPR:$a, DPR:$b)), DPR:$dstin)) is ambiguous because DPR contains both f64 and v2f32. tblgen currently accidentally picks f64 because it's first in the regclass. llvm-svn: 97955
* Improve XML output for C++ classes, from Olaf Krzikalla!Douglas Gregor2010-03-082-13/+32
| | | | llvm-svn: 97954
* Fix a bunch of ambiguous patterns which tblgen happens to infer typesChris Lattner2010-03-081-7/+7
| | | | | | for, due to a bug. llvm-svn: 97953
* Node arguments to type casts can have names too. This codeChris Lattner2010-03-081-0/+8
| | | | | | | | | | | needs to be majorly refactored, but this spot bugfix allows things like: def vmrghw_shuffle : PatFrag<(ops node:$lhs, node:$rhs), (vector_shuffle (v4i32 node:$lhs), node:$rhs), [{ ... llvm-svn: 97952
* Mark variable as constKovarththanan Rajaratnam2010-03-081-2/+2
| | | | llvm-svn: 97951
* tidy upChris Lattner2010-03-081-1/+1
| | | | llvm-svn: 97950
* Avoid DIDescriptor.isNull() checks.Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97949
* Avoid using DIDescriptor.isNull().Devang Patel2010-03-088-163/+128
| | | | | | This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947
* Extend ObjCMessageExpr for class method sends with the source locationDouglas Gregor2010-03-0810-34/+75
| | | | | | of the class name. llvm-svn: 97943
* Keep track of type source information in the return type of anDouglas Gregor2010-03-088-15/+35
| | | | | | | | | | Objective-C method declaration, e.g., for - (Foo *)myMethod; we now have TypeSourceInfo for the Foo*. llvm-svn: 97942
* Remove unused headers.Duncan Sands2010-03-082-2/+0
| | | | llvm-svn: 97941
* Add Order to SDDbgValueDale Johannesen2010-03-081-4/+10
| | | | llvm-svn: 97939
* Fix dbg value handling in tail merging.Dale Johannesen2010-03-081-3/+25
| | | | llvm-svn: 97938
* remove a non-temporal store pattern which is not tested and Chris Lattner2010-03-081-3/+0
| | | | | | could never have matched because the operand list was backwards. llvm-svn: 97933
* Revert r97917, which was causing Clang Debug self-host failures.Douglas Gregor2010-03-084-50/+29
| | | | llvm-svn: 97932
* Remove redundant semicolonDouglas Gregor2010-03-081-1/+1
| | | | llvm-svn: 97930
* Make a note for the C++0x future, when we'll have to revisit the ↵Douglas Gregor2010-03-081-0/+2
| | | | | | jump-diagnostics handling for variables without initializers llvm-svn: 97929
* In C++98/03, an uninitialized variable that has POD class type will beDouglas Gregor2010-03-084-19/+39
| | | | | | | | | uninitialized. This seems not to be the case in C++0x, where we still call the (trivial) default constructor for a POD class (!). Previously, we had implemented only the C++0x rules; now we implement both. Fixes PR6536. llvm-svn: 97928
* Downgrade errors when trying to catch a pointer or reference toDouglas Gregor2010-03-084-10/+17
| | | | | | | | | incomplete type to warnings; GCC (and EDG in GCC compatibility mode) permit such handles. Fixes PR6527. (For real this time) llvm-svn: 97927
* Revert r97925, it only contained the test updates not the actual fix.Chandler Carruth2010-03-082-3/+3
| | | | llvm-svn: 97926
* Downgrade errors when trying to catch a pointer or reference toDouglas Gregor2010-03-072-3/+3
| | | | | | | incomplete type to warnings; GCC (and EDG in GCC compatibility mode) permit such handles. Fixes PR6527. llvm-svn: 97925
* Robustify callers that rebuild typename type nodes again NULL returnDouglas Gregor2010-03-073-0/+23
| | | | | | types. Fixes PR6463. llvm-svn: 97924
* Perform overload resolution when static_cast'ing from aDouglas Gregor2010-03-074-5/+69
| | | | | | | pointer-to-member-to-derived to a pointer-to-member-to-base. Fixes PR6072. llvm-svn: 97923
* Reference binding via user-defined conversion can compute a bindingDouglas Gregor2010-03-073-14/+44
| | | | | | | that is not reference-related (because it requires another implicit conversion to which we can find). Fixes PR6483. llvm-svn: 97922
* Roll back r97918 again. Just configuring against llvm-gcc wasn't enough to runJeffrey Yasskin2010-03-073-26/+22
| | | | | | the FrontendC* tests. :( llvm-svn: 97921
OpenPOWER on IntegriCloud