summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a problem where detaching from a processSean Callanan2012-06-021-7/+16
| | | | | | | left a read-write lock dangling, causing crashes in debug builds. llvm-svn: 157875
* Add another test case which tests Mips' unaligned load/store instructions.Akira Hatanaka2012-06-021-0/+29
| | | | llvm-svn: 157874
* Fix a bug in the code which custom-lowers truncating stores in LegalizeDAG.Akira Hatanaka2012-06-021-2/+3
| | | | | | | Check that the SDValue TargetLowering::LowerOperation returns is not null before replacing the original node with the returned node. llvm-svn: 157873
* remove an unused variable.Chris Lattner2012-06-021-1/+1
| | | | llvm-svn: 157872
* Implementation of a "soft opt-in" option for -Wimplicit-fallthrough ↵Alexander Kornienko2012-06-024-6/+61
| | | | | | diagnostics: -Wimplicit-fallthrough-per-method llvm-svn: 157871
* [analyzer] Rely on canBeInlined utility instead of checking CallExprAnna Zaks2012-06-023-2/+8
| | | | | | | | explicitly. This will make it easier to add inlining support to more expressions. llvm-svn: 157870
* Use Log::Printf() instead of printf().Johnny Chen2012-06-021-1/+2
| | | | llvm-svn: 157869
* Fix test cases in test/CodeGen/Mips.Akira Hatanaka2012-06-023-25/+17
| | | | llvm-svn: 157868
* Remove code which is no longer needed in MipsAsmPrinter and MipsMCInstLower.Akira Hatanaka2012-06-023-171/+0
| | | | llvm-svn: 157867
* Set operation actions for load/store nodes in the Mips backend.Akira Hatanaka2012-06-021-0/+11
| | | | llvm-svn: 157866
* Add definitions of 32/64-bit unaligned load/store instructions for Mips.Akira Hatanaka2012-06-022-27/+70
| | | | llvm-svn: 157865
* Define functions MipsTargetLowering::LowerLOAD and LowerSTORE whichAkira Hatanaka2012-06-022-0/+140
| | | | | | custom-lower unaligned load and store nodes. llvm-svn: 157864
* Define Mips specific unaligned load/store nodes.Akira Hatanaka2012-06-023-1/+40
| | | | llvm-svn: 157863
* Expand unaligned i16 loads/stores for the Mips backend.Akira Hatanaka2012-06-021-1/+0
| | | | | | | | This is the first of a series of patches which make changes to the backend to emit unaligned load/store instructions (lwl,lwr,swl,swr) during instruction selection. llvm-svn: 157862
* In MipsMCInstLower::LowerSymbolOperand, get offset from symbol ifAkira Hatanaka2012-06-021-2/+4
| | | | | | the MachineOperand type has a valid offset. llvm-svn: 157861
* [analyzer] Fix a spurious undef value warning.Anna Zaks2012-06-012-1/+66
| | | | | | | | | | | | When we timeout or exceed a max number of blocks within an inlined function, we retry with no inlining starting from a node right before the CallEnter node. We assume the state of that node is the state of the program before we start evaluating the call. However, the node pruning removes this node as unimportant. Teach the node pruning to keep the predecessors of the call enter nodes. llvm-svn: 157860
* [analyzer] Fix lack of coverage after empty inlined function.Anna Zaks2012-06-012-0/+10
| | | | | | | We should not stop exploring the path after we return from an empty function. llvm-svn: 157859
* rdar://problem/11320188Johnny Chen2012-06-018-13/+148
| | | | | | | | | Designate MachThreadList as a transaction coordinator when doing Enable/DisableHardwareWatchpoint on the list of threads. In case the operation (iterating on the threads and doing enable/disable) fails in the middle, we rollback the already enabled/disabled threads to their checkpointed states. When all the threads succeed in enable/disable, we ask each thread to finsih the transaction and commit the change of the debug state. llvm-svn: 157858
* Added "kill" as an alias for "process kill".Sean Callanan2012-06-011-0/+4
| | | | llvm-svn: 157856
* Remove the old register list functions from MCRegisterInfo.Jakob Stoklund Olesen2012-06-012-39/+3
| | | | | | | | | | These functions exposed the layout of the underlying data tables as null-terminated uint16_t arrays. Use the new MCSubRegIterator, MCSuperRegIterator, and MCRegAliasIterator classes instead. llvm-svn: 157855
* Switch all register list clients to the new MC*Iterator interface.Jakob Stoklund Olesen2012-06-0135-221/+199
| | | | | | | | | | | | | No functional change intended. Sorry for the churn. The iterator classes are supposed to help avoid giant commits like this one in the future. The TableGen-produced register lists are getting quite large, and it may be necessary to change the table representation. This makes it possible to do so without changing all clients (again). llvm-svn: 157854
* Fix a typo for 'waitfor' option help wording.Johnny Chen2012-06-011-1/+1
| | | | llvm-svn: 157853
* Register the gcov "writeout" at init time. Don't list this as a d'tor. Instead,Bill Wendling2012-06-011-2/+22
| | | | | | | | | | | | inject some code in that will run via the "__mod_init_func" method that registers the gcov "writeout" function to execute at exit time. The problem is that the "__mod_term_func" method of specifying d'tors is deprecated on Darwin. And it can lead to some ambiguities when dealing with multiple libraries. <rdar://problem/11110106> llvm-svn: 157852
* Disable diagnosic path pruning for ReturnUndefChecker.Ted Kremenek2012-06-011-0/+1
| | | | llvm-svn: 157851
* Remove physreg support from adjustCopiesBackFrom and removeCopyByCommutingDef.Jakob Stoklund Olesen2012-06-011-29/+3
| | | | | | | After physreg coalescing was disabled, these functions can't do anything useful with physregs anyway. llvm-svn: 157849
* Simplify some more getAliasSet callers.Jakob Stoklund Olesen2012-06-013-27/+15
| | | | | | MCRegAliasIterator can include Reg itself in the list. llvm-svn: 157848
* [diagtool] Pull show-enabled back out for now.Jordan Rose2012-06-017-245/+27
| | | | | | | Need to figure out how to get Frontend's warning parsing without bringing in all of Frontend. llvm-svn: 157847
* [diagtool] Unbork Makefile build.Jordan Rose2012-06-011-2/+9
| | | | llvm-svn: 157846
* Use dominates(Instruction, Use) in the verifier.Rafael Espindola2012-06-012-48/+4
| | | | | | | This removes a bit of context from the verifier erros, but reduces code duplication in a fairly critical part of LLVM and makes dominates easier to test. llvm-svn: 157845
* Update checker build.Ted Kremenek2012-06-012-1/+8
| | | | llvm-svn: 157844
* [diagtool] Appease buildbot by adding llvm_unreachable.Jordan Rose2012-06-011-0/+2
| | | | llvm-svn: 157843
* [diagtool] Add 'show-enabled', which displays which warnings are enabled.Jordan Rose2012-06-017-26/+235
| | | | | | | show-enabled uses the command line you give it to build a CompilerInstance, so any flags you pass will be processed as if running clang proper. llvm-svn: 157842
* [diagtool] The driver skips two arguments, not one.Jordan Rose2012-06-011-1/+1
| | | | llvm-svn: 157841
* [arm-fast-isel] Fix handling of the frameaddress intrinsic. If depth is 0Chad Rosier2012-06-011-1/+1
| | | | | | then DestReg is undefined. llvm-svn: 157840
* Switch some getAliasSet clients to MCRegAliasIterator.Jakob Stoklund Olesen2012-06-018-99/+46
| | | | | | | MCRegAliasIterator can optionally visit the register itself, allowing for simpler code. llvm-svn: 157837
* <rdar://problem/11548378>Greg Clayton2012-06-011-2/+2
| | | | | | Fixed an issue with the current type being set to DIE_IS_BEING_PARSED in the m_die_to_type map by making sure the type pointer is valid. llvm-svn: 157836
* Added the ability to disassembly GDB remote packets with the python file. ↵Greg Clayton2012-06-011-22/+821
| | | | | | This will make it easier to symbolicate the packet log output since we can use the lldb.utils.symbolication package module to symbolicate register values. llvm-svn: 157835
* Add missing include.Michael J. Spencer2012-06-011-0/+1
| | | | llvm-svn: 157834
* static analyzer: add inlining support for directly called blocks.Ted Kremenek2012-06-0111-86/+757
| | | | llvm-svn: 157833
* Fix a few testsuite bugs involving trailing null (or lack thereof) in strstream.Howard Hinnant2012-06-015-7/+7
| | | | llvm-svn: 157832
* X86: peephole optimization to remove cmp instructionManman Ren2012-06-014-0/+350
| | | | | | | | | | | | | | | This patch will optimize the following: sub r1, r3 cmp r3, r1 or cmp r1, r3 bge L1 TO sub r1, r3 bge L1 or ble L1 If the branch instruction can use flag from "sub", then we can eliminate the "cmp" instruction. llvm-svn: 157831
* ARM: properly handle alignment for struct byval.Manman Ren2012-06-015-250/+308
| | | | | | | | | Factor out the expansion code into a function. This change is to be enabled in clang. rdar://9877866 llvm-svn: 157830
* Add some tests checking that the verifier rejects cases where a definitionRafael Espindola2012-06-011-0/+57
| | | | | | doesn't dominate a use. llvm-svn: 157829
* Provide move semantics for (Small)BitVector.Benjamin Kramer2012-06-012-0/+40
| | | | | | CodeGen makes a lot of BitVector copies. llvm-svn: 157826
* testcase for PR13006, thanks to Duncan for filing it.Chris Lattner2012-06-011-0/+7
| | | | llvm-svn: 157824
* Don't allow multiple correction candidates that have the same identifierKaelyn Uhrain2012-06-012-25/+62
| | | | | | | | but different nested name specifiers to quietly clobber each other so only one remains if they do not refer to the same NamedDecl. Fixes PR12951. llvm-svn: 157823
* BoundsChecking: fix a bug when the handling of recursive PHIs failed and ↵Nuno Lopes2012-06-013-23/+88
| | | | | | | | | | could leave dangling references in the cache add regression tests for this problem. Can already compile & run: PHP, PCRE, and ICU (i.e., all the software I tried) llvm-svn: 157822
* configure.py: Add an install rule.Peter Collingbourne2012-06-012-12/+31
| | | | llvm-svn: 157821
* #ifdef out a broken test on win32Alexander Kornienko2012-06-011-0/+5
| | | | llvm-svn: 157819
* Implement the local-dynamic TLS model for x86 (PR3985)Hans Wennborg2012-06-0113-17/+353
| | | | | | | | | This implements codegen support for accesses to thread-local variables using the local-dynamic model, and adds a clean-up pass so that the base address for the TLS block can be re-used between local-dynamic access on an execution path. llvm-svn: 157818
OpenPOWER on IntegriCloud