summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Move the extern symbol declarations outside ofDouglas Gregor2009-12-232-28/+47
| | | | | | | | | | | | | DynamicLibrary::SearchForAddressOfSymbol and force them to have "C" linkage. Interestingly, GCC treats the block-scoped "extern" declarations we previously had as if they were extern "C" declarations (or, at least, were in the global namespace), so that GCC bug papered over this LLVM bug. Clang and EDG get the linkage correct; this new variant seems to work for both GCC and Clang. llvm-svn: 92020
* Fix another -Wmismatched-tags warningDouglas Gregor2009-12-231-1/+1
| | | | llvm-svn: 92017
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-1/+1
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92016
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-15/+15
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92013
* move a few more symbols to .rodataNuno Lopes2009-12-232-2/+2
| | | | llvm-svn: 92011
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-1/+2
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92006
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-2/+2
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92005
* Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by ClangDouglas Gregor2009-12-232-4/+2
| | | | llvm-svn: 92004
* De-bork CMake buildDouglas Gregor2009-12-231-0/+1
| | | | llvm-svn: 92003
* Provide dbgs(), a circular-buffering debug output stream. By default itDavid Greene2009-12-232-4/+73
| | | | | | | | simply passes output to errs(). If -debug-buffer-size=N is set N > 0, dbgs() buffers its output until program termination and dumps the last N characters sent to it. This is handy when debugging very large inputs. llvm-svn: 92002
* Add circular_raw_ostream, which buffers its output in a circular queueDavid Greene2009-12-232-0/+218
| | | | | | | | and outputs it when explicitly flushed. The intent is to use it in situations such as debug output logging where a signal handler can take care of flushing the buffer at program termination. llvm-svn: 92001
* Make it easier to regenerate docs when srcdir != objdir.Mikhail Glushenkov2009-12-231-0/+6
| | | | llvm-svn: 92000
* Regenerate.Mikhail Glushenkov2009-12-231-6/+8
| | | | llvm-svn: 91999
* Cosmetic issue: more consistent naming.Mikhail Glushenkov2009-12-231-55/+55
| | | | llvm-svn: 91998
* Allow (set_option SwitchOption, true).Mikhail Glushenkov2009-12-233-20/+45
| | | | llvm-svn: 91997
* Reapply 91904.Sanjiv Gupta2009-12-234-10/+59
| | | | llvm-svn: 91996
* Added missing patterns for subtract instruction.Sanjiv Gupta2009-12-232-34/+64
| | | | llvm-svn: 91995
* deleting empty file.Sanjiv Gupta2009-12-231-0/+0
| | | | llvm-svn: 91994
* Reverting back 91904.Sanjiv Gupta2009-12-234-60/+10
| | | | llvm-svn: 91993
* Use more sensible type for flags in asms. PR 5570.Dale Johannesen2009-12-233-5/+31
| | | | | | Patch by Sylve`re Teissier (sorry, ASCII only). llvm-svn: 91988
* Update objectsize intrinsic and associated dependencies. FixEric Christopher2009-12-234-7/+7
| | | | | | lowering code and update testcases. llvm-svn: 91979
* really remove the instruction, don't just comment it outChris Lattner2009-12-231-7/+4
| | | | llvm-svn: 91976
* completely eliminate the MOV16r0 'instruction'. The onlyChris Lattner2009-12-234-19/+11
| | | | | | | interesting part of this is the divrem changes, which are already tested by CodeGen/X86/divrem.ll. llvm-svn: 91975
* More fixes for Visual C++. Replaced several very smallSean Callanan2009-12-231-10/+10
| | | | | | static inline functions with macros. llvm-svn: 91973
* stop pattern matching 16-bit zero's of a register to MOV16r0,Chris Lattner2009-12-231-4/+10
| | | | | | | | | instead use the appropriate subreggy thing. This generates identical code on some large apps (thanks to Evan's cross class coalescing stuff he did back in july). This means that MOV16r0 can go away completely in the future soon. llvm-svn: 91972
* Remove superfluous SDNode ordering.Bill Wendling2009-12-231-48/+16
| | | | llvm-svn: 91971
* Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's notJeffrey Yasskin2009-12-231-0/+4
| | | | | | implemented. llvm-svn: 91963
* Remove node ordering from inline asm nodes. It's not needed.Bill Wendling2009-12-231-16/+0
| | | | llvm-svn: 91961
* Suppress compiler warning.Daniel Dunbar2009-12-231-0/+2
| | | | llvm-svn: 91959
* Remove node ordering from VA nodes. It's not needed.Bill Wendling2009-12-231-25/+14
| | | | llvm-svn: 91958
* Update docs for bitcode changes. For object size checking we won'tEric Christopher2009-12-231-27/+8
| | | | | | | work with partial objects so just count the type as a boolean. Update appropriately. llvm-svn: 91954
* Revert r91949 r91942 and r91936.Bill Wendling2009-12-231-407/+119
| | | | llvm-svn: 91953
* Finish up node ordering in ExpandNode.Bill Wendling2009-12-231-45/+113
| | | | llvm-svn: 91949
* Add coalescer asserts.Jakob Stoklund Olesen2009-12-221-4/+6
| | | | llvm-svn: 91945
* Add a SPR register class to the ARM target.Jakob Stoklund Olesen2009-12-222-1/+14
| | | | | | Certain Thumb instructions require only SP (e.g. tSTRspi). llvm-svn: 91944
* Partially revert r91626. Materializing extra functions to determine whetherJeffrey Yasskin2009-12-223-23/+106
| | | | | | | | | | | they're available_externally broke VMKit, which was relying on the fact that functions would only be materialized when they were first called. We'll have to wait for http://llvm.org/PR5737 to really fix this. I also added a test for one of the F->isDeclaration() calls which wasn't covered by anything else in the test suite. llvm-svn: 91943
* Assign ordering to nodes created in ExpandNode. Only roughly 1/2 of the functionBill Wendling2009-12-221-84/+237
| | | | | | is finished. llvm-svn: 91942
* Fix a crash in JIT::recompileAndRelinkFunction(). It doesn't pass the MCIJeffrey Yasskin2009-12-222-2/+35
| | | | | | | | | argument to runJITOnFunction(), which caused a null pointer dereference at every call. Patch by Gianluca Guida! llvm-svn: 91939
* Assign ordering to SDNodes in PromoteNode. Also fixing a subtle bug where BSWAPBill Wendling2009-12-222-15/+83
| | | | | | was using "Tmp1" in the first getNode call instead of Node->getOperand(0). llvm-svn: 91936
* Removed the "inline" keyword from the disassembler decoder,Sean Callanan2009-12-221-30/+30
| | | | | | because the Visual C++ build does not build .c files as C99 llvm-svn: 91935
* rename HexDisassembler -> Disassembler, it works on any inputChris Lattner2009-12-224-10/+10
| | | | | | integer encoding (0123, 0b10101, 42, etc). llvm-svn: 91934
* just discard the debug output from the disassembler.Chris Lattner2009-12-221-6/+2
| | | | llvm-svn: 91933
* Add testcase for PR5703Anton Korobeynikov2009-12-221-0/+13
| | | | llvm-svn: 91931
* Remove minimal CFG sanity checks from verifier.Jakob Stoklund Olesen2009-12-221-18/+0
| | | | | | | | | These checks would often trigger on unreachable statements inserted by bugpoint, leading it astray. It would be nice if we could distinguish unreachable blocks from errors. llvm-svn: 91923
* Allow explicit %reg0 operands beyond what the .td file describes.Jakob Stoklund Olesen2009-12-221-1/+2
| | | | | | ARM uses these to indicate predicates. llvm-svn: 91922
* Allow 0 as an order number. Don't assign an order to formal arguments.Bill Wendling2009-12-222-21/+11
| | | | llvm-svn: 91920
* Fixes to the X86 disassembler:Sean Callanan2009-12-223-8/+20
| | | | | | | | Made LEA memory operands emit only 4 MCInst operands. Made the scale operand equal 1 for instructions that have no SIB byte. llvm-svn: 91919
* Restore snprintf weirdness for VCPP onlyAnton Korobeynikov2009-12-221-0/+8
| | | | llvm-svn: 91918
* Fix the Convert to scalar to not insert dead loads in the store case. TheChris Lattner2009-12-221-2/+12
| | | | | | | | | | | | | | load is needed when we have a small store into a large alloca (at which point we get a load/insert/store sequence), but when you do a full-sized store, this load ends up being dead. This dead load is bad in really large nasty testcases where the load ends up causing mem2reg to insert large chains of dependent phi nodes which only ADCE can delete. Instead of doing this, just don't insert the dead load. This fixes rdar://6864035 llvm-svn: 91917
* fix some fixme's by using twinesChris Lattner2009-12-221-6/+2
| | | | llvm-svn: 91916
OpenPOWER on IntegriCloud