History log of /llvm-project-15.0.7/clang/lib/CodeGen/CGExpr.cpp (Results 1126 – 1150 of 1262)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 41595d43 18-Apr-2009 Daniel Dunbar <[email protected]>

Use getAsPointerType instead of using getCanonicalType directly.
- <rdar://problem/6803995>

llvm-svn: 69435


# c4688d21 17-Apr-2009 Chris Lattner <[email protected]>

tidy some code.

llvm-svn: 69360


# b7f8f594 17-Apr-2009 Anders Carlsson <[email protected]>

Implement basic code generation of constructor calls. We can now compile:

struct S {
S(int, int);
};

void f() {
S s(10, 10);
}

llvm-svn: 69330


# d73e4419 14-Apr-2009 Mike Stump <[email protected]>

Fixup whitespacing.

llvm-svn: 69055


# 4c0dc0e4 14-Apr-2009 Mike Stump <[email protected]>

Use hasAttr instead of getAttr for conditionals.

llvm-svn: 69021


# 0ca16601 14-Apr-2009 Daniel Dunbar <[email protected]>

Audit __private_extern__ handling.
- Exposed quite a few Sema issues and a CodeGen crash.

- See FIXMEs in test case, and in SemaDecl.cpp (PR3983).

I'm skeptical that __private_extern__ should act

Audit __private_extern__ handling.
- Exposed quite a few Sema issues and a CodeGen crash.

- See FIXMEs in test case, and in SemaDecl.cpp (PR3983).

I'm skeptical that __private_extern__ should actually be a storage
class value. I think that __private_extern__ basically amounts to
extern A __attribute__((visibility("hidden")))
and would be better off handled (a) as that, or (b) with an extra bit
in the VarDecl.

llvm-svn: 69020

show more ...


# ca5ae661 14-Apr-2009 Mike Stump <[email protected]>

Fixup CodeGen for __weak __block variables. Radar 6756266

llvm-svn: 69010


# 4184ac84 13-Apr-2009 Daniel Dunbar <[email protected]>

Update to use hasAttr() instead of getAttr().
- No functionality change.

llvm-svn: 68987


# 479e6fc7 08-Apr-2009 Anders Carlsson <[email protected]>

Use the new EmitCallArgs function. No indented functionality change.

llvm-svn: 68652


# 562d68e8 08-Apr-2009 Sanjiv Gupta <[email protected]>

Pointer width on targets like PIC16 is 16-bit, while the valid index size to GEP is only 32 or 64. So promote index to 32 in such cases.

llvm-svn: 68590


# d8db8532 07-Apr-2009 Anders Carlsson <[email protected]>

Remove some dead code.

llvm-svn: 68532


# 15894b79 07-Apr-2009 Daniel Dunbar <[email protected]>

Various fixes to symbols used for Obj-C x86_64 metadata.
- Changed method names to match gcc (categories names still aren't
mangled in).

- Expose correct name for class and metadata symbols (al

Various fixes to symbols used for Obj-C x86_64 metadata.
- Changed method names to match gcc (categories names still aren't
mangled in).

- Expose correct name for class and metadata symbols (although
-fvisibility=hidden isn't yet correct).

- Remove several things from llvm.used that didn't need to be there
(I suspect this can still be trimmed).

- Don't use asm-prefix extension for _objc_empty_{cache,vtable} (not
needed).

- Hide EH type class info with -fvisibility=hidden

- Change setGlobal[Option]Visibility to not change the visibility of
functions with internal linkage.

llvm-svn: 68510

show more ...


# e5fd6f22 03-Apr-2009 Anders Carlsson <[email protected]>

Add support for calling C++ member functions.

llvm-svn: 68412


# bf1fe8c3 24-Mar-2009 Daniel Dunbar <[email protected]>

Support member reference on ?: of struct type.

llvm-svn: 67603


# 47640221 22-Mar-2009 Chris Lattner <[email protected]>

fix CreateTempAlloca to not set a name on the alloca for temporaries
in release-assert builds. For automatic variables, explicitly set
a name with setName that does not make a temporary std::string.

fix CreateTempAlloca to not set a name on the alloca for temporaries
in release-assert builds. For automatic variables, explicitly set
a name with setName that does not make a temporary std::string.

This speeds up -emit-llvm-only -disable-free on PR3810 by 4.6%

llvm-svn: 67459

show more ...


# 0c5e3132 21-Mar-2009 Chris Lattner <[email protected]>

simplify and comment some code better. Make BindRuntimeGlobals
more optimistic that it will work (optimizing for the common case).

llvm-svn: 67438


# ab17fb2c 18-Mar-2009 Chris Lattner <[email protected]>

fix the more complex cases by actually codegen'ing the right expr :)

llvm-svn: 67219


# 28bcf1a4 18-Mar-2009 Chris Lattner <[email protected]>

add codegen support for casting an element to a union.
There are some more complex cases (_Complex and structs)
that I'm still working on.

llvm-svn: 67218


# 63d06ab6 18-Mar-2009 Chris Lattner <[email protected]>

teach codegen to handle noop casts as lvalues.

llvm-svn: 67164


# e0a5b8b1 04-Mar-2009 Eli Friedman <[email protected]>

Minor cleanup for choose expressions: add a helper that returns the
chosen sub-expression, rather than just evaluating the condition.

llvm-svn: 66018


# 97d01d50 04-Mar-2009 Mike Stump <[email protected]>

Improved ABI compliance for __block variables. No testcases yet as we
still give an unsupported error for them due to the fact this is a
work in progress.

llvm-svn: 66007


Revision tags: llvmorg-2.5.0
# 0e425b82 02-Mar-2009 Mike Stump <[email protected]>

Push checking down, also, give the user a hit as to which part of the
block literal is causing the problem, instead of the vague reference
to the entire block literal.

llvm-svn: 65798


# 1db7d04b 28-Feb-2009 Mike Stump <[email protected]>

First cut CodeGen support for __block variables.

llvm-svn: 65688


# d7e7b8e4 24-Feb-2009 Chris Lattner <[email protected]>

first wave of fixes for @encode sema support. This is part of PR3648.

The big difference here is that (like string literal) @encode has
array type, not pointer type.

llvm-svn: 65391


# 392124c7 23-Feb-2009 Fariborz Jahanian <[email protected]>

We should not generate __weak write barrier on indirect reference
of a pointer to object; This patch does this odd behavior according to
gcc.

llvm-svn: 65334


1...<<4142434445464748495051