History log of /llvm-project-15.0.7/clang/lib/CodeGen/CGExpr.cpp (Results 851 – 875 of 1262)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-2.8.0-rc1
# f53c0968 06-Sep-2010 Chris Lattner <[email protected]>

clean up some formatting.

llvm-svn: 113129


Revision tags: llvmorg-2.8.0-rc0
# 087206db 03-Sep-2010 Fariborz Jahanian <[email protected]>

Truncate block variable of bool type to i1 when its
value is used. This matches with non-block variable
use of bool type. (Fixes radar 8390062).

llvm-svn: 113027


# 9d798d13 03-Sep-2010 Fariborz Jahanian <[email protected]>

Cope with llvm's reference to bool type of 'i1' vs. clang's
type of 'i8' for the same for __block variables of
type bool. refixes radar 8382559.

llvm-svn: 113015


# 61a31241 01-Sep-2010 Fariborz Jahanian <[email protected]>

Fix IRGen when property-dot syntax used to access
a c++ class object 'ivar'. Fixes radar 8366604.

llvm-svn: 112729


# c134eb5a 31-Aug-2010 John McCall <[email protected]>

Amusingly, I missed this point of abstraction in all my earlier
member-pointer refactoring: dereferencing a member data pointer.

llvm-svn: 112640


# 5d865c32 31-Aug-2010 John McCall <[email protected]>

Teach IR generation to return 'this' from constructors and destructors
under the ARM ABI.

llvm-svn: 112588


# e302792b 25-Aug-2010 John McCall <[email protected]>

GCC didn't care for my attempt at API compatibility, so brute-force everything
to the new constants.

llvm-svn: 112047


# 65526f01 23-Aug-2010 Chris Lattner <[email protected]>

fix rdar://8340348, a miscompile of boost that was exposed by r109848.
That revision started classifying truly empty structs like "Y" and "X"
as being NoClass/NoClass and turning them into 'ignore'.

fix rdar://8340348, a miscompile of boost that was exposed by r109848.
That revision started classifying truly empty structs like "Y" and "X"
as being NoClass/NoClass and turning them into 'ignore'. The call code
turns around and allocates space for the ignored argument with
GetUndefRValue. The bug is that GetUndefRValue would return the address
as undef, instead of returning an object with a defined address but
undefined contents.

llvm-svn: 111794

show more ...


# 7a9aac2d 23-Aug-2010 John McCall <[email protected]>

Abstract out everything having to do with member pointers into the ABI
class; they should just be completely opaque throughout IR gen now,
although I haven't really audited that.

Fix a bug apparent

Abstract out everything having to do with member pointers into the ABI
class; they should just be completely opaque throughout IR gen now,
although I haven't really audited that.

Fix a bug apparently inherited from gcc-4.2 where we failed to null-check
member data pointers when performing derived-to-base or base-to-derived
conversions on them.

llvm-svn: 111789

show more ...


# a1dee530 22-Aug-2010 John McCall <[email protected]>

Experiment with using first-class aggregates to represent member function
pointers. I find the resulting code to be substantially cleaner, and it
makes it very easy to use the same APIs for data mem

Experiment with using first-class aggregates to represent member function
pointers. I find the resulting code to be substantially cleaner, and it
makes it very easy to use the same APIs for data member pointers (which I have
conscientiously avoided here), and it avoids a plethora of potential
inefficiencies due to excessive memory copying, but we'll have to see if it
actually works.

llvm-svn: 111776

show more ...


# 131d97d8 22-Aug-2010 John McCall <[email protected]>

Extract member function pointer comparison and null comparison into
the ABI code. Implement correct semantics for these on ARM.

I believe this completes the implementation of member function pointe

Extract member function pointer comparison and null comparison into
the ABI code. Implement correct semantics for these on ARM.

I believe this completes the implementation of member function pointers
on ARM.

I think I'm going to switch member function pointers over to be
non-aggregates while I have all this in mind.

llvm-svn: 111774

show more ...


# 5c816378 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: Set the alignment correctly when creating LValue for a decls.
- Fixes PR5598.
- Review appreciated.

llvm-svn: 111726


# 4bb04cee 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: Move remaining LValue::Set... methods to LValue::set... (non-static) methods.

llvm-svn: 111722


# f166a523 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: Move remaining MakeAddr() calls to MakeAddrLValue().

llvm-svn: 111721


# e8b6cda1 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: The CVR qualifiers in a subobject adjustment should just come from the
field (I think).
- Doug, please check.

llvm-svn: 111720


# e50dda95 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen/LValue: Add LValue::setNonGC instead of SetObjCNonGC, for consistency with isNonGC().

llvm-svn: 111718


# 2e442a00 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: Switch more MakeAddr() users to MakeAddrLValue; this time for calls which were previously not computing the qualifier list. In most cases, I don't think it matters, but I believe this is conse

IRgen: Switch more MakeAddr() users to MakeAddrLValue; this time for calls which were previously not computing the qualifier list. In most cases, I don't think it matters, but I believe this is conservatively more correct / consistent.

llvm-svn: 111717

show more ...


# f6fb7e2b 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: Switch a bunch of trivial MakeAddr calls to use MakeAddrLValue.

llvm-svn: 111716


# b1d94a98 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: Eliminate EmitPredefinedFunctionName(), it doesn't need to be factored out.

llvm-svn: 111715


# e3b8dd43 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen/CGValue: Add alignment to LValue, and use that alignment when generating lvalue load/stores.

llvm-svn: 111710


# 0381634a 21-Aug-2010 Daniel Dunbar <[email protected]>

IRgen: Change Emit{Load,Store}OfScalar to take a required Alignment argument and
update callers as best I can.
- This is a work in progress, our alignment handling is very horrible / sketchy -- I am

IRgen: Change Emit{Load,Store}OfScalar to take a required Alignment argument and
update callers as best I can.
- This is a work in progress, our alignment handling is very horrible / sketchy -- I am just aiming for monotonic improvement.
- Serious review appreciated.

llvm-svn: 111707

show more ...


# aa94cc3f 18-Aug-2010 Chris Lattner <[email protected]>

fix typo

llvm-svn: 111334


# b1995dff 18-Aug-2010 Chris Lattner <[email protected]>

Fix PR7889 by generalizing some over specialized code. There is no
reason that this should be limited to simple lvalues.

llvm-svn: 111331


# 00d5141a 17-Aug-2010 Chris Lattner <[email protected]>

fix PR7892, a crash on valid in c++ codegen of __PRETTY_FUNCTION__

llvm-svn: 111330


# 8b2d2fe2 07-Aug-2010 Douglas Gregor <[email protected]>

Allow reference binding of a reference of Objective-C object type to
an lvalue of another, compatible Objective-C object type (e.g., a
subclass). Introduce a new initialization sequence step kind to

Allow reference binding of a reference of Objective-C object type to
an lvalue of another, compatible Objective-C object type (e.g., a
subclass). Introduce a new initialization sequence step kind to
describe this binding, along with a new cast kind. Fixes PR7741.

llvm-svn: 110513

show more ...


1...<<31323334353637383940>>...51