History log of /llvm-project/clang/lib/CodeGen/CodeGenModule.cpp (Results 1976 – 2000 of 2157)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 64839089 01-Apr-2009 Chris Lattner <sabre@nondot.org>

move trivial forwarding function inline.

llvm-svn: 68176


# 237f3490 01-Apr-2009 Anders Carlsson <andersca@mac.com>

Implement code generation of namespaces and add mangling tests.

llvm-svn: 68170


# 08b216ab 31-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Add Target hooks for IRgen of [cf]string literals.
- Notably, set section on cfstring literal string data (for now, this
is done everywhere because it matches what we were already doing
for th

Add Target hooks for IRgen of [cf]string literals.
- Notably, set section on cfstring literal string data (for now, this
is done everywhere because it matches what we were already doing
for the CFString data itself)

- <rdar://problem/6599098> [irgen] linker requires objc string data
to go into cstring

llvm-svn: 68160

show more ...


# f41e87f4 31-Mar-2009 Chris Lattner <sabre@nondot.org>

Change UsedArray to be a vector of WeakVH to fix a dangling pointer problem that occurs when
attribute(used) and asm renaming are used together.

llvm-svn: 68155


# 2739d2bb 31-Mar-2009 Chris Lattner <sabre@nondot.org>

remove some obsolete comments, use an AssertingVH.

llvm-svn: 68151


# 7044b767 27-Mar-2009 Eli Friedman <eli.friedman@gmail.com>

Finish off semantic analysis for regparm, and remove the warning. Also
remove a redundant error in CodeGen.

llvm-svn: 67868


# a2d609e2 27-Mar-2009 Fariborz Jahanian <fjahanian@apple.com>

Besides the warning, issue unsupported diagnostics in
ir gen. No intended change in functionality.

llvm-svn: 67857


# 984fac5f 26-Mar-2009 Chris Lattner <sabre@nondot.org>

most of this is plumbing to get CompileOptions down into
CodeGenModule. Once there, add a new NoCommon option to
it and implement -fno-common.

llvm-svn: 67735


# e64911a4 22-Mar-2009 Chris Lattner <sabre@nondot.org>

switch getBuiltinLibFunction to use the new GetOrCreateLLVMFunction
functionality, fixing a crash on the attached testcase. Eliminate the
BuiltinFunctions cache, as it can contain dangling pointers

switch getBuiltinLibFunction to use the new GetOrCreateLLVMFunction
functionality, fixing a crash on the attached testcase. Eliminate the
BuiltinFunctions cache, as it can contain dangling pointers. This fixes
a bunch of valgrind errors on test/CodeGen/builtins.c

llvm-svn: 67484

show more ...


# 54041693 22-Mar-2009 Chris Lattner <sabre@nondot.org>

emit aliases as the definitions fly by, don't bother deferring until
the end of the module.

llvm-svn: 67482


# 827a3552 22-Mar-2009 Chris Lattner <sabre@nondot.org>

make alias definition logic more similar to functions/globals.

llvm-svn: 67481


# a5ae54ac 22-Mar-2009 Chris Lattner <sabre@nondot.org>

fix PR3200 by making alias emission use the new infrastructure. Fold
some tests into the alias.c file.

llvm-svn: 67479


# d4808924 22-Mar-2009 Chris Lattner <sabre@nondot.org>

pull "runtime globals" into the same framework as other functions/global variables.
No intended functionality change.

llvm-svn: 67478


# 75acb0c3 22-Mar-2009 Chris Lattner <sabre@nondot.org>

fix a fixme: non-proto struct returning function definitions should be compiled
to something like:
define void @bar(%struct.foo* noalias sret %agg.result) nounwind {
instead of:
define void @bar(%str

fix a fixme: non-proto struct returning function definitions should be compiled
to something like:
define void @bar(%struct.foo* noalias sret %agg.result) nounwind {
instead of:
define void @bar(%struct.foo* noalias sret %agg.result, ...) nounwind {

llvm-svn: 67475

show more ...


# 4ff71de8 22-Mar-2009 Chris Lattner <sabre@nondot.org>

set function/global names with setName instead of passing the name into the
ctor function. This avoids creating a temporary std::string for the name,
speeding up the testcase in PR3810 by 3.8%

llvm

set function/global names with setName instead of passing the name into the
ctor function. This avoids creating a temporary std::string for the name,
speeding up the testcase in PR3810 by 3.8%

llvm-svn: 67457

show more ...


# 629aed93 21-Mar-2009 Fariborz Jahanian <fjahanian@apple.com>

Issue error if variables are defined inside an objc class,
category or protocol.

llvm-svn: 67450


# 45470943 21-Mar-2009 Chris Lattner <sabre@nondot.org>

now that all the decl reference and creation stuff is going through two
very simple places, reimplement the deferred decl emission logic to not be O(N^2),
fixing PR3810.

llvm-svn: 67447


# a85d68e5 21-Mar-2009 Chris Lattner <sabre@nondot.org>

fix a crash that could occur when a variable declaration became a
function definition.

llvm-svn: 67446


# 149927c9 21-Mar-2009 Chris Lattner <sabre@nondot.org>

simplify and cleanup global variable creation stuff to all go through one
code path.

llvm-svn: 67445


# 832323ea 21-Mar-2009 Chris Lattner <sabre@nondot.org>

simplify management of llvm::Function creation to all go through
GetAddrOfFunction. This is simpler and more efficient.

llvm-svn: 67444


# 5eaee569 21-Mar-2009 Chris Lattner <sabre@nondot.org>

code cleanups, rename EmitForwardFunctionDefinition ->
CreateFunctionPrototypeIR, though my next patch will eliminate
it entirely.

llvm-svn: 67443


# 65749068 21-Mar-2009 Chris Lattner <sabre@nondot.org>

fix several problems with asm renaming, by pulling it into the mangling code:

1. it wasn't applying to definitions, only declarations, e.g. int x __asm("foo")
2. multiple definitions were conflictin

fix several problems with asm renaming, by pulling it into the mangling code:

1. it wasn't applying to definitions, only declarations, e.g. int x __asm("foo")
2. multiple definitions were conflicting, they weren't getting merged.
3. the code was duplicated in several places.

llvm-svn: 67442

show more ...


# 64c55933 21-Mar-2009 Chris Lattner <sabre@nondot.org>

add some fixmes

llvm-svn: 67441


# a9cb6261 21-Mar-2009 Chris Lattner <sabre@nondot.org>

reduce redundant calls of getMangledName.

llvm-svn: 67440


# 3bfce188 21-Mar-2009 Chris Lattner <sabre@nondot.org>

simplify some more code.

llvm-svn: 67439


1...<<71727374757677787980>>...87