- Jul 18, 2012
-
-
Joel Jones authored
intrinsics. The second instruction(s) to be handled are the vector versions of count set bits (ctpop). The changes here are to clang so that it generates a target independent vector ctpop when it sees an ARM dependent vector bits set count. The changes in llvm are to match the target independent vector ctpop and in VMCore/AutoUpgrade.cpp to update any existing bc files containing ARM dependent vector pop counts with target-independent ctpops. There are also changes to an existing test case in llvm for ARM vector count instructions and to a test for the bitcode upgrade. <rdar://problem/11892519> There is deliberately no test for the change to clang, as so far as I know, no consensus has been reached regarding how to test neon instructions in clang; q.v. <rdar://problem/8762292> llvm-svn: 160409
-
- Jul 17, 2012
-
-
Joao Matos authored
llvm-svn: 160388
-
Joao Matos authored
[Windows] Abstract pure virtual method calls in the ABI. Fix the Windows ABI to forward to the correct function. llvm-svn: 160373
-
Simon Atanasyan authored
llvm-svn: 160353
-
- Jul 16, 2012
-
-
Simon Atanasyan authored
This function has two versions. The first one is used for a register operand. The second one is used for an immediate number. llvm-svn: 160308
-
Chandler Carruth authored
llvm-svn: 160238
-
- Jul 14, 2012
-
-
Eric Christopher authored
llvm-svn: 160220
-
Joel Jones authored
intrinsics with target-indepdent intrinsics. The first instruction(s) to be handled are the vector versions of count leading zeros (ctlz). The changes here are to clang so that it generates a target independent vector ctlz when it sees an ARM dependent vector ctlz. The changes in llvm are to match the target independent vector ctlz and in VMCore/AutoUpgrade.cpp to update any existing bc files containing ARM dependent vector ctlzs with target-independent ctlzs. There are also changes to an existing test case in llvm for ARM vector count instructions and a new test for the bitcode upgrade. <rdar://problem/11831778> There is deliberately no test for the change to clang, as so far as I know, no consensus has been reached regarding how to test neon instructions in clang; q.v. <rdar://problem/8762292> llvm-svn: 160201
-
- Jul 12, 2012
-
-
Timur Iskhodzhanov authored
llvm-svn: 160121
-
Benjamin Kramer authored
llvm-svn: 160118
-
John McCall authored
llvm-svn: 160102
-
Tanya Lattner authored
Add OpenCL metadata for kernel arg names. This output is controlled via a flag as noted in the OpenCL Spec. Includes a test case. llvm-svn: 160092
-
- Jul 11, 2012
-
-
Eric Christopher authored
llvm-svn: 160049
-
Eric Christopher authored
there's something going on there. Remove the unconditional line entry and only add one if we're emitting cleanups (any other statements would be handled normally). Fixes rdar://9199234 llvm-svn: 160033
-
- Jul 10, 2012
-
-
Tanya Lattner authored
llvm-svn: 159965
-
- Jul 09, 2012
-
-
Abramo Bagnara authored
llvm-svn: 159961
-
- Jul 07, 2012
-
-
John McCall authored
in the ABI arrangement, and leave a hook behind so that we can easily tweak CCs on platforms that use different CCs by default for C++ instance methods. llvm-svn: 159894
-
- Jul 06, 2012
-
-
Lang Hames authored
This flag sets the 'fp-contract' mode, which controls the formation of fused floating point operations. Available modes are: - Fast: Form fused operations anywhere. - On: Form fused operations where allowed by FP_CONTRACT. This is the default mode. - Off: Don't form fused operations (in future this may be relaxed to forming fused operations where it can be proved that the result won't be affected). Currently clang doesn't support the FP_CONTRACT pragma, so the 'On' and 'Off' modes are equivalent. llvm-svn: 159794
-
Dmitri Gribenko authored
very simple semantic analysis that just builds the AST; minor changes for lexer to pick up source locations I didn't think about before. Comments AST is modelled along the ideas of HTML AST: block and inline content. * Block content is a paragraph or a command that has a paragraph as an argument or verbatim command. * Inline content is placed within some block. Inline content includes plain text, inline commands and HTML as tag soup. llvm-svn: 159790
-
- Jul 04, 2012
-
-
Benjamin Kramer authored
No functionality change. llvm-svn: 159719
-
Benjamin Kramer authored
This required moving the ctors for IntegerLiteral and FloatingLiteral out of line which shouldn't change anything as they are usually called through Create methods that are already out of line. ASTContext::Deallocate has been a nop for a long time, drop it from ASTVector and make it independent from ASTContext.h Pass the StorageAllocator directly to AccessedEntity so it doesn't need to have a definition of ASTContext around. llvm-svn: 159718
-
- Jul 03, 2012
-
-
David Chisnall authored
runtime to gnustep from gnu. Fix EH for the GCC runtime. llvm-svn: 159684
-
Akira Hatanaka authored
values: - Return integer vectors in integer registers. - Pass vector arguments in integer registers. - Set an upper bound for argument alignment. The largest alignment is 8-byte for O32 and 16-byte for N32/64. llvm-svn: 159676
-
Matt Beaumont-Gay authored
llvm-svn: 159635
-
Nico Weber authored
llvm-svn: 159634
-
John McCall authored
if we want to ignore a result, the Dest will be null. Otherwise, we must copy into it. This means we need to ensure a slot when loading from a volatile l-value. With all that in place, fix a bug with chained assignments into __block variables of aggregate type where we were losing insight into the actual source of the value during the second assignment. llvm-svn: 159630
-
- Jul 02, 2012
-
-
Eli Friedman authored
When we're looking for redeclarations which might provide a definition in CodeGen, make sure we examine all the redeclarations. PR13252. llvm-svn: 159586
-
- Jun 29, 2012
-
-
Chandler Carruth authored
llvm-svn: 159422
-
Bill Wendling authored
llvm-svn: 159415
-
Timur Iskhodzhanov authored
llvm-svn: 159405
-
- Jun 28, 2012
-
-
Benjamin Kramer authored
The tablegen'd code does the same thing without this egregious duplication. In my limited testing everything seems to work, however there can be differences if the clang and llvm builtin definitions don't match. llvm-svn: 159371
-
Benjamin Kramer authored
The generated code uncovered an invalid prototype for __builtin_mips_shilo, fix it along the way. llvm-svn: 159368
-
Simon Atanasyan authored
This patch was reviewed in the llvm-commits list by Jim Grosbach. llvm-svn: 159366
-
Rafael Espindola authored
llvm-svn: 159360
-
Rafael Espindola authored
for tracking this. llvm-svn: 159351
-
Rafael Espindola authored
handy. It can be done, but we would have to build a derived-to-base cast during codegen to compute the correct this pointer. I will handle covariant returns next. llvm-svn: 159350
-
Hans Wennborg authored
This allows for setting the default TLS model. (PR9788) llvm-svn: 159336
-
Rafael Espindola authored
the correct this pointer. There is some potential for sharing a bit more code with canDevirtualizeMemberFunctionCalls, but that can be done in an independent patch. llvm-svn: 159326
-
Eric Christopher authored
llvm-svn: 159321
-
Bill Wendling authored
llvm-svn: 159315
-