- Aug 30, 2013
-
-
Ed Maste authored
llvm.org/pr16684 llvm-svn: 189679
-
Ashok Thirumurthi authored
llvm-svn: 189678
-
Bill Schmidt authored
Yet another chunk of fast-isel code. This one handles various conversions involving floating-point. (It also includes some miscellaneous handling throughout the back end for LWA_32 and LWAX_32 that should have been part of the load-store patch.) llvm-svn: 189677
-
Samuel Benzaquen authored
Reduce the number of symbols by changing how templates are instantiated per function bound in the registry. Summary: Reduce the number of symbols by changing how templates are instantiated per function bound in the registry. This change reduces the number of sections in Registry.cpp.o by a little over 10%. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1557 llvm-svn: 189676
-
Ashok Thirumurthi authored
llvm-svn: 189675
-
Howard Hinnant authored
llvm-svn: 189674
-
Andrey Churbanov authored
llvm-svn: 189673
-
Benjamin Kramer authored
PR17026. Also avoid undefined shifts and shift amounts larger than 64 bits (those are always undef because we can't represent integer types that large). llvm-svn: 189672
-
Edwin Vane authored
clang-replace is likely to move to clang proper one day soon. To facilitate that move, renaming files and directory structure layout to ease transition for users of clang-replace and libclangReplace. For now, functionality still exists in clang::replace namespace. Header guards and file comments updated. Differential Revision: http://llvm-reviews.chandlerc.com/D1548 llvm-svn: 189671
-
Benjamin Kramer authored
llvm-svn: 189670
-
Benjamin Kramer authored
Currently this is just the atom model with SSE4.2 enabled. llvm-svn: 189669
-
Ed Maste authored
http://www.llvm.org/pr16697 llvm-svn: 189668
-
Ed Maste authored
A FreeBSD implementation of Host::FindProcesses was added in r189295. Note that some tests still fail as the implementation returns a truncated name for processes with long names. http://www.llvm.org/pr16699 llvm-svn: 189667
-
Ed Maste authored
On Linux there is no separate notion of a process (vs. a thread) for ptrace(); each thread needs to be individually detached. On FreeBSD we have a separate process context, and we detach just it. Review: http://llvm-reviews.chandlerc.com/D1418 llvm-svn: 189666
-
Alexey Samsonov authored
llvm-svn: 189665
-
Hans Wennborg authored
llvm-svn: 189664
-
Daniel Jasper authored
Almost by accident, clang-format seems to be able to format protocol buffer definitions (https://code.google.com/p/protobuf/). The only change is that a space is required between numeric constants and opening square brackets (for default values). While this might in theory be used for array subscripts (int val = 4[MyArray]), I have not seen this pattern in practice much. If this is wrong, we can make this smarter in the future. llvm-svn: 189663
-
Daniel Jasper authored
Before: namespace n { enum Type { One, Two, // missing }; int i; } void g() { } After: namespace n { enum Type { One, Two, // missing }; int i; } void g() {} llvm-svn: 189662
-
Hans Wennborg authored
This never really worked. Even if we find and execute link.exe in the VS bin dir this way, link.exe wouldn't find the DLLs it needs, libraries, etc. It also causes trouble when the user has multiple versions of VS installed, one of them is in the path, but this code finds the other one (PR17041). Revert until we can fix this properly. > Windows ToolChain: add VS bin dir to PogramPaths > > We have a lot of fancy logic to find Visual Studio, which is currently used > to set the system header include paths. > > Use the same code to set the ProgramPaths, which is used for finding programs > such as link.exe. Previously, Clang would just search PATH for link.exe, > but now it should find it if it's able to find Visual Studio. llvm-svn: 189661
-
Yunzhong Gao authored
llvm-svn: 189660
-
Pavel Labath authored
Summary: Previously, Sema was reusing parts of the AST when synthesizing an assignment operator, turning it into a AS-dag. This caused problems for the static analyzer, which assumed an expression appears in the tree only once. Here I make sure to always create a fresh Expr, when inserting something into the AST, fixing PR16745 in the process. Reviewers: doug.gregor CC: cfe-commits, jordan_rose Differential Revision: http://llvm-reviews.chandlerc.com/D1425 llvm-svn: 189659
-
Daniel Jasper authored
Before: aaaaaaaaaa(bbbbbbbbbbbbbbbbbbbbbbbbb.ccccccccccccccccc( dddddddddddddddddddddddddddddd)); aaaaaaaaaaa(bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb( dddddddddddddddddddddddddddddd)); After: aaaaaaaaaaa(bbbbbbbbbbbbbbbbbbbbbbbbb.ccccccccccccccccc( dddddddddddddddddddddddddddddd)); aaaaaaaaaaa(bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb( dddddddddddddddddddddddddddddd)); This was overlooked when interducing the new builder-type call detection in r189337. Also, some minor reorganization of a test. llvm-svn: 189658
-
Daniel Jasper authored
While this looks kind of nice, it wastes horizontal space and does not seem to be common in the LLVM codebase. Before: return llvm::StringSwitch<Reference::Kind>(name) .StartsWith(".eh_frame_hdr", ORDER_EH_FRAMEHDR) .StartsWith(".eh_frame", ORDER_EH_FRAME) .StartsWith(".init", ORDER_INIT) .StartsWith(".fini", ORDER_FINI) .StartsWith(".hash", ORDER_HASH) .Default(ORDER_TEXT); After: return llvm::StringSwitch<Reference::Kind>(name) .StartsWith(".eh_frame_hdr", ORDER_EH_FRAMEHDR) .StartsWith(".eh_frame", ORDER_EH_FRAME) .StartsWith(".init", ORDER_INIT) .StartsWith(".fini", ORDER_FINI) .StartsWith(".hash", ORDER_HASH) .Default(ORDER_TEXT); llvm-svn: 189657
-
Craig Topper authored
llvm-svn: 189656
-
Daniel Jasper authored
Before: aaaaaaaaaaaaa->aaaaaaaaaaaaaaaaaaaaaaaa()->aaaaaaaaaaaaaae( 0)->aaaaaaaaaaaaaaa(); After: aaaaaaaaaaaaa->aaaaaaaaaaaaaaaaaaaaaaaa() ->aaaaaaaaaaaaaae(0) ->aaaaaaaaaaaaaaa(); llvm-svn: 189655
-
Craig Topper authored
llvm-svn: 189654
-
Craig Topper authored
Teach X86 backend to create BMI2 BZHI instructions from (and X, (add (shl 1, Y), -1)). Fixes PR17038. llvm-svn: 189653
-
Yunzhong Gao authored
The patch was discussed in Phabricator. See: http://llvm-reviews.chandlerc.com/D1281 llvm-svn: 189649
-
Michael Gottesman authored
This reverts commit r189619. The commit was breaking the arm_neon_intrinsic test. llvm-svn: 189648
-
Richard Smith authored
llvm-svn: 189647
-
Richard Smith authored
from a PCH/module. llvm-svn: 189646
-
Richard Smith authored
llvm-svn: 189645
-
Charles Davis authored
Based on a patch by Benno Rice! llvm-svn: 189644
-
Andrew Trick authored
This removes all expensive pressure tracking logic from the scheduling critical path of node comparison. llvm-svn: 189643
-
Andrew Trick authored
Return true for LRGs that end at EarlyClobber or Register slots. llvm-svn: 189642
-
Andrew Trick authored
Only compare pressure within the same set. When multiple sets are affected, we prioritize the most constrained set. llvm-svn: 189641
-
Andrew Trick authored
Created SUPressureDiffs array to hold the per node PDiff computed during DAG building. Added a getUpwardPressureDelta API that will soon replace the old one. Compute PressureDelta here from the precomputed PressureDiffs. Updating for liveness will come next. llvm-svn: 189640
-
Bill Schmidt authored
Mostly trivial patch adding support for compares. The meat of the work was added with the branch support. llvm-svn: 189639
-
Bill Schmidt authored
llvm-svn: 189638
-
Bill Schmidt authored
Here are a few more tests that now pass after the recent fast-isel commits. llvm-svn: 189637
-