- Aug 01, 2012
-
-
John McCall authored
don't explode if the offset we get is zero. This can happen if you have an empty virtual base class. While I'm at it, remove an unnecessary block from the IR-generation of the null-check, mark the eventual GEP as inbounds, and generally prettify. llvm-svn: 161100
-
- Jul 31, 2012
-
-
Benjamin Kramer authored
llvm-svn: 161044
-
John McCall authored
on object pointers and whether pointer arithmetic on object pointers is supported. Make ObjFW interpret subscripts as pseudo-objects. Based on a patch by Jonathan Schleifer. llvm-svn: 161028
-
Rafael Espindola authored
attribute. It is a variation of the x86_64 ABI: * A struct returned indirectly uses the first register argument to pass the pointer. * Floats, Doubles and structs containing only one of them are not passed in registers. * Other structs are split into registers if they fit on the remaining ones. Otherwise they are passed in memory. * When a struct doesn't fit it still consumes the registers. llvm-svn: 161022
-
John McCall authored
this-adjustment thunk in ARC++. llvm-svn: 161014
-
- Jul 27, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 160851
-
- Jul 24, 2012
-
-
Rafael Espindola authored
No need to abuse default arguments. llvm-svn: 160684
-
Nick Lewycky authored
variables that have static storage duration, it removes debug info on the emitted initializer function but not all debug info about this variable. llvm-svn: 160659
-
Rafael Espindola authored
llvm-svn: 160652
-
Rafael Espindola authored
llvm-svn: 160648
-
- Jul 23, 2012
-
-
Richard Trieu authored
APSInt::isSameValue() when comparing different sized APSInt's. llvm-svn: 160641
-
Sylvestre Ledru authored
llvm-svn: 160622
-
- Jul 21, 2012
-
-
Tim Northover authored
Under AAPCS, long double is the same as double, which means it should be allowed as part of a homogeneous aggregate. llvm-svn: 160586
-
- Jul 20, 2012
-
-
Chad Rosier authored
llvm-svn: 160580
-
Eric Christopher authored
previous ResetObjCLayout calls since this is now handled in Sema. Part of rdar://11842763 llvm-svn: 160527
-
- 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
-