- Apr 17, 2014
-
-
Chandler Carruth authored
This will become necessary to build up the SCC iterators and SCC definitions. Moving it now so that subsequent diffs are incremental. llvm-svn: 206454
-
Chandler Carruth authored
this code ages ago and lost track of it. Seems worth doing though -- this thing can get called from places that would benefit from knowing that std::distance is O(1). Also add a very fledgeling unittest for Users and make sure various aspects of this seem to work reasonably. llvm-svn: 206453
-
NAKAMURA Takumi authored
llvm-svn: 206452
-
NAKAMURA Takumi authored
clang\lib\Sema\SemaTemplate.cpp(1826) : error C2064: term does not evaluate to a function taking 1 arguments llvm-svn: 206451
-
Chandler Carruth authored
graph. This simplifies the custom move constructor operation to one of walking the graph and updating the 'up' pointers to point to the new location of the graph. Switch the nodes from a reference to a pointer for the 'up' edge to facilitate this. llvm-svn: 206450
-
Chandler Carruth authored
anything and doesn't make sense if assigning. llvm-svn: 206449
-
Chandler Carruth authored
assignable. llvm-svn: 206448
-
Craig Topper authored
llvm-svn: 206447
-
Saleem Abdulrasool authored
Since LLVM currently only supports WinCOFF, assume that the input is WinCOFF rather than another type of COFF file (ECOFF/XCOFF). If the architecture is detected as thumb (e.g. the file has a IMAGE_FILE_MACHINE_ARMNT magic) then use a triple of thumbv7-windows. This allows for objdump to properly handle WoA object files without having to specify the target triple manually. llvm-svn: 206446
-
Saleem Abdulrasool authored
Visual Studio does not permit referencing a structure member as a static field for sizeof calculations. Resort to a pointer cast which is compatible across Visual Studio and other compilers. llvm-svn: 206445
-
Richard Smith authored
that looks like it might be an explicit specialization, don't recover as an explicit specialization (bypassing the check that would reject that). llvm-svn: 206444
-
Ben Langmuir authored
The YAMLParser has its own escaped string representation, and does not handle octal escape sequences. When writing the virtual file system to a YAML file, use yaml::escape(). llvm-svn: 206443
-
Richard Smith authored
template-id after its scope specifier into a single place. llvm-svn: 206442
-
Richard Smith authored
we'll already have issued the relevant diagnostic when we saw the declaration of the primary template. llvm-svn: 206441
-
Argyrios Kyrtzidis authored
[Parser] Remove "add -fmodules" from the "use of '@import' when modules are disabled, add -fmodules" error. We disable modules for C++, at which point this is confusing. rdar://16641918 llvm-svn: 206440
-
Yunzhong Gao authored
Itanium ABI in 2.9.2 Place of Emission. Differential Revision: http://reviews.llvm.org/D2750 llvm-svn: 206439
-
Justin Bogner authored
This introduces clang's Basic/OnDiskHashTable.h into llvm as Support/OnDiskHashTable.h. I've taken the opportunity to add doxygen comments and run the file through clang-format, but other than the namespace changing from clang:: to llvm:: the API is identical. llvm-svn: 206438
-
Matt Arsenault authored
llvm-svn: 206437
-
Richard Smith authored
when building the candidate set, rather than trying to contort name lookup into handling this. llvm-svn: 206436
-
Richard Smith authored
PR19452: Implement more of [over.match.oper]p3's restrictions on which non-member overloaded operators can be found when no operand is of class type. We used to fail to implement this rule if there was an operand of dependent type. llvm-svn: 206435
-
Adrian Prantl authored
rdar://problem/16636569. llvm-svn: 206434
-
Adam Nemet authored
The commit of r205855: Author: Arnold Schwaighofer <aschwaighofer@apple.com> Date: Wed Apr 9 14:20:47 2014 +0000 SLPVectorizer: Only vectorize intrinsics whose operands are widened equally The vectorizer only knows how to vectorize intrinics by widening all operands by the same factor. Patch by Tyler Nowicki! exposed a backend bug causing a regression (Cannot select ctpop). The commit msg is a bit confusing because the patch actually changes the behavior for the loop-vectorizer as well. As things got refactored into a helper ctpop got snuck in to the trivially-vectorizable helper which is now used by both vectorizers. In other words, we started seeing vector-ctpops in the backend. This change makes ctpop LegalizeAction::Expand for the types not supported by the byte-only CNT instruction. We may be able to custom-lower these later to a single CNT but this is to fix the compiler crash first. Fixes <rdar://problem/16578951> llvm-svn: 206433 -
Rui Ueyama authored
It's hard to debug this failure on remote machine only with lit logs. I'm trying to reproduce it locally on a FreeBSD machine. llvm-svn: 206432
-
Ben Langmuir authored
Don't install a file using the legacy spelling. llvm-svn: 206431
-
Adrian Prantl authored
specializations collect all arguments and not just the ones from the class template partial specialization from which this class template specialization was instantiated. The debug info does not represent the partial specialization otherwise and so specialized parameters would go missing. rdar://problem/16636569. llvm-svn: 206430
-
Gerolf Hoflehner authored
is set even when it contains a indirect branch. The attribute overrules correctness concerns like the escape of a local block address. This is for rdar://16501761 llvm-svn: 206429
-
Rui Ueyama authored
llvm-svn: 206428
-
Jonathan Roelofs authored
... so that we can use newlib as the c library. llvm-svn: 206427
-
Eric Christopher authored
Patch by Brad King llvm-svn: 206426
-
Eric Christopher authored
Patch by Brad King llvm-svn: 206425
-
Marshall Clow authored
llvm-svn: 206424
-
Alexey Samsonov authored
llvm-svn: 206423
-
Jim Grosbach authored
Range'ify loops and tidy up some by-reference handling. No functional change. llvm-svn: 206422
-
Jim Grosbach authored
llvm-svn: 206421
-
Aaron Ballman authored
llvm-svn: 206420
-
Rui Ueyama authored
llvm-svn: 206419
-
John Thompson authored
llvm-svn: 206418
-
Rui Ueyama authored
Currently LLD supports --defsym only in the form of --defsym=<symbol>=<integer>, where the integer is interpreted as the absolute address of the symbol. This patch extends it to allow other symbol name to be given as an RHS value. If a RHS value is a symbol name, the LHS symbol will be defined as an alias for the RHS symbol. Internally, a LHS symbol is represented as a zero-size defined atom who has an LayoutAfter reference to an undefined atom, whose name is the RHS value. Everything else is already implemented -- Resolver will resolve the undefined symbol, and the layout pass will layout the two atoms at the same location. Looks like it's working fine. Note that GNU LD supports --defsym=<symbol>=<symbol>+<addend>. That feature is out of scope of this patch. Differential Revision: http://reviews.llvm.org/D3332 llvm-svn: 206417
-
Joerg Sonnenberger authored
ARM, MIPS and i386 ABIs. llvm-svn: 206416
-
Reid Kleckner authored
This reverts commit r206413. This was proposed before, but it's not clear if this is really a good idea: http://reviews.llvm.org/D3034 llvm-svn: 206415
-