History log of /llvm-project-15.0.7/clang/lib/CodeGen/CGExpr.cpp (Results 626 – 650 of 1262)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# dd31ca10 08-Oct-2012 Micah Villmow <[email protected]>

Move TargetData to DataLayout.

llvm-svn: 165395


# 639b8d05 08-Sep-2012 Richard Smith <[email protected]>

When a bad UTF-8 encoding or bogus escape sequence is encountered in a
string literal, produce a diagnostic pointing at the erroneous character
range, not at the start of the literal.

llvm-svn: 1634

When a bad UTF-8 encoding or bogus escape sequence is encountered in a
string literal, produce a diagnostic pointing at the erroneous character
range, not at the start of the literal.

llvm-svn: 163459

show more ...


# 4d1458ed 08-Sep-2012 Richard Smith <[email protected]>

-fcatch-undefined-behavior: Factor emission of the creation of, and branch to,
the trap BB out of the individual checks and into a common function, to prepare
for making this code call into a runtime

-fcatch-undefined-behavior: Factor emission of the creation of, and branch to,
the trap BB out of the individual checks and into a common function, to prepare
for making this code call into a runtime library. Rename the existing EmitCheck
to EmitTypeCheck to clarify it and to move it out of the way of the new
EmitCheck.

llvm-svn: 163451

show more ...


# 34866c77 31-Aug-2012 Eli Friedman <[email protected]>

Change the representation of builtin functions in the AST
(__builtin_* etc.) so that it isn't possible to take their address.
Specifically, introduce a new type to represent a reference to a builtin

Change the representation of builtin functions in the AST
(__builtin_* etc.) so that it isn't possible to take their address.
Specifically, introduce a new type to represent a reference to a builtin
function, and a new cast kind to convert it to a function pointer in the
operand of a call. Fixes PR13195.

llvm-svn: 162962

show more ...


# 69d0d262 24-Aug-2012 Richard Smith <[email protected]>

New -fcatch-undefined-behavior features:
* when checking that a pointer or reference refers to appropriate storage for a type, also check the alignment and perform a null check
* check that referen

New -fcatch-undefined-behavior features:
* when checking that a pointer or reference refers to appropriate storage for a type, also check the alignment and perform a null check
* check that references are bound to appropriate storage
* check that 'this' has appropriate storage in member accesses and member function calls

llvm-svn: 162523

show more ...


# a9dd49fe 16-Aug-2012 Tanya Lattner <[email protected]>

Convert loads and stores of vec3 to vec4 to achieve better code generation. Add test case.

llvm-svn: 162002


# f6d2184c 08-Aug-2012 Eli Friedman <[email protected]>

Fix an assertion failure with a C++ constructor initializing a
member of reference type in an anonymous struct. PR13154.

llvm-svn: 161473


# cc8f2a6a 15-Jul-2012 Chandler Carruth <[email protected]>

Update Clang to reflect the move of MDBuilder in r160237.

llvm-svn: 160238


# 8dda7b27 07-Jul-2012 John McCall <[email protected]>

Distinguish more carefully between free functions and C++ instance methods
in the ABI arrangement, and leave a hook behind so that we can easily
tweak CCs on platforms that use different CCs by defau

Distinguish more carefully between free functions and C++ instance methods
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

show more ...


# 36af16af 03-Jul-2012 Matt Beaumont-Gay <[email protected]>

Silence warning in -Asserts build

llvm-svn: 159635


# 4b18c3ff 03-Jul-2012 Nico Weber <[email protected]>

Share ConvertUTF8toWide() between Lex and CodeGen.

llvm-svn: 159634


# 4e8ca4fa 02-Jul-2012 John McCall <[email protected]>

Significantly simplify CGExprAgg's logic about ignored results:
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
loadi

Significantly simplify CGExprAgg's logic about ignored results:
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

show more ...


# c24e2fb1 27-Jun-2012 Eli Friedman <[email protected]>

Propagate lvalue alignment into bitfields. Per report on cfe-dev.

llvm-svn: 159295


# 3a691a36 23-Jun-2012 Nico Weber <[email protected]>

Support L__FUNCTION__ in microsoft mode, PR11789

Heavily based on a patch from
Aaron Wishnick <[email protected]>.

I'll clean up the duplicated function in CodeGen as
a follow-up, later to

Support L__FUNCTION__ in microsoft mode, PR11789

Heavily based on a patch from
Aaron Wishnick <[email protected]>.

I'll clean up the duplicated function in CodeGen as
a follow-up, later today or tomorrow.

llvm-svn: 159060

show more ...


# 13ffdd86 15-Jun-2012 Eli Friedman <[email protected]>

Make the ".*" operator work correctly when the base is a prvalue and the field has a non-trivial copy constructor. PR13097.

llvm-svn: 158578


# 5d53fcda 07-Jun-2012 Fariborz Jahanian <[email protected]>

User better API for vla in compund literals.
// rdar://11485774

llvm-svn: 158157


# bbc5bbf4 07-Jun-2012 Fariborz Jahanian <[email protected]>

When emitting compund literal of vla pointer elements, make
sure to emit vla size to prevent an irgen crash.
// rdar://11485774

llvm-svn: 158153


# a425589f 22-May-2012 Nuno Lopes <[email protected]>

wire -fbounds-checking to the new LLVM bounds checking pass

llvm-svn: 157262


# 2b1ff46e 22-May-2012 Nuno Lopes <[email protected]>

revert the usage of the objectsize intrinsic with 3 parameters (to match LLVM r157255)

llvm-svn: 157256


# bb653bd5 14-May-2012 Richard Smith <[email protected]>

Implement IRGen for C++11's "T{1, 2, 3}", where T is an aggregate and the
expression is treated as an lvalue.

llvm-svn: 156781


Revision tags: llvmorg-3.1.0
# ddcce0bb 09-May-2012 Nuno Lopes <[email protected]>

update calls to objectsize intrinsic to match LLVM r156473
add a test for -fbounds-checking code generation

llvm-svn: 156474


# 3d6311d5 08-May-2012 Nuno Lopes <[email protected]>

add -fbounds-checking option.
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: 1564

add -fbounds-checking option.
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

show more ...


Revision tags: llvmorg-3.1.0-rc3
# f463abc0 07-May-2012 Nuno Lopes <[email protected]>

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

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

show more ...


Revision tags: llvmorg-3.1.0-rc2
# db74d0b2 01-May-2012 Ted Kremenek <[email protected]>

Push variable declaration into nested scope (the only place where it is used). Found by static analyzer.

llvm-svn: 155922


# c84ed6a3 01-May-2012 John McCall <[email protected]>

Abstract the emission of global destructors into ABI-specific code
and only consider using __cxa_atexit in the Itanium logic. The
default logic is to use atexit().

Emit "guarded" initializers in Mi

Abstract the emission of global destructors into ABI-specific code
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

show more ...


1...<<21222324252627282930>>...51