- Apr 05, 2011
-
-
Devang Patel authored
llvm-svn: 128929
-
Devang Patel authored
llvm-svn: 128928
-
Jakob Stoklund Olesen authored
llvm-svn: 128927
-
Bob Wilson authored
of a basic block. llvm-svn: 128925
-
Nick Lewycky authored
llvm-svn: 128924
-
Roman Divacky authored
llvm-svn: 128923
-
Johnny Chen authored
Modify DisassembleCoprocessor() of ARMDisassemblerCore.cpp to react to the change. rdar://problem/9236873 llvm-svn: 128922
-
Devang Patel authored
llvm-svn: 128921
-
Roman Divacky authored
llvm-svn: 128920
-
Jakob Stoklund Olesen authored
llvm-svn: 128919
-
Jakob Stoklund Olesen authored
When dead code elimination removes all but one use, try to fold the single def into the remaining use. Rematerialization can leave single-use loads behind that we might as well fold whenever possible. llvm-svn: 128918
-
Caroline Tice authored
Convert "process" read/write callback functions to "frame" read/write callback functions. llvm-svn: 128917
-
Lenny Maiorani authored
Add security syntax checker for strcat() which causes the Static Analyzer to 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
-
Devang Patel authored
llvm-svn: 128915
-
Devang Patel authored
llvm-svn: 128914
-
Johnny Chen authored
llvm-svn: 128913
-
Andrew Trick authored
llvm-svn: 128912
-
Andrew Trick authored
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
-
Andrew Trick authored
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
-
Johnny Chen authored
llvm-svn: 128909
-
Andrew Trick authored
llvm-svn: 128908
-
Caroline Tice authored
Add the rest of the mechanisms to make ARM instruction emulation usable/possible. llvm-svn: 128907
-
Johnny Chen authored
llvm-svn: 128906
-
Andrew Trick authored
llvm-svn: 128905
-
Shantonu Sen authored
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
-
Jim Grosbach authored
Finish what r128736 started. llvm-svn: 128903
-
Chris Lattner authored
llvm-svn: 128902
-
Chandler Carruth authored
function more clear and obvious in behavior. Add some comments documenting the behavior of the primary diagnostic helper. llvm-svn: 128901
-
Chandler Carruth authored
diagnostic emission. The fixit hint, when suggested, typically has nothing to do with the nature or form of the reference. llvm-svn: 128899
-
Chandler Carruth authored
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
-
Johnny Chen authored
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
-
Michael J. Spencer authored
llvm-svn: 128896
-
Johnny Chen authored
if dLo == 15 || dHi == 15 || n == 15 || m == 15 then UNPREDICTABLE; if dHi == dLo then UNPREDICTABLE; rdar://problem/9230202 llvm-svn: 128895
-
Chandler Carruth authored
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
-
Devang Patel authored
llvm-svn: 128893
-
Owen Anderson authored
Convert ADCS and SBCS instructions into pseudos that are expanded to the ADC/ABC with the appropriate S-bit input value. llvm-svn: 128892
-
Stuart Hastings authored
llvm-svn: 128891
-
David Chisnall authored
Does anyone want to buy me a new brain? llvm-svn: 128890
-
Oscar Fuentes authored
scheme is used by the functionality related to find_package. llvm-svn: 128889
-
Jakob Stoklund Olesen authored
There can be multiple defs for a single virtual register when they are defining sub-registers. The missing <dead> flag was stopping the inline spiller from eliminating dead code after rematerialization. llvm-svn: 128888
-