- Mar 21, 2014
-
-
Aaron Ballman authored
The release_capability, release_shared_capability and release_generic_capability functions are now functionally distinct for capability analysis. The unlock_function attribute maps directly to release_generic_capability. llvm-svn: 204469
-
Tobias Grosser authored
llvm-svn: 204468
-
Daniel Jasper authored
This unbreaks polly-formatting-tests and we can make a decision for LLVM style independently. llvm-svn: 204467
-
Tobias Grosser authored
llvm-svn: 204466
-
Timur Iskhodzhanov authored
Simplify test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp by forcing VFTableBuilder invocation with virtual function calls Previously the vftables were built at the end of the TU in a reverse-to-random order llvm-svn: 204465
-
Timur Iskhodzhanov authored
Simplify test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp by forcing VFTableBuilder invocation with virtual function calls Previously the vftables were built at the end of the TU in a reverse-to-random order llvm-svn: 204464
-
Alexey Samsonov authored
from (external) compiler-rt build tree into LLVM/Clang build tree in LLVM_BUILD_EXTERNAL_COMPILER_RT mode. For instance, running make asan -j12 in LLVM/Clang build tree will now build Clang, use it to configure compiler-rt build tree, and invoke "make asan -j12" there. ASan runtime will be built in the proper location, where Clang driver expects to find it. Running make check-asan will build Clang, use it to configure compiler-rt build tree, build everything there, and then run "make check-asan" in compiler-rt build tree using just-built Clang and ASan runtime. llvm-svn: 204463
-
Daniel Jasper authored
llvm-svn: 204462
-
Kostya Serebryany authored
llvm-svn: 204461
-
Daniel Jasper authored
They very rarely aid readability. Formatting: void f() { if (a) { f(); } } Now leads to: void f() { if (a) { f(); } } llvm-svn: 204460 -
Hafiz Abid Qadeer authored
Previous check relied on -DLLDB_DISABLE_PYTHON which was not valid as it is defined in the top level LLDB Makefile which is included after the check. If this check is moved after the inclusion of top level Makefile then BUILT_SOURCES is not properly handled. So I am using the scheme present in the Host/Makefile. llvm-svn: 204459
-
Daniel Jasper authored
Before: vector<int> x{1, 2, 3, 4, }; After: vector<int> x{ 1, 2, 3, 4, }; This fixes llvm.org/PR18519. llvm-svn: 204458 -
Daniel Jasper authored
llvm-svn: 204457
-
Daniel Jasper authored
Formatting: SomeFunction(a, b, // comment c); Before: SomeFunction(a, b, // comment c); After: SomeFunction(a, b, // comment c); llvm-svn: 204456 -
Timur Iskhodzhanov authored
Simplify test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp by forcing VFTableBuilder invocation with virtual function calls Previously the vftables were built at the end of the TU in a reverse-to-random order llvm-svn: 204455
-
Kostya Serebryany authored
llvm-svn: 204454
-
Timur Iskhodzhanov authored
llvm-svn: 204453
-
Richard Sandiford authored
...instead of a separate Requires for each one. This style was already used in some places and seems more compact. No behavioral change intended. llvm-svn: 204452
-
Richard Sandiford authored
These complement the older float<->signed instructions. llvm-svn: 204451
-
Matheus Almeida authored
We should be using the llvm namespace and not an anonymous namespace in a header file. llvm-svn: 204450
-
Hafiz Abid Qadeer authored
PATH_MAX is defined if it is not already defined. A duplicate definition is removed. The declaration of struct timespec is moved outside #ifdef _MSC_VER to make it available for mingw. llvm-svn: 204449
-
Sergey Matveev authored
Using __msan_unpoison() on null-terminated strings is awkward because strlen() can't be called on a poisoned string. This case warrants a special interface function. llvm-svn: 204448
-
Tobias Grosser authored
It does not seem to add a lot of value, as it leaves unclear which parts are mature and whichs not. Adding this informatin also does not make sense, as it changes rapidly. llvm-svn: 204447
-
Tobias Grosser authored
llvm-svn: 204446
-
Tobias Grosser authored
We now have both polyhedral dead code elimination as well as LNT buildbots. llvm-svn: 204445
-
Tobias Grosser authored
llvm-svn: 204444
-
Tobias Grosser authored
llvm-svn: 204443
-
Tobias Grosser authored
llvm-svn: 204442
-
Tobias Grosser authored
llvm-svn: 204441
-
Alexander Potapenko authored
llvm-svn: 204440
-
Juergen Ributzka authored
Some targets require more than one relocation entry to perform a relocation. This change allows processRelocationRef to process more than one relocation entry at a time by passing the relocation iterator itself instead of just the relocation entry. Related to <rdar://problem/16199095> llvm-svn: 204439
-
Alexey Samsonov authored
llvm-svn: 204438
-
Kevin Qin authored
llvm-svn: 204437
-
Alexey Samsonov authored
llvm-svn: 204436
-
Juergen Ributzka authored
Extend the target hook to take also the operand index into account when calculating the cost of the constant materialization. Related to <rdar://problem/16381500> llvm-svn: 204435
-
Juergen Ributzka authored
Related to <rdar://problem/16381500> llvm-svn: 204434
-
Juergen Ributzka authored
Originally the algorithm would search for expensive constants and track their users, which could be instructions and constant expressions. This change only tracks the constants for instructions, but constant expressions are indirectly covered too. If an operand is an constant expression, then we look through the expression to find anny expensive constants. The algorithm keep now track of the instruction and the operand index where the constant is used. This allows more precise hoisting of constant materialization code for PHI instructions, because we only hoist to the basic block of the incoming operand. Before we had to find the idom of all PHI operands and hoist the materialization code there. This also makes updating of instructions easier. Before we had to keep track of the original constant, find it in the instructions, and then replace it. Now we can just simply update the operand. Related to <rdar://problem/16381500> llvm-svn: 204433
-
Juergen Ributzka authored
llvm-svn: 204432
-
Juergen Ributzka authored
[Constant Hoisting] Replace the MapVector with a separate Map and Vector to keep track of constant candidates. This simplifies working with the constant candidates and removes the tight coupling between the map and the vector. Related to <rdar://problem/16381500> llvm-svn: 204431
-
Ted Kremenek authored
llvm-svn: 204430
-