- May 28, 2012
-
-
Chris Lattner authored
llvm-svn: 157557
-
- May 25, 2012
-
-
Nuno Lopes authored
add test case for C++ codegen llvm-svn: 157500
-
Nuno Lopes authored
llvm-svn: 157483
-
- May 24, 2012
-
-
Justin Holewinski authored
NV_CONTRIB llvm-svn: 157403
-
- May 23, 2012
-
-
Richard Smith authored
pointer, but such folding encounters side-effects, ignore the side-effects rather than performing them at runtime: CodeGen generates wrong code for __builtin_object_size in that case. llvm-svn: 157310
-
Eric Christopher authored
Part of rdar://11496790 llvm-svn: 157304
-
- May 22, 2012
-
-
Nuno Lopes authored
llvm-svn: 157262
-
Nuno Lopes authored
llvm-svn: 157256
-
Eric Christopher authored
however, the range can be unknown for the upper bound. Testcase to follow. Part of rdar://11457152 llvm-svn: 157212
-
- May 21, 2012
-
-
Peter Collingbourne authored
llvm-svn: 157173
-
- May 20, 2012
-
-
Peter Collingbourne authored
Because in CUDA types do not have associated address spaces, globals are declared in their "native" address space, and accessed by bitcasting the pointer to address space 0. This relies on address space 0 being a unified address space. llvm-svn: 157167
-
Eli Friedman authored
I'm pretty sure we are in fact doing the right thing here, but someone who knows the standard better should double-check that we are in fact supposed to zero out the member in the given testcase. llvm-svn: 157138
-
- May 19, 2012
-
-
Eric Christopher authored
types and ensure we are actually creating the type. rdar://11479676 llvm-svn: 157095
-
- May 17, 2012
-
-
Eric Christopher authored
llvm-svn: 156953
-
- May 16, 2012
-
-
Douglas Gregor authored
blocks and lambdas, based heavily on a patch from Meador Inge. Fixes PR12746 / <rdar://problem/11465120>. llvm-svn: 156925
-
- May 14, 2012
-
-
Richard Smith authored
expression is treated as an lvalue. llvm-svn: 156781
-
- May 12, 2012
-
-
Benjamin Kramer authored
Currently cold functions are marked with the "optsize" attribute in CodeGen so they are always optimized for size. The hot attribute is just ignored, LLVM doesn't have a way to express hotness at the moment. llvm-svn: 156723
-
- May 11, 2012
-
-
Akira Hatanaka authored
register size of the target architecture. llvm-svn: 156650
-
Akira Hatanaka authored
A vector should be returned via the hidden pointer argument except if its size is equal to or smaller than 16-bytes and the target ABI is N32 or N64. llvm-svn: 156642
-
Sirish Pande authored
llvm-svn: 156630
-
- May 09, 2012
-
-
Roman Divacky authored
llvm-svn: 156491
-
Nuno Lopes authored
add a test for -fbounds-checking code generation llvm-svn: 156474
-
Nuno Lopes authored
When enabled, clang generates bounds checks for array and pointers dereferences. Work to follow in LLVM's backend. OK'ed by Chad; thanks for the review. llvm-svn: 156431
-
- May 08, 2012
-
-
Eric Christopher authored
Part of rdar://11352000 llvm-svn: 156407
-
Eric Christopher authored
llvm-svn: 156406
-
- May 07, 2012
-
-
Nuno Lopes authored
remove code to add bound checks for simple array accesses, since those are already covered by the check with the objectsize builtin remove the comparison of objectsize with -1. since it's an unsigned comparison, it will always succeed if objectsize returns -1, which is enough to have the check removed llvm-svn: 156311
-
Craig Topper authored
Convert AVX non-temporal store builtins to LLVM-native IR. This was previously done for SSE builtins. llvm-svn: 156296
-
- May 05, 2012
-
-
Argyrios Kyrtzidis authored
to get a const char* if necessary. This avoids unnecessary conversions when we want to use the result of getName as a StringRef. Part of rdar://10796159 llvm-svn: 156227
-
- May 04, 2012
-
-
Alexey Samsonov authored
It reduces the amount of emitted debug information: 1) DIEs in .debug_info have types DW_TAG_compile_unit, DW_TAG_subprogram, DW_TAG_inlined_subroutine (for opt builds) and DW_TAG_lexical_block only. 2) .debug_str contains only function names. 3) No debug data for types/namespaces/variables is emitted. 4) The data in .debug_line is enough to produce valid stack traces with function names and line numbers. Reviewed by Eric Christopher. llvm-svn: 156160
-
- May 01, 2012
-
-
John McCall authored
the alignment might actually exceed the max field alignment; don't assert in this case. llvm-svn: 155937
-
Chad Rosier authored
llvm-svn: 155931
-
Ted Kremenek authored
Push variable declaration into nested scope (the only place where it is used). Found by static analyzer. llvm-svn: 155922
-
John McCall authored
working knowledge of the Microsoft ABI. Based on a patch by Dmitry Sokolov. llvm-svn: 155905
-
John McCall authored
and only consider using __cxa_atexit in the Itanium logic. The default logic is to use atexit(). Emit "guarded" initializers in Microsoft mode unconditionally. This is definitely not correct, but it's closer to correct than just not emitting the initializer. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155894
-
John McCall authored
what I'm going to treat as basically universal properties of array-cookie code. Implement MS array cookies on top of that. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155886
-
- Apr 30, 2012
-
-
David Blaikie authored
filter_decl_iterator had a weird mismatch where both op* and op-> returned T* making it difficult to generalize this filtering behavior into a reusable library of any kind. This change errs on the side of value, making op-> return T* and op* return T&. (reviewed by Richard Smith) llvm-svn: 155808
-
- Apr 27, 2012
-
-
Alexey Samsonov authored
llvm-svn: 155697
-
-
- Apr 26, 2012
-
-
Fariborz Jahanian authored
where getter type is super class of its property type, resulting in an assert. // rdar://11323676 llvm-svn: 155663
-
John McCall authored
more aligned than the block header but also contains something smaller than the block-header alignment but not exactly half the difference between the large alignment and the header alignment. Got that? I'm really not sure what I was thinking with the buggy computation here, but the fix is pretty obvious. llvm-svn: 155662
-