summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add assertion to check for valid source ranges.Ted Kremenek2009-12-231-1/+4
| | | | llvm-svn: 91966
* Test case for PR5134.John McCall2009-12-231-0/+7
| | | | llvm-svn: 91965
* Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's notJeffrey Yasskin2009-12-231-0/+4
| | | | | | implemented. llvm-svn: 91963
* Driver: Fix '... -O4 -O0 ...', which was generating bitcode.Daniel Dunbar2009-12-232-2/+15
| | | | llvm-svn: 91962
* Remove node ordering from inline asm nodes. It's not needed.Bill Wendling2009-12-231-16/+0
| | | | llvm-svn: 91961
* Driver: Drop ToolChain::getHost()Daniel Dunbar2009-12-232-2/+1
| | | | llvm-svn: 91960
* 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
* Test case from PR5476.John McCall2009-12-231-0/+11
| | | | llvm-svn: 91957
* Set a member's access specifier even if it doesn't match the previous specifier.John McCall2009-12-232-0/+13
| | | | | | | | Prevents an assert on successive redeclarations. Fixed PR5573. llvm-svn: 91956
* 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
* Add basic support for analyzing CastExprs as lvalues.Ted Kremenek2009-12-233-4/+39
| | | | llvm-svn: 91952
* Objective-C methods can be variadic, too. Who knew.Douglas Gregor2009-12-232-0/+17
| | | | llvm-svn: 91951
* restore 'make update' functionality by not ignoring 'clang' hereGabor Greif2009-12-230-0/+0
| | | | llvm-svn: 91950
* Finish up node ordering in ExpandNode.Bill Wendling2009-12-231-45/+113
| | | | llvm-svn: 91949
* Switch Sema::CreateOverloadedUnaryOp over to InitializationSequence.Douglas Gregor2009-12-231-3/+8
| | | | llvm-svn: 91948
* set svn:ignoreNuno Lopes2009-12-230-0/+0
| | | | llvm-svn: 91947
* warn when attribute warn_unused_result is applied to void functions.Nuno Lopes2009-12-223-3/+12
| | | | | | while at it, remove an outdated FIXME llvm-svn: 91946
* 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
* Allow the first parameter of operator new to be a cv-qualifiedDouglas Gregor2009-12-224-5/+6
| | | | | | | | size_t. Also, fix an issue with initialization of parameters in calls, where we weren't removing the cv-qualifiers on the parameter type itself. Fixes PR5823. llvm-svn: 91941
* Driver: When linking, don't warn about unused arguments which are obviously onlyDaniel Dunbar2009-12-222-11/+20
| | | | | | | | used during compilation. - There is no easy way to define this group properly, unfortunately, and maybe this is a losing strategy. For now this is unambiguous more friendly, though. llvm-svn: 91940
* 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
* implement -W[no-]fatal-errors, patch by Christian Adåker!Chris Lattner2009-12-223-3/+48
| | | | llvm-svn: 91938
* Add c++-analyzer symlink (which is used by scan-build)Ted Kremenek2009-12-221-0/+1
| | | | llvm-svn: 91937
* 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
* Make sure that reinterpret_cast gets a CastKind on all successfulDouglas Gregor2009-12-222-1/+11
| | | | | | | paths. Fixes "cannot compile this unexpected cast lvalue yet" error in llvm/lib/Analysis/IPA/GlobalsModRef.cpp. llvm-svn: 91932
* Add testcase for PR5703Anton Korobeynikov2009-12-221-0/+13
| | | | llvm-svn: 91931
* Revert accidental commitDouglas Gregor2009-12-222-2/+0
| | | | llvm-svn: 91930
* accept -Wcomments as an alias for -Wcomment, PR5855Chris Lattner2009-12-221-2/+3
| | | | llvm-svn: 91929
* Add using shadow decls to the "instantiated locals" map, fixing PR5847.John McCall2009-12-222-0/+19
| | | | llvm-svn: 91928
* Switch Sema::AddCXXDirectInitializerToDecl over to InitializationSequenceDouglas Gregor2009-12-229-44/+50
| | | | llvm-svn: 91927
* Add transfer functions support for visiting an Objective-C message ↵Ted Kremenek2009-12-225-47/+117
| | | | | | expression as an lvalue when the return type is a C++ reference. llvm-svn: 91926
* ARM: Remove a FIXME, it's not actually more complicated than that.Daniel Dunbar2009-12-221-1/+0
| | | | llvm-svn: 91924
* 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
* Switch parameter passing for overloaded binary operators toDouglas Gregor2009-12-221-7/+31
| | | | | | | InitializationSequence. Fixes the -fsyntax-only failure in llvm/lib/Transforms/Scalar/InstructionCombining.cpp. llvm-svn: 91921
* 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
* Use proper move instructions. Make the verifier happy.Jakob Stoklund Olesen2009-12-221-1/+1
| | | | llvm-svn: 91914
* Report an error for bad inline assembly, where the value passed for anBob Wilson2009-12-221-2/+6
| | | | | | "indirect" operand is not a pointer. llvm-svn: 91913
OpenPOWER on IntegriCloud