summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Permit blocks to branch directly to a landing pad.Jakob Stoklund Olesen2011-04-051-0/+5
| | | | | | Treat the landing pad as a normal successor when that happens. llvm-svn: 128961
* Remove extraneous 'return'.Jim Grosbach2011-04-051-2/+1
| | | | llvm-svn: 128959
* Fix a typo in the handling of PKHTB opcode, plus add sanity check for ↵Johnny Chen2011-04-052-4/+13
| | | | | | | | | | illegal register encodings for DisassembleArithMiscFrm(). rdar://problem/9238659 llvm-svn: 128958
* Simplify.Devang Patel2011-04-051-3/+1
| | | | llvm-svn: 128957
* Add Emulate and DumpEmulation to Instruction class.Caroline Tice2011-04-0510-42/+159
| | | | | | | | Move InstructionLLVM out of DisassemblerLLVM class. Add instruction emulation function calls to SBInstruction and SBInstructionList APIs. llvm-svn: 128956
* finished my pass through all the 2.9 commits, now to make this intelligibleChris Lattner2011-04-051-13/+32
| | | | llvm-svn: 128955
* mention llvm::ArrayRef, which should be use much more pervasively thanChris Lattner2011-04-051-0/+16
| | | | | | it already is. llvm-svn: 128954
* Clean up some code for clarity.Bob Wilson2011-04-051-5/+24
| | | | llvm-svn: 128953
* Provide an empty virtual destructor to go with the virtual methods inChandler Carruth2011-04-051-0/+1
| | | | | | this class. Clang was warning on this with -Wnon-virtual-dtor. llvm-svn: 128952
* Revert r128946 while I figure out why it broke the buildbots.Owen Anderson2011-04-052-38/+64
| | | | llvm-svn: 128951
* Fixes a regression caused by my last patch. Fariborz Jahanian2011-04-052-2/+2
| | | | | | | As a result, I had to remove a c++ version of a clang test which requires more scrutiny on my part. llvm-svn: 128950
* A7.3 register encodingJohnny Chen2011-04-053-1/+21
| | | | | | | | | | | | | Qd -> bit[12] == 0 Qn -> bit[16] == 0 Qm -> bit[0] == 0 If one of these bits is 1, the instruction is UNDEFINED. rdar://problem/9238399 rdar://problem/9238445 llvm-svn: 128949
* Emit debug info for function template parameters.Devang Patel2011-04-053-15/+62
| | | | llvm-svn: 128948
* Add support to encode function's template parameters.Devang Patel2011-04-055-7/+27
| | | | llvm-svn: 128947
* Give RSBS and RSCS the pseudo treatment.Owen Anderson2011-04-052-64/+38
| | | | llvm-svn: 128946
* ARM disassembler was erroneously accepting an invalid RSC instruction.Johnny Chen2011-04-052-0/+15
| | | | | | | | Added checks for regs which should not be 15. rdar://problem/9237734 llvm-svn: 128945
* Add ToolChain support to get Clang to recognize Ubuntu/ppc and Gentoo/ppc64.Ted Kremenek2011-04-052-10/+39
| | | | llvm-svn: 128944
* remove postdom frontiers, because it is dead. Forward dom frontiers areChris Lattner2011-04-059-904/+3
| | | | | | still used by RegionInfo :( llvm-svn: 128943
* docs/ReleaseNotes.html: Please use proper *Heading* elements instead of ↵NAKAMURA Takumi2011-04-051-61/+61
| | | | | | | | classified div. It would be better to browse without stylesheet. (eg. on ViewVC) llvm-svn: 128942
* ARM disassembler was erroneously accepting an invalid LSL instruction.Johnny Chen2011-04-052-0/+13
| | | | | | | | | For register-controlled shifts, we should check that the encoding constraint Inst{7} = 0 and Inst{4} = 1 is satisfied. rdar://problem/9237693 llvm-svn: 128941
* Fix bugs in the pseuo-ization of ADCS/SBCS pointed out by Jim, as well as ↵Owen Anderson2011-04-053-80/+76
| | | | | | doing the expansion earlier (using a custom inserter) to allow for the chance of predicating these instructions. llvm-svn: 128940
* Use the same colors in the LLDB/GDB table as the sidebar so things lookGreg Clayton2011-04-051-1/+1
| | | | | | consistent and also to lighten up the page a bit. llvm-svn: 128939
* remove graphprinter support for domfrontier.Chris Lattner2011-04-053-14/+5
| | | | llvm-svn: 128938
* Generate atomic api for atomic properties (x86 and x86_64Fariborz Jahanian2011-04-052-8/+139
| | | | | | | targets) when load/store results in multiple instructions. // rdar://8808439 llvm-svn: 128937
* These tests no longer require linear scan because reserved register ↵Jakob Stoklund Olesen2011-04-055-19/+14
| | | | | | coalescing is now universal. llvm-svn: 128936
* Run LiveDebugVariables in RegAllocBasic and RegAllocGreedy.Jakob Stoklund Olesen2011-04-0511-1/+24
| | | | llvm-svn: 128935
* Removed a stray '\' character.Greg Clayton2011-04-051-3/+1
| | | | llvm-svn: 128934
* only 7 more weeks to go.Chris Lattner2011-04-051-5/+48
| | | | llvm-svn: 128933
* Commit a bit of a hack to fully handle the situation where variables areChandler Carruth2011-04-052-6/+20
| | | | | | | | | | | | | | | | marked explicitly as uninitialized through direct self initialization: int x = x; With r128894 we prevented warnings about this code, and this patch teaches the analysis engine to continue analyzing subsequent uses of 'x'. This should wrap up PR9624. There is still an open question of whether we should suppress the maybe-uninitialized warnings resulting from variables initialized in this fashion. The definitely-uninitialized uses should always be warned. llvm-svn: 128932
* Refactor.Devang Patel2011-04-052-15/+21
| | | | llvm-svn: 128929
* Remove unintentional check-in.Devang Patel2011-04-051-3/+0
| | | | llvm-svn: 128928
* Document llvm/ADT/IntEqClasses.h in ProgrammersManual.htmlJakob Stoklund Olesen2011-04-051-0/+21
| | | | llvm-svn: 128927
* Add an assertion instead of crashing when the scavenger goes past the endBob Wilson2011-04-051-1/+2
| | | | | | of a basic block. llvm-svn: 128925
* Fix typos. Adjust some whitespace for style. No functionality change.Nick Lewycky2011-04-052-14/+14
| | | | llvm-svn: 128924
* Enable sse4 and aes for SandyBridge. Leave avx support commented out for now.Roman Divacky2011-04-051-2/+5
| | | | llvm-svn: 128923
* The r128085 checkin modified the operand ordering for MRC/MRC2 instructions.Johnny Chen2011-04-052-7/+22
| | | | | | | | Modify DisassembleCoprocessor() of ARMDisassemblerCore.cpp to react to the change. rdar://problem/9236873 llvm-svn: 128922
* Fix typo.Devang Patel2011-04-052-1/+5
| | | | llvm-svn: 128921
* Add support for detection of Intel SandyBridge.Roman Divacky2011-04-051-0/+2
| | | | llvm-svn: 128920
* Fix one more batch of X86 tests to be register allocation dependent.Jakob Stoklund Olesen2011-04-059-2797/+2811
| | | | llvm-svn: 128919
* When dead code elimination removes all but one use, try to fold the single ↵Jakob Stoklund Olesen2011-04-053-0/+56
| | | | | | | | def into the remaining use. Rematerialization can leave single-use loads behind that we might as well fold whenever possible. llvm-svn: 128918
* Convert "process" read/write callback functions to "frame" read/write ↵Caroline Tice2011-04-052-53/+57
| | | | | | callback functions. llvm-svn: 128917
* Add security syntax checker for strcat() which causes the Static Analyzer to ↵Lenny Maiorani2011-04-052-57/+115
| | | | | | | | generate a warning any time the strcat() function is used with a note suggesting to use a function which provides bounded buffers. CWE-119. Also, brings the security syntax checker more inline with coding standards. llvm-svn: 128916
* Use TemplateParameterList to extract template parameter name.Devang Patel2011-04-051-8/+15
| | | | llvm-svn: 128915
* Do not emit empty name.Devang Patel2011-04-051-1/+2
| | | | llvm-svn: 128914
* ARM disassembler should flag (rGPRRegClassID, r13|r15) as an error.Johnny Chen2011-04-053-6/+15
| | | | llvm-svn: 128913
* Fix a typo.Andrew Trick2011-04-051-1/+1
| | | | llvm-svn: 128912
* Added *hidden* flags -print-options and -print-all-options soAndrew Trick2011-04-051-0/+3
| | | | | | | | | | | | | | | | | | | developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options. This is nice to have when decomposing the stages of compilation and moving between different drivers. It's also a good sanity check when comparing results produced by different command line invocations that are expected to produce the comparable results. Note: This is not an attempt to prolong the life of cl::Option. On the contrary, it's a placeholder for a feature that must exist when cl::Option is replaced by a more appropriate framework. A new framework needs: a central option registry, dynamic name lookup, non-global containers of option values (e.g. per-module, per-function), *and* the ability to print options values and their defaults at any point during compilation. llvm-svn: 128911
* Added *hidden* flags -print-options and -print-all-options soAndrew Trick2011-04-054-41/+436
| | | | | | | | | | | | | | | | | | | developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options. This is nice to have when decomposing the stages of compilation and moving between different drivers. It's also a good sanity check when comparing results produced by different command line invocations that are expected to produce the comparable results. Note: This is not an attempt to prolong the life of cl::Option. On the contrary, it's a placeholder for a feature that must exist when cl::Option is replaced by a more appropriate framework. A new framework needs: a central option registry, dynamic name lookup, non-global containers of option values (e.g. per-module, per-function), *and* the ability to print options values and their defaults at any point during compilation. llvm-svn: 128910
* LDRD now prints out two dst registers.Johnny Chen2011-04-051-1/+1
| | | | llvm-svn: 128909
* whitespaceAndrew Trick2011-04-051-3/+3
| | | | llvm-svn: 128908
OpenPOWER on IntegriCloud