History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1751 – 1775 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9319db8a 13-Feb-2009 Mike Stump <[email protected]>

Move GlobalUniqueCount up into CGM.

llvm-svn: 64473


# 005c9a62 13-Feb-2009 Mike Stump <[email protected]>

Move GenericBlockLiteralType into CGM.

llvm-svn: 64452


# 650c932d 13-Feb-2009 Mike Stump <[email protected]>

Move BlockDescriptorType into CGM.

llvm-svn: 64451


# 5fec5b04 13-Feb-2009 Douglas Gregor <[email protected]>

Add basic support for C++ name mangling according to the Itanium C++
ABI to the CodeGen library. Since C++ code-generation is so
incomplete, we can't exercise much of this mangling code. However, a
f

Add basic support for C++ name mangling according to the Itanium C++
ABI to the CodeGen library. Since C++ code-generation is so
incomplete, we can't exercise much of this mangling code. However, a
few smoke tests show that it's doing the same thing as GCC. When C++
codegen matures, we'll extend the ABI tester to verify name-mangling
as well, and complete the implementation here.

At this point, the major client of name mangling is in the uses of the
new "overloadable" attribute in C, which allows overloading. Any
"overloadable" function in C (or in an extern "C" block in C++) will
be mangled the same way that the corresponding C++ function would be
mangled.

llvm-svn: 64413

show more ...


# 6a60fa24 12-Feb-2009 Anders Carlsson <[email protected]>

Add a very basic implemenation of global blocks. This needs to be cleaned up.

llvm-svn: 64387


# 648bf783 12-Feb-2009 Daniel Dunbar <[email protected]>

Support __attribute__(section(<name>))

llvm-svn: 64380


# fe2fb0af 06-Feb-2009 Daniel Dunbar <[email protected]>

Use 'compile' instead of 'codegen' when reporting error to user.

llvm-svn: 63952


# 1e8052b3 04-Feb-2009 Daniel Dunbar <[email protected]>

Add -femit-all-decls codegen option.
- Emits all declarations, even unused (static) ones.
- Useful when doing minimization of codegen problems (otherwise
problems localized to a static function

Add -femit-all-decls codegen option.
- Emits all declarations, even unused (static) ones.
- Useful when doing minimization of codegen problems (otherwise
problems localized to a static function aren't minimized well).

llvm-svn: 63776

show more ...


# bf8c24ad 02-Feb-2009 Daniel Dunbar <[email protected]>

Thread CGFunctionInfo construction through CodeGenTypes.
- Inefficient & leaks memory currently, will be cleaned up subsequently.

llvm-svn: 63567


# d931a87f 02-Feb-2009 Daniel Dunbar <[email protected]>

More ABI API cleanup.
- Lift CGFunctionInfo creation above ReturnTypeUsesSret and
EmitFunction{Epi,Pro}log.

llvm-svn: 63553


# 3cd20632 31-Jan-2009 Daniel Dunbar <[email protected]>

Kill off CGCallInfo, always use CGFunctionInfo for encapsulating
function/call info.

llvm-svn: 63466


# b15a3d59 22-Jan-2009 Fariborz Jahanian <[email protected]>

Use NonFragileABI as name of new Next abi. More comments
for the new meta-data.

llvm-svn: 62806


# 279eda62 21-Jan-2009 Fariborz Jahanian <[email protected]>

Refactoring ObjC Next's runtime classes in preparation for
the new ObjC's abi.

llvm-svn: 62721


# 8a42586c 16-Jan-2009 Chris Lattner <[email protected]>

more SourceLocation lexicon change: instead of referring to the
"logical" location, refer to the "instantiation" location.

llvm-svn: 62316


# dec798bf 13-Jan-2009 Daniel Dunbar <[email protected]>

Bug fix, __private_extern__ globals were always introducing a definition.

llvm-svn: 62139


# 17290c36 08-Jan-2009 Fariborz Jahanian <[email protected]>

Objc's compatibility-alias semantics and code
gen issue fix.

llvm-svn: 61901


# 1654ef01 05-Jan-2009 Sebastian Redl <[email protected]>

Silence a GCC warning

llvm-svn: 61747


# 762e1622 04-Jan-2009 Anders Carlsson <[email protected]>

Fix the bug that would cause Python to crash at startup.

When emitting the static variables we need to make sure that the order is preserved.
Fix this by making StaticDecls a std::list which has O(

Fix the bug that would cause Python to crash at startup.

When emitting the static variables we need to make sure that the order is preserved.
Fix this by making StaticDecls a std::list which has O(1) random removal.

llvm-svn: 61621

show more ...


# d72f47aa 26-Dec-2008 Anton Korobeynikov <[email protected]>

Add full dllimport / dllexport support: both sema checks and codegen.
Patch by Ilya Okonsky

llvm-svn: 61437


# 91f84216 11-Dec-2008 Douglas Gregor <[email protected]>

Unifies the name-lookup mechanisms used in various parts of the AST
and separates lexical name lookup from qualified name lookup. In
particular:
* Make DeclContext the central data structure for st

Unifies the name-lookup mechanisms used in various parts of the AST
and separates lexical name lookup from qualified name lookup. In
particular:
* Make DeclContext the central data structure for storing and
looking up declarations within existing declarations, e.g., members
of structs/unions/classes, enumerators in C++0x enums, members of
C++ namespaces, and (later) members of Objective-C
interfaces/implementations. DeclContext uses a lazily-constructed
data structure optimized for fast lookup (array for small contexts,
hash table for larger contexts).

* Implement C++ qualified name lookup in terms of lookup into
DeclContext.

* Implement C++ unqualified name lookup in terms of
qualified+unqualified name lookup (since unqualified lookup is not
purely lexical in C++!)

* Limit the use of the chains of declarations stored in
IdentifierInfo to those names declared lexically.

* Eliminate CXXFieldDecl, collapsing its behavior into
FieldDecl. (FieldDecl is now a ScopedDecl).

* Make RecordDecl into a DeclContext and eliminates its
Members/NumMembers fields (since one can just iterate through the
DeclContext to get the fields).

llvm-svn: 60878

show more ...


# 3d8552a7 09-Dec-2008 Fariborz Jahanian <[email protected]>

Support for implementation of property in the case where
the synthesis is in an implementation of s subclass of
a super class where the property has been declared.

llvm-svn: 60792


# 2e41b0e6 09-Dec-2008 Chris Lattner <[email protected]>

Fix a serious null termination bug found by David Chisnall!

llvm-svn: 60778


# 6a113d9d 03-Dec-2008 Anders Carlsson <[email protected]>

If a global var decl has an initializer, make sure to always set its linkage to external.

llvm-svn: 60462


# f3d3faec 24-Nov-2008 Chris Lattner <[email protected]>

Rename NamedDecl::getName() to getNameAsString(). Replace a bunch of
uses of getName() with uses of getDeclName(). This upgrades a bunch of
diags to take DeclNames instead of std::strings.

This a

Rename NamedDecl::getName() to getNameAsString(). Replace a bunch of
uses of getName() with uses of getDeclName(). This upgrades a bunch of
diags to take DeclNames instead of std::strings.

This also tweaks a couple of diagnostics to be cleaner and changes
CheckInitializerTypes/PerformInitializationByConstructor to pass
around DeclarationNames instead of std::strings.

llvm-svn: 59947

show more ...


# 0f137df0 21-Nov-2008 Chris Lattner <[email protected]>

reapply the (corrected) patch to use the new llvm intrinsics for memcpy/memmove etc.

llvm-svn: 59824


1...<<7172737475