- Jan 28, 2013
-
-
Edwin Vane authored
Use a simple recursive bash function to search for svn repos for the 'make update' target thus including projects like clang-tools-extra. Reviewers: bkramer, echristo llvm-svn: 173650
-
Reed Kotler authored
llvm-svn: 173649
-
Michael Gottesman authored
Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. llvm-svn: 173647
-
Bill Wendling authored
llvm-svn: 173646
-
Bill Wendling authored
llvm-svn: 173644
-
Bill Wendling authored
llvm-svn: 173642
-
Bill Wendling authored
We want to remove AttributeWithIndex because it provides a non-encapsulated view of the AttributeSetImpl object. Instead, use accessor methods and iterators. Eventually, this code can be simplified because the Attribute object will hold only one attribute instead of multiple attributes. llvm-svn: 173641
-
Bill Wendling authored
llvm-svn: 173640
-
Bill Wendling authored
llvm-svn: 173639
-
Bill Wendling authored
llvm-svn: 173638
-
Bill Wendling authored
Push the calculation of the 'Raw' attribute mask down into the implementation. It in turn uses the correct list for calculating the 'Raw' value. llvm-svn: 173637
-
- Jan 27, 2013
-
-
Bill Wendling authored
llvm-svn: 173636
-
Bill Wendling authored
Add special 'get' methods to create an Attribute with an alignment. Also do some random cleanup. No functionality change. llvm-svn: 173635
-
Richard Osborne authored
These instructions are not targeted by the compiler but they are needed for the MC layer. llvm-svn: 173634
-
Bill Wendling authored
llvm-svn: 173632
-
Bill Wendling authored
llvm-svn: 173631
-
Richard Osborne authored
These instructions are not targeted by the compiler but they are needed for the MC layer. llvm-svn: 173629
-
Bill Wendling authored
llvm-svn: 173628
-
Bill Wendling authored
Also add some asserts. llvm-svn: 173627
-
Benjamin Kramer authored
llvm-svn: 173625
-
Richard Osborne authored
These instructions are not targeted by the compiler but they are needed for the MC layer. llvm-svn: 173624
-
Richard Osborne authored
These instructions are not targeted by the compiler but they are needed for the MC layer. llvm-svn: 173623
-
Hal Finkel authored
When flipping the pair of subvectors that form a vector, if the vector length is 2, we can use the SK_Reverse shuffle kind to get more-accurate cost information. Also we can use the SK_ExtractSubvector shuffle kind to get accurate subvector extraction costs. The current cost model implementations don't yet seem complex enough for this to make a difference (thus, there are no test cases with this commit), but it should help in future. Depending on how the various targets optimize and combine shuffles in practice, we might be able to get more-accurate costs by combining the costs of multiple shuffle kinds. For example, the cost of flipping the subvector pairs could be modeled as two extractions and two subvector insertions. These changes, however, should probably be motivated by specific test cases. llvm-svn: 173621
-
Benjamin Kramer authored
llvm-svn: 173620
-
Bill Wendling authored
In the AttributeSetImpl c'tor, fill in the AttrNodes data structure with the attributes being passed in. llvm-svn: 173618
-
NAKAMURA Takumi authored
llvm-svn: 173617
-
NAKAMURA Takumi authored
For example, cur) unittests/ADT/Release/ADTTests new) unittests/ADT/ADTTests RUNTIME_BUILD_MODE can be substituted to CMAKE_CFG_INTDIR. With Make and Ninja, the tree is not built with multiple configurations. Then, including the build type in target directory doesn't make sense. See also "How can I build multiple modes without switching?" http://www.cmake.org/Wiki/CMake_FAQ CMAKE_CFG_INTDIR is set to "." With multiple-configuration-aware build system, like Visual Studio, each unittest is built on appropriate directory, for example, unittests/ADT/Release/ADTTests.exe CMAKE_CFG_INTDIR is set to build system's variable, like "$(Configuration)" or "$(OutDir)". Thus, "--param build_config" is also deprecated. llvm-svn: 173616
-
Benjamin Kramer authored
Fix that by adding a cast to the shift expander. This came up with vector shifts on sse-less X86 CPUs. <2 x i64> = shl <2 x i64> <2 x i64> -> i64,i64 = shl i64 i64; shl i64 i64 -> i32,i32,i32,i32 = shl_parts i32 i32 i64; shl_parts i32 i32 i64 Now we cast the last two i64s to the right type. Fixes the crash in PR14668. llvm-svn: 173615
-
Bill Wendling authored
llvm-svn: 173613
-
Bill Wendling authored
llvm-svn: 173612
-
Bill Wendling authored
llvm-svn: 173611
-
Chandler Carruth authored
out bug fixes, or functionality preserving refactorings. llvm-svn: 173610
-
Michael Gottesman authored
This name change does the following: 1. Causes the function name to use proper ARC terminology. 2. Makes it clear what the function truly does. llvm-svn: 173609
-
Bill Wendling authored
llvm-svn: 173608
-
Bill Wendling authored
This method will go away once AttributeWithIndex goes away. In the meantime, hide it from general use. llvm-svn: 173607
-
Bill Wendling authored
In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the internals of the AttributeSet to outside users, which isn't goodness. llvm-svn: 173606
-
Bill Wendling authored
In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the internals of the AttributeSet to outside users, which isn't goodness. llvm-svn: 173603
-
Bill Wendling authored
In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the internals of the AttributeSet to outside users, which isn't goodness. llvm-svn: 173602
-
Bill Wendling authored
In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the internals of the AttributeSet to outside users, which isn't goodness. llvm-svn: 173601
-
Bill Wendling authored
In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the internals of the AttributeSet to outside users, which isn't goodness. llvm-svn: 173600
-