- Mar 04, 2014
-
-
Dmitry Vyukov authored
it's LD_PRELOAD-able llvm-svn: 202843
-
Chandler Carruth authored
source file had already been moved. Also move the unittest into the IR unittest library. This may seem an odd thing to put in the IR library but we only really use this with instructions and it needs the LLVM context to work, so it is intrinsically tied to the IR library. llvm-svn: 202842
-
Sergey Matveev authored
llvm-svn: 202841
-
Chandler Carruth authored
llvm-svn: 202840
-
Chandler Carruth authored
PassInfo structures of the legacy pass manager. Also give it the Legacy prefix as it is not a particularly widely used header. llvm-svn: 202839
-
Chandler Carruth authored
a bit surprising, as the class is almost entirely abstracted away from any particular IR, however it encodes the comparsion predicates which mutate ranges as ICmp predicate codes. This is reasonable as they're used for both instructions and constants. Thus, it belongs in the IR library with instructions and constants. llvm-svn: 202838
-
Alexey Samsonov authored
llvm-svn: 202837
-
Chandler Carruth authored
necessary, but is no longer. llvm-svn: 202836
-
Chandler Carruth authored
hardcoded to use IR BasicBlocks. llvm-svn: 202835
-
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
-