- Dec 25, 2012
-
-
Guy Benyei authored
Add intel_ocl_bicc calling convention as a function attribute to clang. The calling convention is already implemented in LLVM. llvm-svn: 171056
-
Kostya Serebryany authored
[sanitizer] increase the maximum size class of the fast allocator. This should save quite a bit of memory in tsan/msan (and later in asan). This also puts more stress on the large allocator. Add a couple of checks llvm-svn: 171055
-
Dmitry Vyukov authored
(the old code won't work with new allocator) llvm-svn: 171054
-
Rafael Espindola authored
the body of a functions. The problem was that hasBody looks at the entire chain and causes problems to -fvisibility-inlines-hidden if the cache was not invalidated. Original message: Cache visibility of decls. This unifies the linkage and visibility caching. I first implemented this when working on pr13844, but the previous fixes removed the performance advantage of this one. This is still a step in the right direction for making linkage and visibility cheap to use. llvm-svn: 171053
-
Kostya Serebryany authored
[asan] properly define ASAN_LOW_MEMORY. Due to a mistake it has been always true causing redzone and quarantine sizes to be smaller than it was some time before (and out of sync with the documentation). Also make one test less greedy llvm-svn: 171052
-
Nick Lewycky authored
llvm-svn: 171051
-
NAKAMURA Takumi authored
It broke stage2. llvm-svn: 171050
-
Nadav Rotem authored
llvm-svn: 171049
-
Rafael Espindola authored
This unifies the linkage and visibility caching. I first implemented this when working on pr13844, but the previous fixes removed the performance advantage of this one. This is still a step in the right direction for making linkage and visibility cheap to use. llvm-svn: 171048
-
Bob Wilson authored
These are now generally used for all diagnostics from the backend, not just for inline assembly, so this drops the "InlineAsm" from the names. No functional change. (I've left aliases for the old names but only for long enough to let me switch over clang to use the new ones.) llvm-svn: 171047
-
- Dec 24, 2012
-
-
NAKAMURA Takumi authored
"check-all" can be executed with 0 status, "check-all does nothing, no tools built." LLVM_EXTERNAL_CLANG_BUILD=OFF LLVM_BUILD_TOOLS=OFF can reproduce this. Oscar Fuentes reported this. Thank you. llvm-svn: 171046
-
Nick Lewycky authored
llvm-svn: 171045
-
Nick Lewycky authored
llvm-svn: 171044
-
Nick Lewycky authored
llvm-svn: 171043
-
Benjamin Kramer authored
This affords us to use std::string's allocation routines and use the destructor for the memory management. Switching to that also means that we can use operator==(const std::string&, const char *) to perform the string comparison rather than resorting to libc functionality (i.e. strcmp). Patch by Saleem Abdulrasool! Differential Revision: http://llvm-reviews.chandlerc.com/D230 llvm-svn: 171042
-
rdar://problem/12867368Bob Wilson authored
When the backend is used from clang, it should produce proper diagnostics instead of just printing messages to errs(). Other clients may also want to register their own error handlers with the LLVMContext, and the same handler should work for warnings in the same way as the existing emitError methods. llvm-svn: 171041
-
Dmitri Gribenko authored
Now we really pass -Wcovered-switch-default if the compiler supports it. llvm-svn: 171040
-
Daniel Jasper authored
Apply all formatting changes that clang-format would apply to its own source code. All choices seem to improve readability (or at least not make it worse). No functional changes. llvm-svn: 171039
-
Daniel Jasper authored
This prevents formattings like this (assuming "parameter" doesn't fit the line): bool f = someFunction() && someFunctionWithParam( parameter) && someOtherFunction(); Here, "parameter" - the start of line 2 - has a parenthesis level of 2, but there are subsequent tokens ("&&" and "someOtherFunction") with a lower level. This is bad for readability as "parameter" hides "someOtherFunction". With this patch, this changes to: bool f = someFunction() && someFunctionWithParam(parameter) && someOtherFunction(); llvm-svn: 171038
-
Dmitri Gribenko authored
llvm-svn: 171037
-
Kostya Serebryany authored
llvm-svn: 171036
-
Kostya Serebryany authored
llvm-svn: 171035
-
Dmitry Vyukov authored
llvm-svn: 171034
-
Dmitry Vyukov authored
(this breaks RPM packages) llvm-svn: 171033
-
Daniel Jasper authored
This changes: int Result = a + // force break b; return Result + // force break 5; To: int Result = a + // force break b; return Result + // force break 5; llvm-svn: 171032
-
Kostya Serebryany authored
[sanitizer] rework the size class map in the sanitizer allocator: make the differences between size classes more uniform. llvm-svn: 171031
-
Dmitry Vyukov authored
to prevent assertion failures on code like "write(-1, ...)" llvm-svn: 171030
-
NAKAMURA Takumi authored
llvm-svn: 171029
-
Daniel Jasper authored
This fixes llvm.org/pr14686. We used to add too many spaces for different versions of overloaded operator function declarations/definitions. This patch changes, e.g. operator *() {} operator >() {} operator () () {} to operator*() {} operator>() {} operator()() {} llvm-svn: 171028
-
Nadav Rotem authored
support for the insert-subvector and extract-subvector kinds. llvm-svn: 171027
-
Elena Demikhovsky authored
llvm-svn: 171026
-
Elena Demikhovsky authored
Removed "static" from "__jit_debug_descriptor" because "static" adds C++ mangling prefix to this symbol. llvm-svn: 171025
-
Nadav Rotem authored
Some x86 instructions can load/store one of the operands to memory. On SSE, this memory needs to be aligned. When these instructions are encoded in VEX (on AVX) there is no such requirement. This changes the folding tables and removes the alignment restrictions from VEX-encoded instructions. llvm-svn: 171024
-
Nadav Rotem authored
the StoreInst operands. PR14705. llvm-svn: 171023
-
Nadav Rotem authored
Change the codegen Cost Model API for shuffeles. This patch removes the API for broadcast and adds a more general API that accepts an enum of known shuffles. llvm-svn: 171022
-
Alexey Samsonov authored
llvm-svn: 171021
-
Evgeniy Stepanov authored
llvm-svn: 171020
-
Nadav Rotem authored
llvm-svn: 171016
-
NAKAMURA Takumi authored
/// \param argBegin,argEnd the arguments to evaluate and pass to the constructor llvm-svn: 171015
-
NAKAMURA Takumi authored
clang/AST/VTTBuilder.h: Prune one description in three methods, VTTBuilder::AddVTablePointer(), VTTBuilder::LayoutSecondaryVirtualPointers(), and VTTBuilder::LayoutSecondaryVirtualPointers(). [-Wdocumentation] /// \param AddressPoints - If the vtable is a construction vtable, this has the address points for it. llvm-svn: 171014
-