summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add load hint instruction intrinsic.Eric Christopher2010-03-071-0/+8
| | | | llvm-svn: 97904
* Add in movntdqa intrinsic for load hint.Eric Christopher2010-03-071-0/+1
| | | | llvm-svn: 97903
* Add in support for dword multiply and fp dot product intrinsics.Eric Christopher2010-03-071-0/+17
| | | | llvm-svn: 97902
* Add in dot product intrinsics for dpps and dppd.Eric Christopher2010-03-071-0/+2
| | | | llvm-svn: 97901
* Fix for PR6294: we should only delay recording nested dynamic classes if theyEli Friedman2010-03-072-1/+14
| | | | | | | are lexically nested. Othewise, we never end up recording semantically nested classes. llvm-svn: 97900
* Don't turn off mangling in implicitly extern "C" system headers. GCCDouglas Gregor2010-03-072-6/+4
| | | | | | | | | doesn't do this on any of the major platforms, and we don't really support any of the platforms that do (nor will we actually handle those headers well). Fixes PR6217; see PR6530 for details on what we would need to do to support these platforms. llvm-svn: 97899
* Fix 80 col violation.Tanya Lattner2010-03-071-1/+2
| | | | llvm-svn: 97898
* Don't produce debug info when given -g. Fixes PR6529.Rafael Espindola2010-03-072-1/+8
| | | | llvm-svn: 97897
* Fix indentation, use string directly instead of StringRef.Tanya Lattner2010-03-071-5/+4
| | | | llvm-svn: 97896
* tidy upChris Lattner2010-03-071-10/+10
| | | | llvm-svn: 97895
* Fix some weird patch issue.Tanya Lattner2010-03-071-1/+1
| | | | llvm-svn: 97894
* Implement missing-braces warning and add a test case.Tanya Lattner2010-03-074-1/+23
| | | | llvm-svn: 97893
* disable these dirs which rely on dynamic linking on mingw/cygwinChris Lattner2010-03-071-0/+7
| | | | llvm-svn: 97892
* Re-committing the failed r97807 commit with changes to eliminate warnings.Wesley Peck2010-03-067-76/+207
| | | | llvm-svn: 97891
* add mblaze target support, patch by Wesley Peck!Chris Lattner2010-03-061-0/+131
| | | | llvm-svn: 97890
* Add verification of union types.Nick Lewycky2010-03-061-0/+9
| | | | llvm-svn: 97889
* Describe what's going on with mingw alloca and why do we need separate ↵Anton Korobeynikov2010-03-061-1/+9
| | | | | | instruction. llvm-svn: 97888
* Initial bits of ARMv4-only support.Anton Korobeynikov2010-03-066-29/+101
| | | | | | Patch by John Tytgat! llvm-svn: 97886
* on both the mac and linux, /usr/local/include is treated Chris Lattner2010-03-061-1/+1
| | | | | | | as a "C++ Friendly" system header directory. This fixes PR6523. llvm-svn: 97885
* Lower dynamic stack allocation on mingw32 to separate instruction.Anton Korobeynikov2010-03-064-20/+56
| | | | | | | We cannot use a normal call here since it has extra unmodelled side effects (it changes stack pointer). This should fix PR5292. llvm-svn: 97884
* make APFloat::toString be const.Chris Lattner2010-03-062-2/+2
| | | | llvm-svn: 97883
* disable this for mingw as well, we really need a 'has no dynamic linking' ↵Chris Lattner2010-03-061-1/+1
| | | | | | predicate. llvm-svn: 97882
* Rename the new Iterator objects and raise an assertion instead of returning ↵Benjamin Kramer2010-03-061-10/+12
| | | | | | invalid objects when the key is out of range. llvm-svn: 97881
* Update the python bindings for recent changes in the CIndex API.Benjamin Kramer2010-03-061-88/+88
| | | | llvm-svn: 97880
* Lowercase for consistencyKovarththanan Rajaratnam2010-03-063-5/+5
| | | | llvm-svn: 97878
* Do not use '&' prefix for globals when register base field is non-zero, ↵Anton Korobeynikov2010-03-066-27/+35
| | | | | | | | otherwise msp430-as will silently miscompile the code (TI's assembler report an error though). This fixes PR6349 llvm-svn: 97877
* Let the fallthrough handle whether or not we've changed anythingEric Christopher2010-03-061-1/+3
| | | | | | before we try to optimize. llvm-svn: 97876
* Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher2010-03-066-140/+132
| | | | | | | | out the remainder of the calls that we should lower in some way and move the tests to the new correct directory. Fix up tests that are now optimized more than they were before by -instcombine. llvm-svn: 97875
* Fix _MM_FROUND_NEARBYINT and move rounding intrinsics to macros.Eric Christopher2010-03-061-25/+5
| | | | llvm-svn: 97874
* Add a message to these asserts.Benjamin Kramer2010-03-061-3/+3
| | | | llvm-svn: 97873
* Use static method in GlobalValueRafael Espindola2010-03-061-11/+1
| | | | llvm-svn: 97872
* Add static methods to handle Linkage Types.Rafael Espindola2010-03-061-20/+62
| | | | llvm-svn: 97871
* clean this up.Chris Lattner2010-03-061-6/+7
| | | | llvm-svn: 97870
* revert r97807, it introduced build warnings.Chris Lattner2010-03-066-257/+61
| | | | llvm-svn: 97869
* Thumb1 epilogue code generation needs to take into account that callee-savedJim Grosbach2010-03-061-4/+18
| | | | | | | registers may be restored via a pop instruction, not just a tRestore. This fixes nightly test 471.omnetep for Thumb1. llvm-svn: 97867
* Temporarily revert:Eric Christopher2010-03-062-26/+0
| | | | | | | | | | | | | Log: Transform @llvm.objectsize to integer if the argument is a result of malloc of known size. Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp llvm/trunk/test/Transforms/InstCombine/objsize.ll It appears to be causing swb and nightly test failures. llvm-svn: 97866
* Fix another case where LSR was affected by debug info.Dale Johannesen2010-03-061-1/+12
| | | | llvm-svn: 97865
* PR6515: Implement __builtin_signbit and friends.Eli Friedman2010-03-063-0/+23
| | | | | | | I'm reasonably sure my implementation is correct, but it would be nice if someone could double-check. llvm-svn: 97864
* Allow use of byref (__block attributed) arrays insideFariborz Jahanian2010-03-062-2/+6
| | | | | | the block. Fixes radar 7671883. llvm-svn: 97863
OpenPOWER on IntegriCloud