summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix PR 5857. When casting from a symbolic region to an integer back to a ↵Ted Kremenek2009-12-232-9/+36
| | | | | | pointer value, we were not correctly layering the correct ElementRegion on the original SymbolicRegion. llvm-svn: 91981
* Update objectsize intrinsic and associated dependencies. FixEric Christopher2009-12-234-7/+7
| | | | | | lowering code and update testcases. llvm-svn: 91979
* Remove CharUnits::toString() to eliminate dependence on <string>.Ken Dyck2009-12-233-26/+0
| | | | llvm-svn: 91978
* Patch to do more rewrite of __block variables.Fariborz Jahanian2009-12-231-11/+87
| | | | | | Still WIP. llvm-svn: 91977
* 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
* Eliminate a completely unnecessary buffer copy when parsing float literals.John McCall2009-12-231-6/+1
| | | | llvm-svn: 91974
* 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
* Teach GRExprEngine::VisitLValue that we don't handle CXXZeroInitValueExprs yet.Ted Kremenek2009-12-231-1/+2
| | | | llvm-svn: 91970
* Also treat the type of the subexpression as a pointer in ↵Ted Kremenek2009-12-232-0/+12
| | | | | | GRExprEngine::VisitCast when the expression is handled as an lvalue. llvm-svn: 91969
* 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
OpenPOWER on IntegriCloud