History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1526 – 1550 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-2.6.0
# 2c422dc9 18-Oct-2009 Daniel Dunbar <[email protected]>

Move clients to use IdentifierInfo::getNameStart() instead of getName()

llvm-svn: 84436


# 819c3ddd 14-Oct-2009 Douglas Gregor <[email protected]>

Fix a thinko that John pointed out

llvm-svn: 84142


# 3cc3cdee 14-Oct-2009 Douglas Gregor <[email protected]>

Give explicit and implicit instantiations of static data members of
class templates the proper linkage.

Daniel, please look over the CodeGenModule bits.

llvm-svn: 84140


# f33cfaf7 14-Oct-2009 Devang Patel <[email protected]>

Copy metadata associated with CI

llvm-svn: 84114


# 4f8a2e22 14-Oct-2009 Chris Lattner <[email protected]>

fix some cfstring related issues:
1) -fwritable-string does affect the non-utf16 version of cfstrings
just not the utf16 ones.
2) utf16 strings should always be marked constant, as the __TEXT seg

fix some cfstring related issues:
1) -fwritable-string does affect the non-utf16 version of cfstrings
just not the utf16 ones.
2) utf16 strings should always be marked constant, as the __TEXT segment
is readonly.
3) The name of the global doesn't matter, remove it from TargetInfo.
4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now.

This fixes rdar://7115750

llvm-svn: 84077

show more ...


# 734351d2 14-Oct-2009 Chris Lattner <[email protected]>

unbreak test/CodeGen/builtins.c, reverting Devang's change.

llvm-svn: 84075


# 3b3f0f6b 13-Oct-2009 Devang Patel <[email protected]>

Check void type before using replaceAllUsesWith().

llvm-svn: 84050


# 9f735528 13-Oct-2009 Devang Patel <[email protected]>

Remove extra white space line.

llvm-svn: 83979


# 7468489d 13-Oct-2009 Devang Patel <[email protected]>

Do not check use_empty() before invoking replaceAllUsesWith().
Let replaceAllUsesWith() adjust VHs even though there are no uses.

llvm-svn: 83978


# abd5b90e 13-Oct-2009 Benjamin Kramer <[email protected]>

Simplify pointer creation with the new Type::getInt*Ptr methods.

llvm-svn: 83964


# 2bb27f53 11-Oct-2009 Anders Carlsson <[email protected]>

Move the vtable builder to CGVtable.cpp, general cleanup.

llvm-svn: 83798


# a18ed9b1 08-Oct-2009 Anders Carlsson <[email protected]>

If a global initializer has a non-trivial constructor or destructor, we never want to defer generation of it, even if it is declared static.

With this change we're finally able to compile and run th

If a global initializer has a non-trivial constructor or destructor, we never want to defer generation of it, even if it is declared static.

With this change we're finally able to compile and run the (infamous)

#include <string>
#include <iostream>

int main(int argc, char **argv) {
std::cout << "Hello, World" << std::endl;
}

$ clang hello.cpp -lstdc++ -o hello
$ ./hello
Hello, World

llvm-svn: 83559

show more ...


# ff971e8b 07-Oct-2009 Anders Carlsson <[email protected]>

Add a MangleContext and pass it to all mangle functions. It will be used for keeping state, such as identifiers assigned to anonymous structs as well as scope encoding.

llvm-svn: 83442


# 916c0067 05-Oct-2009 Mike Stump <[email protected]>

Fix thinko and simplify.

llvm-svn: 83342


# 3472ae5b 05-Oct-2009 Mike Stump <[email protected]>

Ensure we have atleast 2-byte alignment for member functions.

llvm-svn: 83337


# c5e153c5 05-Oct-2009 Mike Stump <[email protected]>

Respect alignments better.

llvm-svn: 83328


# dde0fee8 05-Oct-2009 Benjamin Kramer <[email protected]>

Use new predicates for some type equality tests.

llvm-svn: 83303


# 4fa53427 01-Oct-2009 John McCall <[email protected]>

Anonymous namespaces, sema + codegen. A lot of semantics are still broken,
apparently because using directives aren't quite working correctly.

llvm-svn: 83184


# 649a17e8 23-Sep-2009 Anders Carlsson <[email protected]>

Handle namespace aliases.

llvm-svn: 82644


# b879c3c1 22-Sep-2009 Daniel Dunbar <[email protected]>

Revert "Switch a few clients over to StringLiteral::getString.", this is breaking some projects, but I don't have a test case yet.

llvm-svn: 82539


# 5de27daf 22-Sep-2009 Daniel Dunbar <[email protected]>

Switch a few clients over to StringLiteral::getString.
- Switching all of them out-of-my-current-scope-of-interest, sorry.

llvm-svn: 82515


# 9dd450bb 21-Sep-2009 John McCall <[email protected]>

Change all the Type::getAsFoo() methods to specializations of Type::getAs().
Several of the existing methods were identical to their respective
specializations, and so have been removed entirely. Se

Change all the Type::getAsFoo() methods to specializations of Type::getAs().
Several of the existing methods were identical to their respective
specializations, and so have been removed entirely. Several more 'leaf'
optimizations were introduced.

The getAsFoo() methods which imposed extra conditions, like
getAsObjCInterfacePointerType(), have been left in place.

llvm-svn: 82501

show more ...


# ff0553ec 14-Sep-2009 Daniel Dunbar <[email protected]>

Fix subtle bug in generating LLVM function declarations for builtin functions.

The decl wasn't being passed down, which meant that function attributes were not
being set correctly. This is particula

Fix subtle bug in generating LLVM function declarations for builtin functions.

The decl wasn't being passed down, which meant that function attributes were not
being set correctly. This is particularly important for ARM, since it wants to
override the calling convention. Instead we would emit the builtin with the
wrong calling convention, and instcombine would come along and merrily shred all
the calls to it. :)

llvm-svn: 81756

show more ...


# 299d76e9 13-Sep-2009 Douglas Gregor <[email protected]>

Rework the way we determine whether an externally visible symbol is
generated for an inline function definition, taking into account C99
and GNU inline/extern inline semantics. This solution is simpl

Rework the way we determine whether an externally visible symbol is
generated for an inline function definition, taking into account C99
and GNU inline/extern inline semantics. This solution is simpler,
cleaner, and fixes PR4536.

llvm-svn: 81670

show more ...


# 0ef3479c 12-Sep-2009 Daniel Dunbar <[email protected]>

Change CodeGenModule::ConstructTypeAttributes to return the calling convention
to use, and allow the ABI implementation to override the calling convention.

llvm-svn: 81593


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