History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1601 – 1625 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ae86c19e 13-Jul-2009 Owen Anderson <[email protected]>

Update for LLVM API change.

llvm-svn: 75446


# c10c8d3e 08-Jul-2009 Owen Anderson <[email protected]>

Update for LLVM API change.

llvm-svn: 75028


# 9f211fb4 08-Jul-2009 Owen Anderson <[email protected]>

Update for LLVM API change.

llvm-svn: 74986


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


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

Remove the ASTContext parameter from the getBody() methods of Decl and subclasses.

Timings showed no significant difference before and after the commit.

llvm-svn: 74504


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

Remove the ASTContext parameter from the attribute-related methods of Decl.
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.

This commit touches a lot of fil

Remove the ASTContext parameter from the attribute-related methods of Decl.
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.

This commit touches a lot of files since call sites for these methods are everywhere.
I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it.

llvm-svn: 74501

show more ...


# e8925dbc 29-Jun-2009 Douglas Gregor <[email protected]>

Improve code generation for function template specializations:
- Track implicit instantiations vs. the not-yet-supported explicit
specializations
- Give implicit instantiations of function temp

Improve code generation for function template specializations:
- Track implicit instantiations vs. the not-yet-supported explicit
specializations
- Give implicit instantiations of function templates (and member
functions of class templates) linkonce_odr linkage.
- Improve name mangling for function template specializations,
including the template arguments of the instantiation and the return
type of the function.

Note that our name-mangling is improved, but not correct: we still
don't mangle substitutions, although the manglings we produce can be
demangled.

llvm-svn: 74466

show more ...


# 8f5d4423 29-Jun-2009 Douglas Gregor <[email protected]>

Keep track of function template specializations, to eliminate
redundant, implicit instantiations of function templates and provide a
place where we can hang function template specializations.

llvm-s

Keep track of function template specializations, to eliminate
redundant, implicit instantiations of function templates and provide a
place where we can hang function template specializations.

llvm-svn: 74454

show more ...


# 70d83e27 29-Jun-2009 Douglas Gregor <[email protected]>

Move FunctionDecl::TemplateSpecializationInfo out into its own class,
FunctionTemplateSpecializationInfo, in DeclTemplate.h. No functionality change.

llvm-svn: 74431


# 248c719a 23-Jun-2009 Fariborz Jahanian <[email protected]>

Patch fixes an obscure bug when 'used' attribute is applied to
variables in ObjC's Next runtime mode. Next runtime also implicitly applies
'used' attribute on some of its meta-data. This results in t

Patch fixes an obscure bug when 'used' attribute is applied to
variables in ObjC's Next runtime mode. Next runtime also implicitly applies
'used' attribute on some of its meta-data. This results in two
'llvm.used' arrays to be generated, and one of them is renamed to
'llvm.used1'.

llvm-svn: 74008

show more ...


# fec52635 20-Jun-2009 Douglas Gregor <[email protected]>

Parsing and AST support for using declarations, from John Thompson!

llvm-svn: 73812


# 78bd61f6 18-Jun-2009 Douglas Gregor <[email protected]>

Move the static DeclAttrs map into ASTContext. Fixes <rdar://problem/6983177>.

llvm-svn: 73702


# c4b766bc 17-Jun-2009 Argyrios Kyrtzidis <[email protected]>

Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine.

llvm-svn: 73651


# 15ba9498 14-Jun-2009 Chris Lattner <[email protected]>

Sink the BuiltinInfo object from ASTContext into the
preprocessor and initialize it early in clang-cc. This
ensures that __has_builtin works in all modes, not just
when ASTContext is around.

llvm-s

Sink the BuiltinInfo object from ASTContext into the
preprocessor and initialize it early in clang-cc. This
ensures that __has_builtin works in all modes, not just
when ASTContext is around.

llvm-svn: 73319

show more ...


# ecd79c63 14-Jun-2009 Chris Lattner <[email protected]>

move GetBuiltinType from Builtin::Context to ASTContext.

llvm-svn: 73316


# 8783543a 11-Jun-2009 Anders Carlsson <[email protected]>

Don't assert when generating code with static_asserts.

llvm-svn: 73208


# feeeda70 05-Jun-2009 Daniel Dunbar <[email protected]>

weak_import should not make definitions have weak linkage.
- <rdar://problem/6948703> clang treats weak_import like weak

llvm-svn: 72967


# 0261e5c9 04-Jun-2009 Chris Lattner <[email protected]>

Make ReplaceUsesOfNonProtoTypeWithRealFunction verify that a call is *to* the
function of interest, not an operand of it.

llvm-svn: 72869


# 0a63741a 29-May-2009 Anders Carlsson <[email protected]>

Add code for emitting C++ destructors. Not used yet.

llvm-svn: 72591


# 895771aa 26-May-2009 Eli Friedman <[email protected]>

Handle the edge case of a weak function with incomplete type correctly.
Found by code inspection; I haven't seen this in real-world code.

llvm-svn: 72408


# d3a69cea 16-May-2009 Anders Carlsson <[email protected]>

extern "C" should preserve the 'extern' qualifier for VarDecls. Fixes 6853728.

llvm-svn: 71957


# 18bb9284 16-May-2009 Mike Stump <[email protected]>

Reflow some comments.

llvm-svn: 71937


# 37604a09 15-May-2009 Anders Carlsson <[email protected]>

A C++ member function always has either weak linkage (if it's inline or defined inline) or strong linkage (other cases).

llvm-svn: 71873


# e0be0dfc 12-May-2009 Chris Lattner <[email protected]>

push GlobalDecl through enough of the CodeGenModule interfaces
to allow us to support generation of deferred ctors/dtors.
It looks like codegen isn't emitting a call to the dtor in
member-functions.

push GlobalDecl through enough of the CodeGenModule interfaces
to allow us to support generation of deferred ctors/dtors.
It looks like codegen isn't emitting a call to the dtor in
member-functions.cpp:test2, but when it does, its body should
get emitted.

llvm-svn: 71594

show more ...


# d035ebda 12-May-2009 Chris Lattner <[email protected]>

add an initial stab at emitting deferred c++ inline functions. This handles static
functions and methods declared inline, but not ctors/dtors or methods not declared
inline (apparently my previous p

add an initial stab at emitting deferred c++ inline functions. This handles static
functions and methods declared inline, but not ctors/dtors or methods not declared
inline (apparently my previous patch wasn't good enough).

llvm-svn: 71591

show more ...


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