History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1476 – 1500 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5ca7984b 01-Feb-2010 Sebastian Redl <[email protected]>

In C++, an initializer on a variable doesn't necessarily mean it's the definition. With that in mind, rename getDefinition to getAnyInitializer (to distinguish it from getInit) and reimplement it in

In C++, an initializer on a variable doesn't necessarily mean it's the definition. With that in mind, rename getDefinition to getAnyInitializer (to distinguish it from getInit) and reimplement it in terms of isThisDeclarationADefinition. Update all code to use this new function.

llvm-svn: 94999

show more ...


# 160146eb 27-Jan-2010 Ken Dyck <[email protected]>

Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and,
now that the "InBytes" part of the name is implied by the return type, rename
it to getDeclAlign().

llvm-svn: 94681


# a0f99ff2 26-Jan-2010 Ken Dyck <[email protected]>

Use CharUnits for alignment of UTF16 string in GetAddrOfConstantCFString().

llvm-svn: 94564


# ca4a5459 26-Jan-2010 Anders Carlsson <[email protected]>

Use the right definition when emitting a global variable. Fixes PR5564.

llvm-svn: 94555


# 98ca7943 26-Jan-2010 Ken Dyck <[email protected]>

Introduce CodeGenModule::GetTargetTypeStoreSize() to calculate the store size
of LLVM types in character units.

llvm-svn: 94542


# d6b21e48 26-Jan-2010 Anders Carlsson <[email protected]>

If a global variable has an initializer with side effects, it can never be deferred (even if it's in an anonymous namespace).

llvm-svn: 94525


# 481e3a87 23-Jan-2010 David Chisnall <[email protected]>

Created __builtin___NSStringMakeConstantString() builtin, which generates constant Objective-C strings.

llvm-svn: 94274


# 55bcea1e 10-Jan-2010 Anton Korobeynikov <[email protected]>

Generalize target weirdness handling having proper layering in mind:
1. Add helper class for sema checks for target attributes
2. Add helper class for codegen of target attributes

As a proof-of-co

Generalize target weirdness handling having proper layering in mind:
1. Add helper class for sema checks for target attributes
2. Add helper class for codegen of target attributes

As a proof-of-concept - implement msp430's 'interrupt' attribute.

llvm-svn: 93118

show more ...


# 34c72dd6 09-Jan-2010 Chris Lattner <[email protected]>

revert r92749, which is just dead code.

llvm-svn: 93074


# 5866fe30 08-Jan-2010 Eli Friedman <[email protected]>

Fix for PR5967: Make const-marking for LLVM globals correct for cases requiring
run-time initialization, and emit run-time initializers aggresively to avoid
ordering issues with deferred globals.

ll

Fix for PR5967: Make const-marking for LLVM globals correct for cases requiring
run-time initialization, and emit run-time initializers aggresively to avoid
ordering issues with deferred globals.

llvm-svn: 92976

show more ...


# 2a34df32 06-Jan-2010 Douglas Gregor <[email protected]>

Fix linkage for RTTI names by re-using the logic for computing the
linkage of vtables. Before this, we were emitting RTTI names for
template instantiations with strong external linkage rather than wi

Fix linkage for RTTI names by re-using the logic for computing the
linkage of vtables. Before this, we were emitting RTTI names for
template instantiations with strong external linkage rather than with
weak ODR linkage.

llvm-svn: 92857

show more ...


# ccecc1bb 06-Jan-2010 Douglas Gregor <[email protected]>

Fix marking of virtual members for nested classes whose first non-pure virtual function has a body inlined in the class

llvm-svn: 92855


# a318efd1 05-Jan-2010 Douglas Gregor <[email protected]>

Improve key-function computation for templates. In particular:
- All classes can have a key function; templates don't change that.
non-template classes when computing the key function.
- We alw

Improve key-function computation for templates. In particular:
- All classes can have a key function; templates don't change that.
non-template classes when computing the key function.
- We always mark all of the virtual member functions of class
template instantiations.
- The vtable for an instantiation of a class template has weak
linkage.

We could probably use available_externally linkage for vtables of
classes instantiated by explicit instantiation declarations (extern
templates), but GCC doesn't do this and I'm not 100% that the ABI
permits it.

llvm-svn: 92753

show more ...


# 79ed590c 05-Jan-2010 Mike Stump <[email protected]>

Add code to skip the emission of available externally functions at -O0. WIP.

llvm-svn: 92749


# 3f8e5dd8 29-Dec-2009 Chris Lattner <[email protected]>

strength reduce this call away.

llvm-svn: 92253


# 5e124bf9 28-Dec-2009 Chris Lattner <[email protected]>

this form of SetDebugLocation is about to go away, add some #includes that
are about to not come in implicitly.

llvm-svn: 92228


# 2e06e8bb 25-Dec-2009 Eli Friedman <[email protected]>

Some small improvements to dead code elimination; helps a bit on
LLVM-Code-Symbols test.

llvm-svn: 92152


# 1615d45d 12-Dec-2009 Jeffrey Yasskin <[email protected]>

Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave
no extra safety anyway.

llvm-svn: 91207


# b095e15a 11-Dec-2009 Eli Friedman <[email protected]>

Fix for PR5714: make sure globals that will be modified aren't marked const.

llvm-svn: 91156


# b11118bd 11-Dec-2009 Benjamin Kramer <[email protected]>

Random string-related cleanups.

llvm-svn: 91119


# 781161dc 10-Dec-2009 Anders Carlsson <[email protected]>

Make sure that explicitly instantiated functions get the right linkage.

llvm-svn: 91069


# 4f678f3d 09-Dec-2009 Eli Friedman <[email protected]>

Fix for PR5709: use the computed type of the declaration instead of the
type of the builtin when generating the function declaration for a builtin
library call.

llvm-svn: 90936


# f2c79b6b 08-Dec-2009 Eli Friedman <[email protected]>

Misc key function fixes.

llvm-svn: 90831


# 31bc3ad2 07-Dec-2009 Eli Friedman <[email protected]>

A bunch more thunk fixes from misc testing.

(Yes, I do intend to commit some tests for this.)

llvm-svn: 90818


# 8174f2c2 06-Dec-2009 Eli Friedman <[email protected]>

Work-in-progess rewrite of thunks: move thunk generation outside of vtable
generation, and make sure we generate thunks when the function is defined
rather than when the vtable is defined.

llvm-svn:

Work-in-progess rewrite of thunks: move thunk generation outside of vtable
generation, and make sure we generate thunks when the function is defined
rather than when the vtable is defined.

llvm-svn: 90722

show more ...


1...<<51525354555657585960>>...75