- Oct 29, 2012
-
-
Daniel Jasper authored
Types, QualTypes and TypeLocs. Review: http://llvm-reviews.chandlerc.com/D83 llvm-svn: 166917
-
Evgeniy Stepanov authored
llvm-svn: 166916
-
Nick Lewycky authored
llvm-svn: 166915
-
Nick Lewycky authored
llvm-svn: 166914
-
Nick Lewycky authored
llvm-svn: 166913
-
Nick Lewycky authored
llvm-svn: 166912
-
Nadav Rotem authored
Get the number of registers by calling getTypeLegalizationCost. PR14199. llvm-svn: 166911
-
Lang Hames authored
llvm-svn: 166910
-
Rafael Espindola authored
globals. llvm-svn: 166909
-
Rafael Espindola authored
split module can see each other. If it is keeping a symbol that already has a non local linkage, it doesn't need to change it. llvm-svn: 166908
-
Rafael Espindola authored
output of both llvm-extract foo.ll -func=bar and llvm-extract foo.ll -func=bar -delete so the two new files could not be linked together anymore. With this change alias are handled almost like functions and global variables. Almost because with alias we cannot just clear the initializer/body, we have to create a new declaration and replace the alias with it. The net result is that now the output of the above commands can be linked even if foo.ll has aliases. llvm-svn: 166907
-
Reed Kotler authored
llvm-svn: 166903
-
- Oct 28, 2012
-
-
Rafael Espindola authored
All the credit goes to Jan Voung for noticing it was dead! llvm-svn: 166902
-
Seth Cantrell authored
limit highlight to exactly the bad encoding, and highlight every bad encoding in a string. llvm-svn: 166900
-
Richard Smith authored
Revert functional part of r166896 and just suppress -Wunneeded-internal-declaration for reference types for now. This needs more work; the cases we currently miss are a bit random. llvm-svn: 166899
-
Richard Smith authored
whether the initializer is value-dependent rather than whether we are in a dependent context. This allows us to detect some errors sooner, and fixes a crash-on-invalid if a dependent type leaks out to a non-dependent context in error recovery. llvm-svn: 166898
-
Reed Kotler authored
Previously mips16 was sharing the pattern addr which is used for mips32 and mips64. This had a number of problems: 1) Storing and loading byte and halfword quantities for mips16 has particular problems due to the primarily non mips16 nature of SP. When we must load/store byte/halfword stack objects in a function, we must create a mips16 alias register for SP. This functionality is tested in stchar.ll. 2) We need to have an FP register under certain conditions (such as dynamically sized alloca). We use mips16 register S0 for this purpose. In this case, we also use this register when accessing frame objects so this issue also affects the complex pattern addr16. This functionality is tested in alloca16.ll. The Mips16InstrInfo.td has been updated to use addr16 instead of addr. The complex pattern C++ function for addr has been copied to addr16 and updated to reflect the above issues. llvm-svn: 166897
-
Richard Smith authored
might have been used in constant expressions, rather than suppressing it for variables which are const. The important thing here is that such variables can have their values used without actually being marked as 'used'. llvm-svn: 166896
-
Rafael Espindola authored
incomplete type has a destructor or not. llvm-svn: 166895
-
Rafael Espindola authored
llvm-svn: 166894
-
Nico Weber authored
Patch from Brian Brooks <brooks.brian@gmail.com>! llvm-svn: 166893
-
- Oct 27, 2012
-
-
Fariborz Jahanian authored
It is currently off (so no tests). This is wip. llvm-svn: 166892
-
Chris Lattner authored
and could cause the Parser to crash on the first ConsumeToken(). Patcy by Bas van den Berg! llvm-svn: 166891
-
Jakob Stoklund Olesen authored
This fixes PR14194. llvm-svn: 166880
-
Rafael Espindola authored
llvm-svn: 166878
-
Benjamin Kramer authored
I don't think this is possible with the current implementation but that may change eventually. llvm-svn: 166877
-
Rafael Espindola authored
llvm-svn: 166876
-
Benjamin Kramer authored
This turns loops like for (unsigned i = 0; i != n; ++i) p[i] = p[i+1]; into memmove, which has a highly optimized implementation in most libcs. This was really easy with the new DependenceAnalysis :) llvm-svn: 166875
-
Benjamin Kramer authored
Requires a lot less code and complexity on loop-idiom's side and the more precise analysis can catch more cases, like the one I included as a test case. This also fixes the edge-case miscompilation from PR9481. Compile time performance seems to be slightly worse, but this is mostly due to an extra LCSSA run scheduled by the PassManager and should be fixed there. llvm-svn: 166874
-
Benjamin Kramer authored
SCEV validator: Ignore CouldNotCompute/undef on both sides. This is mostly noise and blocks finding more severe bugs. llvm-svn: 166873
-
Benjamin Kramer authored
llvm-svn: 166872
-
Mahesha S authored
llvm-svn: 166871
-
Chandler Carruth authored
offer up my email to the spam lords for it. Hopefully this will eventually be more automatic, but we don't want people to think there is only one option. llvm-svn: 166870
-
Mahesha S authored
OpenMP support. Sub-Feature: Support for "#pragma omp ..." registration with Preprocessor. Files Changed/Added: * include/clang/Basic/DiagnosticGroups.td (C) * include/clang/Basic/DiagnosticParseKinds.td (C) * include/clang/Basic/TokenKinds.def (C) * include/clang/Parse/Parser.h (C) * lib/Parse/Parser.cpp (C) Test Cases Changed/Added: * test/Preprocessor/pragma_omp.c (A) * test/Preprocessor/pragma_omp_ignored_warning.c (A) llvm-svn: 166869
-
Mahesha S authored
Feature: OpenMP support in CLANG: Sub-Feature: Support for option -fopenmp Files Changed/Added: * include/clang/Driver/Options.td (C) * include/clang/Basic/LangOptions.def (C) * lib/Driver/Tools.cpp (C) * lib/Frontend/CompilerInvocation.cpp (C) Test Cases Changed/Added: * test/Driver/clang_fopenmp_opt.c (A) ------------------------------------------------- llvm-svn: 166868
-
Mahesha S authored
llvm-svn: 166867
-
Rafael Espindola authored
llvm-svn: 166866
-
Hal Finkel authored
The monolithic interface for instruction costs has been split into several functions. This is the corresponding change. No functionality change is intended. llvm-svn: 166865
-
Nadav Rotem authored
1. Fix a bug in getTypeConversion. When a *simple* type is split, we need to return the type of the split result. 2. Change the maximum vectorization width from 4 to 8. 3. A test for both. llvm-svn: 166864
-
Rafael Espindola authored
to reduce. llvm-svn: 166863
-