summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Don't update physical register def.Evan Cheng2010-03-061-2/+3
| | | | llvm-svn: 97861
* Transform @llvm.objectsize to integer if the argument is a result of malloc ↵Evan Cheng2010-03-062-0/+26
| | | | | | of known size. llvm-svn: 97860
* Implement __builtin_dwarf_sp_column for i386 (Darwin and not), x86-64 (all),John McCall2010-03-065-0/+120
| | | | | | | and ARM. Implement __builtin_init_dwarf_reg_size_table for i386 (both) and x86-64 (all). llvm-svn: 97859
* Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options.Erick Tryzelaar2010-03-066-10/+80
| | | | llvm-svn: 97858
* Whoops, the old LLVMWriteBitcodeToFileHandle closed the stream.Erick Tryzelaar2010-03-061-1/+1
| | | | | | Luckily this never was released. llvm-svn: 97857
* LLVMWriteBitcodeToFileHandle should work on all architectures now.Erick Tryzelaar2010-03-061-11/+0
| | | | llvm-svn: 97856
* Add some new bits of debug info handling. NoDale Johannesen2010-03-064-3/+142
| | | | | | functional change yet. llvm-svn: 97855
* Reapply r97778 and r97779, enabled only for unsigned i64 to f64Dan Gohman2010-03-061-0/+25
| | | | | | conversions. llvm-svn: 97854
* When declaring a catch block in C++, make sure that the type beingDouglas Gregor2010-03-052-5/+66
| | | | | | caught can be copy-initialized and destructed. Fixes PR6518. llvm-svn: 97853
* Test case for r97851.Devang Patel2010-03-051-0/+10
| | | | llvm-svn: 97852
* Augment __has_feature to report that Clang supports adding attribute 'unused'Ted Kremenek2010-03-052-1/+10
| | | | | | to an Objective-C instance variable. llvm-svn: 97850
* Check if 'Unit' is NULL before trying to iterate over the diagnostics.Ted Kremenek2010-03-051-1/+2
| | | | | | | This obviates a null dereference that can occur when 'NumErrors' is not zero. llvm-svn: 97849
* Add clang version to crashtracer string.Ted Kremenek2010-03-051-1/+2
| | | | llvm-svn: 97848
* Patch to build qualifier on objective-cFariborz Jahanian2010-03-054-5/+14
| | | | | | pointer types. Fixes radar 7626768. llvm-svn: 97847
* Update CMake build.Ted Kremenek2010-03-051-0/+1
| | | | llvm-svn: 97846
* Don't emit global symbols into the (__TEXT,__ustring) section on Darwin. ThisCharles Davis2010-03-052-3/+2
| | | | | | | | | is a workaround for <rdar://problem/7672401/> (which I filed). This let's us build Wine on Darwin, and it gets the Qt build there a little bit further (so Doug says). llvm-svn: 97845
* Move SimplifyLibCalls's LibCall builders to a separate file so theyEric Christopher2010-03-053-386/+453
| | | | | | | | can be used in more places. Add an argument for the TargetData that most of them need. Update for the getInt8PtrTy() change. Should be no functionality change. llvm-svn: 97844
* Add support for an i8* type accessor.Eric Christopher2010-03-051-0/+4
| | | | llvm-svn: 97841
* The Windows build is just too weird; there's no real cost to doing the ↵Douglas Gregor2010-03-052-12/+0
| | | | | | concurrency checks for ASTUnit in all builds llvm-svn: 97840
* Better handling of dead super registers in LiveVariables. We used to do this:Jakob Stoklund Olesen2010-03-052-22/+22
| | | | | | | | | | | | | | | | | | | | | CALL ... %RAX<imp-def> ... [not using %RAX] %EAX = ..., %RAX<imp-use, kill> RET %EAX<imp-use,kill> Now we do this: CALL ... %RAX<imp-def, dead> ... [not using %RAX] %EAX = ... RET %EAX<imp-use,kill> By not artificially keeping %RAX alive, we lower register pressure a bit. The correct number of instructions for 2008-08-05-SpillerBug.ll is obviously 55, anybody can see that. Sheesh. llvm-svn: 97838
* We don't really care about correct register liveness information after theJakob Stoklund Olesen2010-03-052-4/+59
| | | | | | post-ra scheduler has run. Disable the verifier checks that late in the game. llvm-svn: 97837
* Avoid creating bad PHI instructions when BR is being const-folded.Jakob Stoklund Olesen2010-03-052-0/+44
| | | | llvm-svn: 97836
* Switch from NDEBUG to _DEBUG, since our Windows build is funnyDouglas Gregor2010-03-052-6/+6
| | | | llvm-svn: 97835
* Only make __ptr64 and __w64 keywords when Microsoft extensions are enabled.Douglas Gregor2010-03-051-2/+2
| | | | llvm-svn: 97834
* A little hack to identify unwanted concurrency in CIndexDouglas Gregor2010-03-053-2/+49
| | | | llvm-svn: 97831
* Fix a case where LSR is sensitive to debug info.Dale Johannesen2010-03-051-0/+9
| | | | llvm-svn: 97830
* Safely turn memset_chk etc. to non-chk variant if the known object size is ↵Evan Cheng2010-03-052-13/+37
| | | | | | >= memset / memcpy / memmove size. llvm-svn: 97828
* Instcombine should turn llvm.objectsize of a alloca with static size to an ↵Evan Cheng2010-03-052-9/+42
| | | | | | integer. llvm-svn: 97827
* Emit warning on indirect goto that potentially violates Chris Lattner2010-03-052-3/+4
| | | | | | scope instead of error, PR6517 llvm-svn: 97826
* Fix typo.Evan Cheng2010-03-051-1/+1
| | | | llvm-svn: 97818
* address PR6502 by downgrading the scope checker's addressChris Lattner2010-03-052-3/+3
| | | | | | of label error to a warning controllable with a -W flag. llvm-svn: 97815
* fix bss section printing for cell, patch by Kalle Raiskila!Chris Lattner2010-03-052-0/+8
| | | | llvm-svn: 97814
* fix PR6512, a case where instcombine would incorrectly merge loadsChris Lattner2010-03-052-0/+42
| | | | | | from different addr spaces. llvm-svn: 97813
* Use clang::io::Emit8Kovarththanan Rajaratnam2010-03-051-3/+1
| | | | llvm-svn: 97810
* Make sure the raw_string_ostream gets flushed so we don't accidentally ↵Benjamin Kramer2010-03-051-3/+3
| | | | | | return an empty string. llvm-svn: 97809
* Reworking the stack layout that the MicroBlaze backend generates.Wesley Peck2010-03-056-61/+257
| | | | | | | | | | | The MicroBlaze backend was generating stack layouts that did not conform correctly to the ABI. This update generates stack layouts which are closer to what GCC does. Variable arguments support was added as well but the stack layout for varargs has not been finalized. llvm-svn: 97807
* Adding MBlaze to cmake target list.Wesley Peck2010-03-051-0/+1
| | | | llvm-svn: 97806
* Fix PR6503. This turned into a much more interesting and nasty bug. Various Chris Lattner2010-03-054-139/+122
| | | | | | | | | | | parts of the cmp|cmp and cmp&cmp folding logic wasn't prepared for vectors (unrelated to the bug but noticed while in the code) and the code was *definitely* not safe to use by the (cast icmp)|(cast icmp) handling logic that I added in r95855. Fix all this up by changing the various routines to more consistently use IRBuilder and not pass in the I which had the wrong type. llvm-svn: 97801
* make these less sensitive to temporary naming.Chris Lattner2010-03-053-15/+15
| | | | llvm-svn: 97799
OpenPOWER on IntegriCloud