History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1651 – 1675 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 02e987f3 14-Apr-2009 Chris Lattner <[email protected]>

implement codegen support for __attribute((__gnuc_inline__)),
pulling some attribute munging stuff into GetLinkageForFunction.

This should fix PR3986

llvm-svn: 69045


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

Refactor how attributes are set on values.
- Pull out SetCommonAttributes, which handles the things common to
aliases, methods, functions, and variables.

- Pull out SetLLVMFunctionAttributesFor

Refactor how attributes are set on values.
- Pull out SetCommonAttributes, which handles the things common to
aliases, methods, functions, and variables.

- Pull out SetLLVMFunctionAttributesForDefinition, which handles the
LLVM attributes which we only want to apply to a definition (like
noinline and alwaysinline).

- Kill SetGVDeclarationAttributes (inlined into SetFunctionAttributes
and specialized).

- Kill SetFunctionAttributesForDefinition (inlined into sole caller).

- Inline SetGVDefinitionAttributes into SetMethodAttributes and
specialize.

- Rename SetGVDefinitionAttributes to SetFunctionDefinitionAttributes.

This is supposed to be a no functionality change commit, but I may
have made a mistake.

llvm-svn: 69036

show more ...


# 81a3f1bd 14-Apr-2009 Daniel Dunbar <[email protected]>

Split SetGlobalValueAttributes into definition/declaration halves.
- No functionality change.

llvm-svn: 69035


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

Rename (one) SetFunctionAttributes to SetLLVMFunctionAttributes to
disambiguate it.
- No functionality change.

llvm-svn: 69034


# 64a41cb3 14-Apr-2009 Daniel Dunbar <[email protected]>

Reduce indentation, no functionality change.

llvm-svn: 69033


# 92028dad 14-Apr-2009 Chris Lattner <[email protected]>

defer emission of always_inline, extern_inline, and inline functions (when
not in c89 mode).

llvm-svn: 69032


# 169a5c96 14-Apr-2009 Chris Lattner <[email protected]>

give always_inline functions internal linkage. If they cannot be
inlined for some reason, then we don't want a strong or even weak
definition.

llvm-svn: 69031


# 256c9507 14-Apr-2009 Chris Lattner <[email protected]>

set the linkage of an inline function according to its language rules.

llvm-svn: 69030


# 29eff88f 14-Apr-2009 Daniel Dunbar <[email protected]>

Add a comment on SetGlobalValueAttributes.

llvm-svn: 69029


# 3e031f41 14-Apr-2009 Chris Lattner <[email protected]>

add a new enum type for linkage, no functionality change.

llvm-svn: 69028


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

Clean up handling of visibility.

llvm-svn: 69027


# 73920ce5 14-Apr-2009 Chris Lattner <[email protected]>

reduce indentation, no functionality change.

llvm-svn: 69026


# 6a0f907a 14-Apr-2009 Chris Lattner <[email protected]>

do not set visibility on "private" or "available externally" linkage objects.

llvm-svn: 69025


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

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

llvm-svn: 68987


# fb46e865 13-Apr-2009 Steve Naroff <[email protected]>

Move/update recent FIXME (wrt UTF-8 checking for ObjC @-strings).

llvm-svn: 68982


# 84073ec5 13-Apr-2009 Steve Naroff <[email protected]>

Fixed crasher in <rdar://problem/6780904> [irgen] Assertion failed: (Result == conversionOK && "UTF-8 to UTF-16 conversion failed"), function GetAddrOfConstantCFString, file CodeGenModule.cpp, line 1

Fixed crasher in <rdar://problem/6780904> [irgen] Assertion failed: (Result == conversionOK && "UTF-8 to UTF-16 conversion failed"), function GetAddrOfConstantCFString, file CodeGenModule.cpp, line 1063.

Still a diagnostic related FIXME (will discuss with Daniel/Fariborz offline).

llvm-svn: 68975

show more ...


# d272cca5 10-Apr-2009 Daniel Dunbar <[email protected]>

Internal variables could mistakenly have "hidden" visibility when
their emission was deferred.
- <rdar://problem/6775234> variables with internal linkage should not
be exposed with -fvisibility=h

Internal variables could mistakenly have "hidden" visibility when
their emission was deferred.
- <rdar://problem/6775234> variables with internal linkage should not
be exposed with -fvisibility=hidden.

llvm-svn: 68818

show more ...


# 5286e774 10-Apr-2009 Chris Lattner <[email protected]>

reject codegen of __thread variables as unimplemented, rdar://6775265

llvm-svn: 68755


# bcced4ec 09-Apr-2009 Douglas Gregor <[email protected]>

Propagate the ASTContext to various AST traversal and lookup functions.
No functionality change (really).

llvm-svn: 68726


# 80f97ab0 08-Apr-2009 Anders Carlsson <[email protected]>

Add a destination type argument to EmitConstantExpr. This will be used for when the destination has a reference type. (No functionality change yet)

llvm-svn: 68593


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

Visibility attributes should only be set on definition.

llvm-svn: 68561


# 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 ...


# 468fa636 04-Apr-2009 Anders Carlsson <[email protected]>

Add some basic support for generating C++ member functions.

llvm-svn: 68425


# c847824e 04-Apr-2009 Anton Korobeynikov <[email protected]>

Basic support for regparm codegen

llvm-svn: 68414


# 55a71983 03-Apr-2009 Steve Naroff <[email protected]>

Add a comment/FIXME so Eli can sleep better:-))

llvm-svn: 68379


1...<<61626364656667686970>>...75