summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Undefine correct macroKovarththanan Rajaratnam2010-03-071-14/+14
| | | | llvm-svn: 97920
* implement support for -Wno-deprecated, PR6534. WhileChris Lattner2010-03-076-46/+49
| | | | | | | I'm in there, change the altivec diagnostics to use 'double' instead of "double" for consistency. llvm-svn: 97919
* Reapply r97788 to free MDNodes when the LLVMContext is destroyed. ItJeffrey Yasskin2010-03-073-22/+26
| | | | | | bootstraps llvm-gcc this time. llvm-svn: 97918
* Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie.Jeffrey Yasskin2010-03-074-29/+50
| | | | llvm-svn: 97917
* Don't rely on implicit conversionKovarththanan Rajaratnam2010-03-071-2/+2
| | | | llvm-svn: 97916
* Add findNearestCommonDominator() for PostDominators.Tobias Grosser2010-03-071-0/+4
| | | | | | | | | Add a missing interface to be able to call findNearestCommonDominator for a PostDominanceTree. The function itself is already implemented in DominatorTreeBase. The interface however was only added to the DominatorTree class, but not the PostDominatorClass. llvm-svn: 97915
* Use Other as a sentinel instead of iAny.Chris Lattner2010-03-072-6/+6
| | | | llvm-svn: 97914
* Rename to addPPCallbacks since we're effectively adding a callback and maybe ↵Kovarththanan Rajaratnam2010-03-073-15/+15
| | | | | | chaining it to an existing one llvm-svn: 97913
* turn off debug spewChris Lattner2010-03-071-2/+2
| | | | llvm-svn: 97912
* more factoring.Chris Lattner2010-03-072-32/+34
| | | | llvm-svn: 97911
* Don't assert if PP already contains a valid PP callback. The PP can handle ↵Kovarththanan Rajaratnam2010-03-071-1/+0
| | | | | | multiple callbacks (using PPChainedCallbacks) llvm-svn: 97910
* _2_ gcc crashes, ah, ah, ah...Jeffrey Yasskin2010-03-073-46/+22
| | | | | | (Rolling back r97906.) llvm-svn: 97909
* teach tblgen to be more aggressive when factoring CheckType nodes.Chris Lattner2010-03-071-29/+95
| | | | | | | | | | | | | | | | | | | | | | Now it will factor things like this: CheckType i32 ... CheckOpcode ISD::AND CheckType i64 ... into: SwitchType: i32: ... i64: CheckOpcode ISD::AND ... This shrinks hte table by a few bytes, nothing spectacular. llvm-svn: 97908
* Add sse4.1 packed min and max intrinsics.Eric Christopher2010-03-071-0/+49
| | | | llvm-svn: 97907
* Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by ↵Jeffrey Yasskin2010-03-073-22/+46
| | | | | | Valgrind! llvm-svn: 97906
* add some helper functions and implement isContradictory Chris Lattner2010-03-072-0/+99
| | | | | | | | for CheckValueTypeMatcher. The isContradictory implementation helps us factor better, shrinking x86 table from 79144 -> 78896 bytes. llvm-svn: 97905
OpenPOWER on IntegriCloud