- Mar 04, 2014
-
-
Chandler Carruth authored
instructions. llvm-svn: 202834
-
Chandler Carruth authored
reference the ConstantExpr implementation. llvm-svn: 202833
-
Chandler Carruth authored
this would have been required because of the use of DataLayout, but that has moved into the IR proper. It is still required because this folder uses the constant folding in the analysis library (which uses the datalayout) as the more aggressive basis of its folder. llvm-svn: 202832
-
Dmitry Vyukov authored
llvm-svn: 202831
-
Chandler Carruth authored
r202827. llvm-svn: 202830
-
Chandler Carruth authored
r202827. llvm-svn: 202828
-
Chandler Carruth authored
IR types. llvm-svn: 202827
-
Dmitry Vyukov authored
llvm-svn: 202826
-
Chandler Carruth authored
one in the tree (or in Polly) is using this. llvm-svn: 202825
-
Chandler Carruth authored
directly care about the Value class (it is templated so that the key can be any arbitrary Value subclass), it is in fact concretely tied to the Value class through the ValueHandle's CallbackVH interface which relies on the key type being some Value subclass to establish the value handle chain. Ironically, the unittest is already in the right library. llvm-svn: 202824
-
Chandler Carruth authored
r202821. llvm-svn: 202822
-
Chandler Carruth authored
Move the test for this class into the IR unittests as well. This uncovers that ValueMap too is in the IR library. Ironically, the unittest for ValueMap is useless in the Support library (honestly, so was the ValueHandle test) and so it already lives in the IR unittests. Mmmm, tasty layering. llvm-svn: 202821
-
Dmitry Vyukov authored
currently tsan hangs when linked with a shared library linked against an old version of pthread this change is another attempt to fix pthread_cond interceptors in different scenarios see the comment for implementation details llvm-svn: 202820
-
Tim Northover authored
llvm-svn: 202819
-
Chandler Carruth authored
obviously is coupled to the IR. llvm-svn: 202818
-
Chandler Carruth authored
LLVM r202816. llvm-svn: 202817
-
Chandler Carruth authored
abstracting between a CallInst and an InvokeInst, both of which are IR concepts. llvm-svn: 202816
-
Chandler Carruth authored
name might indicate, it is an iterator over the types in an instruction in the IR.... You see where this is going. Another step of modularizing the support library. llvm-svn: 202815
-
Chandler Carruth authored
business. This header includes Function and BasicBlock and directly uses the interfaces of both classes. It has to do with the IR, it even has that in the name. =] Put it in the library it belongs to. This is one step toward making LLVM's Support library survive a C++ modules bootstrap. llvm-svn: 202814
-
Dmitry Vyukov authored
llvm-svn: 202813
-
Tim Northover authored
Since these are primarily useful for deeply embedded targets where code size is very important, they are each in a separate file making use of infrastructure in sync-ops.h. This allows a linker to include just the functions that are actually used. rdar://problem/14736665 llvm-svn: 202812
-
Chandler Carruth authored
llvm-svn: 202811
-
Chandler Carruth authored
a missing include from CLog.h. CLog.h referenced most of the core libclang types but never directly included Index.h that provides them. Previously it got lucky and other headers were always included first but with the sorting it ended up first in one case and stopped compiling. Adding the Index.h include fixes it right up. llvm-svn: 202810
-
Chandler Carruth authored
llvm-svn: 202809
-
Timur Iskhodzhanov authored
llvm-svn: 202808
-
Vladimir Medic authored
This patch implements .set mips32r2 directive and sets appropriate feature bits. It also introduces helper functions that are used to set and clear feature bits as necessary. This directive is a counterpart of -mips32r2 command line options with the exception that it does not influence elf header flags. The usage example is gives in test file. llvm-svn: 202807
-
Yaron Keren authored
llvm-svn: 202806
-
Chandler Carruth authored
out-of-line so that it can refer to the methods on User. As a consequence, this removes the need to define one template method if value_use_iterator in the extremely strange User.h header (!!!). This makse Use.h slightly less peculiar. The only remaining real peculiarity is the definition of Use::set in Value.h llvm-svn: 202805
-
Yaron Keren authored
llvm-svn: 202804
-
NAKAMURA Takumi authored
llvm-svn: 202803
-
Chandler Carruth authored
swap implementation. llvm-svn: 202802
-
Alexey Samsonov authored
Patch by Viktor Kutuzov! llvm-svn: 202801
-
Patrik Hagglund authored
llvm-svn: 202800
-
Chandler Carruth authored
inconsistent both with itself and with LLVM at large with formatting. The *s were on the wrong side, the indent was off, etc etc. This is much cleaner. Also, go clang-format laying out the array of tags in nice columns. llvm-svn: 202799
-
Chandler Carruth authored
the Use class. More cleanups to come here. This class just needs some TLC. llvm-svn: 202798
-
Alexey Samsonov authored
Patch by Brad King. Our add_sanitizer_rt_symbols macro reads the LOCATION property of a library to compute the location of the "lib<name>.a.syms" file to generate next to the corresponding "lib<name>.a" library file. CMake 3.0 introduces policy CMP0026 to disallow reading of the LOCATION target property from non-imported targets in favor of the more powerful $<TARGET_FILE> generator expression. Teach add_sanitizer_rt_symbols to use the $<TARGET_FILE> generator expression to compute the location of the symbols file to generate with a custom command. CMake 3.0 also adds support for generator expressions to install(FILES) so use it when available to simplify installation of the symbols file of the proper configuration. llvm-svn: 202797
-
Alexey Samsonov authored
Patch by Brad King. When using a multi-config generator with CMake, such as for VS or Xcode, the LOCATION target property value contains a placeholder such as "$(Configuration)" that is meant for substitution by the native build tool. The install(FILES) command does not understand this name and will not install the symbols file correctly when using these generators. Teach add_sanitizer_rt_symbols to read the more-specific target property LOCATION_<CONFIG> that has a per-configuration value and no placeholder. On single-configuration generators (Makefile, Ninja), CMAKE_BUILD_TYPE contains the name of the one configuration to be built. On multi-config generators (VS, Xcode), CMAKE_CONFIGURATION_TYPES contains the list of possible configurations. In the latter case, loop over the configs and add a configuration-specific install(FILES) rule for each one. Place the code block inside an if(TRUE) block so it can be made conditional in a following change without updating indentation. llvm-svn: 202796
-
NAKAMURA Takumi authored
llvm-svn: 202795
-
NAKAMURA Takumi authored
llvm-svn: 202794
-
Evgeniy Stepanov authored
Mirror recent cmake changes in the configure/make build system. llvm-svn: 202793
-