- Mar 13, 2014
-
-
Saleem Abdulrasool authored
Avoid NULL pointer scenario found via clang's static analyzer. llvm-svn: 203745
-
Michael J. Spencer authored
llvm-svn: 203744
-
Joerg Sonnenberger authored
llvm-svn: 203743
-
Joerg Sonnenberger authored
llvm-svn: 203742
-
Richard Smith authored
const-qualified parameter type and the defined with a non-const-qualified parameter type, the parameter is not const inside its body. Ensure that the type we use when instantiating the body is the right one. Patch by suyog sarda! This is still rather unsatisfactory; it seems like it might be better to instantiate at least the function parameters, and maybe the complete function declaration, when we instantiate the definition for such a member function (instead of reusing the declaration from inside the instantiated class definition). llvm-svn: 203741
-
NAKAMURA Takumi authored
FIXME: Get rid of invoking this. I guess it wouldn't run on win32 due to lacking of shell support. llvm-svn: 203740
-
Mark Seaborn authored
llvm-svn: 203739
-
Arnold Schwaighofer authored
llvm-svn: 203738
-
Jim Ingham authored
llvm-svn: 203737
-
Rui Ueyama authored
llvm-svn: 203736
-
Richard Smith authored
that implicitly converts to 'bool' (such as pointers, and the first operand of ?:). Clean up issues found by this. Patch by Stephan Tolksdorf! llvm-svn: 203735
-
Arnold Schwaighofer authored
This example is not vectorized because LLVM does not prove no-wrapping of "a[i*7] += ...". llvm-svn: 203734
-
Richard Smith authored
Based on a patch and test by Stephan Tolksdorf! Refactoring and fixing adjacent brokenness by me. llvm-svn: 203733
-
NAKAMURA Takumi authored
llvm-svn: 203732
-
Rui Ueyama authored
This function returns a boolean value, so returning STT_COMMON does not make sense. llvm-svn: 203731
-
Rafael Espindola authored
llvm-svn: 203730
-
Rafael Espindola authored
llvm-svn: 203729
-
Rafael Espindola authored
As an example that was not actually being used, it suffered from a slow bitrot. The two main issues with it were that it had no cmake support and included a copy of the autoconf directory. The reality is that autoconf is not easily composable. The lack of composabilty is why we have clang options in llvm's configure. Suggesting that users include a copy of autoconf/ in their projects seems a bad idea. We are also in the process of switching to cmake, so pushing autoconf to new project is probably not what we want. llvm-svn: 203728
-
David Blaikie authored
llvm-svn: 203727
-
David Blaikie authored
This makes the mapping consistent with other CU->X mappings in the MCContext, helping pave the way to refactor all these values into a single data structure per CU and thus a single map. I haven't renamed the data structure as that would make the patch churn even higher (the MCLineSection name no longer makes sense, as this structure now contains lines for multiple sections covered by a single CU, rather than lines for a single section in multiple CUs) and further refactorings will follow that may remove this type entirely. For convenience, I also gave the MCLineSection value semantics so we didn't have to do the lazy construction, manual delete, etc. (& for those playing at home, refactoring the line printing into a single data structure will eventually alow that data structure to be reused to own the debug_line.dwo line table used for type unit file name resolution) llvm-svn: 203726
-
Rafael Espindola authored
llvm-svn: 203725
-
Jim Ingham authored
When clearing a breakpoint site, make sure the owning process still exists before asking it to remove the breakpoint site the rest of the way. <rdar://problem/16303500> llvm-svn: 203724
-
Justin Bogner authored
Chandler voiced some concern with checking this in without some discussion first. Reverting for now. This reverts r203703, r203704, r203708, and 203709. llvm-svn: 203723
-
Hans Wennborg authored
llvm-svn: 203722
-
Rafael Espindola authored
llvm-svn: 203721
-
DeLesley Hutchins authored
llvm-svn: 203720
-
Michael Zolotukhin authored
Don't normalize an expression during postinc transformation unless it's invertible. llvm-svn: 203719
-
Adam Nemet authored
Extend what's currently done for shift because the HW performs this masking implicitly: (rotl:i32 x, (and y, 31)) -> (rotl:i32 x, y) I use the newly factored out multiclass that was only supporting shifts so far. For testing I extended my testcase for the new rotation idiom. <rdar://problem/15295856> llvm-svn: 203718
-
Rafael Espindola authored
llvm-svn: 203717
-
Michael Zolotukhin authored
llvm-svn: 203716
-
Hans Wennborg authored
llvm-svn: 203715
-
Hans Wennborg authored
They're already defined in ia32intrin.h, and this would cause including Intrin.h in 64-bit mode to fail because of conflicting types. Update ms-intrin.cpp to also run in 64-bit mode to catch things like this. llvm-svn: 203714
-
Justin Bogner authored
This will break without the corresponding change in clang, which I've reverted until I figure out how to get it to link properly. This reverts commit r203710. llvm-svn: 203713
-
Justin Bogner authored
I've clearly done something wrong with how to get this to link correctly. Reverting for now. This reverts commit r203711. llvm-svn: 203712
-
Justin Bogner authored
This updates CodeGenPGO to use the ProfileDataReader introduced to llvm in r203703 and the new API for writing out the profile introduced to compiler-rt in r203710. llvm-svn: 203711
-
Justin Bogner authored
llvm-svn: 203710
-
Justin Bogner authored
MSVC doesn't understand it, and it wasn't really necessary anyway. llvm-svn: 203709
-
Justin Bogner authored
This was leftover from an approach I abandoned, but I forgot to update it before committing. llvm-svn: 203708
-
Raul E. Silvera authored
This reverts commit 86cb795388643710dab34941ddcb5a9470ac39d8. The problems previously found have been resolved through other CLs. llvm-svn: 203707
-
Rafael Espindola authored
llvm-svn: 203706
-