History log of /llvm-project-15.0.7/clang/lib/CodeGen/CGExprAgg.cpp (Results 376 – 400 of 476)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c23c7e6a 29-Jul-2009 Ted Kremenek <[email protected]>

Change uses of:
Type::getAsReferenceType() -> Type::getAs<ReferenceType>()
Type::getAsRecordType() -> Type::getAs<RecordType>()
Type::getAsPointerType() -> Type::getAs<PointerType>()
Type::ge

Change uses of:
Type::getAsReferenceType() -> Type::getAs<ReferenceType>()
Type::getAsRecordType() -> Type::getAs<RecordType>()
Type::getAsPointerType() -> Type::getAs<PointerType>()
Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>()
Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>()
Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>()
Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>()
Type::getAsReferenceType() -> Type::getAs<ReferenceType>()
Type::getAsTagType() -> Type::getAs<TagType>()

And remove Type::getAsReferenceType(), etc.

This change is similar to one I made a couple weeks ago, but that was partly
reverted pending some additional design discussion. With Doug's pending smart
pointer changes for Types, it seemed natural to take this approach.

llvm-svn: 77510

show more ...


# b7a2fe6f 24-Jul-2009 Owen Anderson <[email protected]>

Update for LLVM API change.

llvm-svn: 77012


# acedf776 22-Jul-2009 Mon P Wang <[email protected]>

Preserve address space information through member accesses, e.g.,
__attribute__((address_space(1))) struct {int arr[ 3 ]; } *p1;
... = p1->arr[2]; // load from address space 1

llvm-svn: 76

Preserve address space information through member accesses, e.g.,
__attribute__((address_space(1))) struct {int arr[ 3 ]; } *p1;
... = p1->arr[2]; // load from address space 1

llvm-svn: 76717

show more ...


# 8a286fbd 17-Jul-2009 Ted Kremenek <[email protected]>

Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methods
until Doug Gregor's Type smart pointer code lands (or more discussion occurs).
These methods just call the new Type::ge

Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methods
until Doug Gregor's Type smart pointer code lands (or more discussion occurs).
These methods just call the new Type::getAs<XXX> methods, so we still have
reduced implementation redundancy. Having explicit getAsXXXType() methods makes
it easier to set breakpoints in the debugger.

llvm-svn: 76193

show more ...


# b825c0dd 17-Jul-2009 Ted Kremenek <[email protected]>

Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents.

Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents.

llvm-svn: 76139

show more ...


# 170229f6 14-Jul-2009 Owen Anderson <[email protected]>

Update for LLVM API change, and contextify a bunch of related stuff.

llvm-svn: 75705


# ae86c19e 13-Jul-2009 Owen Anderson <[email protected]>

Update for LLVM API change.

llvm-svn: 75446


# 5b2095ce 08-Jul-2009 Anders Carlsson <[email protected]>

Implement code generation of ChooseExpr for aggregate types.

llvm-svn: 75021


# 5f21d2f6 08-Jul-2009 Fariborz Jahanian <[email protected]>

Implemented memmove_collectable API for Next runtime
when struct variables with GC'able members are copied into.
Will provide a test case later.

llvm-svn: 74984


# cfbfe78e 30-Jun-2009 Argyrios Kyrtzidis <[email protected]>

De-ASTContext-ify DeclContext.

Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating".
Timings using

De-ASTContext-ify DeclContext.

Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating".
Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit.

llvm-svn: 74506

show more ...


# 43c52cdc 04-Jun-2009 Anders Carlsson <[email protected]>

Use PushConditionalTempDestruction/PopConditionalTempDestruction for the ternary operator.

llvm-svn: 72842


# dd274848 03-Jun-2009 Eli Friedman <[email protected]>

PR4316: Fix IRGen for cast-to-union extension.

llvm-svn: 72803


# 8eb93e72 31-May-2009 Anders Carlsson <[email protected]>

Emit destructors correctly for temporaries.

llvm-svn: 72655


# fd2af0cf 30-May-2009 Anders Carlsson <[email protected]>

Add lvalue irgen support for CXXBindTemporaryExpr.

llvm-svn: 72649


# 3be22e27 30-May-2009 Anders Carlsson <[email protected]>

More temporary support.

llvm-svn: 72648


# 4b2434da 30-May-2009 Anders Carlsson <[email protected]>

Remove VarDecl from CXXConstructExpr.

llvm-svn: 72633


# df0fe27b 29-May-2009 Mike Stump <[email protected]>

Fixup the rest of the trivial cases of the codegen of volatile. If
any body can spot codegen bugs with volatile, or knows of any in the
bug database, let me know.

llvm-svn: 72572


# 2a69547f 28-May-2009 Eli Friedman <[email protected]>

PR4281: Fix bogus CodeGen assertion. The issue is that
getUnqualifiedType() doesn't strip off all qualifiers for non-canonical
types.

llvm-svn: 72552


# 7c1baf46 27-May-2009 Fariborz Jahanian <[email protected]>

No write-barrier for initializations.

llvm-svn: 72492


# ddcbfe7b 27-May-2009 Anders Carlsson <[email protected]>

IRgen support for calls to functions that return references to aggregate exressions.

llvm-svn: 72479


# 3e97f3b3 27-May-2009 Mike Stump <[email protected]>

Fix typo. I also fixed the hard to read case differences, so that no
one else is tempted to copy the style, incorrectly.

llvm-svn: 72448


# ec3cbfe8 26-May-2009 Mike Stump <[email protected]>

Fixup codegen for volatile structs in the trivial cases (a a=a and a=a=a).

llvm-svn: 72439


# 25306cac 26-May-2009 Mike Stump <[email protected]>

Esnure that if we have a volatile structure as the destination, that
we actually have a destination.

llvm-svn: 72429


# b9f25186 23-May-2009 Mike Stump <[email protected]>

Propagate volatile for implicit property refernces.

llvm-svn: 72353


# 9afc476d 23-May-2009 Mike Stump <[email protected]>

Propagate volatile around for property references.

llvm-svn: 72352


1...<<11121314151617181920