summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add the rest of the mechanisms to make ARM instruction emulation ↵Caroline Tice2011-04-058-29/+858
| | | | | | usable/possible. llvm-svn: 128907
* Fix test-llvm failures.Johnny Chen2011-04-056-13/+13
| | | | llvm-svn: 128906
* whitespaceAndrew Trick2011-04-052-10/+10
| | | | llvm-svn: 128905
* An MCDisassembler has the option to not implementShantonu Sen2011-04-051-2/+4
| | | | | | | | | | getEDInfo(), in which case this code would dereference NULL. EDInst can already handle NULL info, so avoid the dereference and pass NULL through. Reviewed by Sean Callanan llvm-svn: 128904
* Make second source operand of LDRD pre/post explicit.Jim Grosbach2011-04-052-8/+28
| | | | | | Finish what r128736 started. llvm-svn: 128903
* more notes to self.Chris Lattner2011-04-051-6/+59
| | | | llvm-svn: 128902
* Simplify the tracking of when to issue a fixit hint, making the helperChandler Carruth2011-04-051-13/+18
| | | | | | | | function more clear and obvious in behavior. Add some comments documenting the behavior of the primary diagnostic helper. llvm-svn: 128901
* Separate the logic for issuing the initialization fixit hint from theChandler Carruth2011-04-051-4/+10
| | | | | | | diagnostic emission. The fixit hint, when suggested, typically has nothing to do with the nature or form of the reference. llvm-svn: 128899
* Begin refactoring the uninitialized warning code that I uglied up. ThisChandler Carruth2011-04-051-91/+94
| | | | | | | | | | | | | extracts a function to handle the emission of the diagnostic separately from the walking over the set of uninitialized uses. Also updates the naming used within this extracted function to be a bit more consistent with the rest of Clang's naming patterns. The next step will be breaking this apart so that we can go through different functions rather than tracking so many boolean variables. llvm-svn: 128898
* Constants with multiple encodings (ARM):Johnny Chen2011-04-053-8/+9
| | | | | | | | | | An alternative syntax is available for a modified immediate constant that permits the programmer to specify the encoding directly. In this syntax, #<const> is instead written as #<byte>,#<rot>, where: <byte> is the numeric value of abcdefgh, in the range 0-255 <rot> is twice the numeric value of rotation, an even number in the range 0-30. llvm-svn: 128897
* Fix spelling.Michael J. Spencer2011-04-051-1/+1
| | | | llvm-svn: 128896
* Check for invalid register encodings for UMAAL and friends where:Johnny Chen2011-04-052-2/+60
| | | | | | | | | if dLo == 15 || dHi == 15 || n == 15 || m == 15 then UNPREDICTABLE; if dHi == dLo then UNPREDICTABLE; rdar://problem/9230202 llvm-svn: 128895
* Fix PR9624 by explicitly disabling uninitialized warnings for direct self-init:Chandler Carruth2011-04-053-19/+30
| | | | | | | | | | | | | | | int x = x; GCC disables its warnings on this construct as a way of indicating that the programmer intentionally wants the variable to be uninitialized. Only the warning on the initializer is turned off in this iteration. This makes the code a lot more ugly, but starts commenting the surprising behavior here. This is a WIP, I want to refactor it substantially for clarity, and to determine whether subsequent warnings should be suppressed or not. llvm-svn: 128894
* Refactor.Devang Patel2011-04-052-23/+36
| | | | llvm-svn: 128893
* Convert ADCS and SBCS instructions into pseudos that are expanded to the ↵Owen Anderson2011-04-052-41/+56
| | | | | | ADC/ABC with the appropriate S-bit input value. llvm-svn: 128892
OpenPOWER on IntegriCloud