History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1701 – 1725 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 149927c9 21-Mar-2009 Chris Lattner <[email protected]>

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

llvm-svn: 67445


# 832323ea 21-Mar-2009 Chris Lattner <[email protected]>

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 <[email protected]>

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

llvm-svn: 67443


# 65749068 21-Mar-2009 Chris Lattner <[email protected]>

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 <[email protected]>

add some fixmes

llvm-svn: 67441


# a9cb6261 21-Mar-2009 Chris Lattner <[email protected]>

reduce redundant calls of getMangledName.

llvm-svn: 67440


# 3bfce188 21-Mar-2009 Chris Lattner <[email protected]>

simplify some more code.

llvm-svn: 67439


# 0c5e3132 21-Mar-2009 Chris Lattner <[email protected]>

simplify and comment some code better. Make BindRuntimeGlobals
more optimistic that it will work (optimizing for the common case).

llvm-svn: 67438


# 3637652a 21-Mar-2009 Chris Lattner <[email protected]>

random code cleanups.

llvm-svn: 67437


# 6098e62d 21-Mar-2009 Chris Lattner <[email protected]>

remove obviously dead code: you can't bitcast a pointer to "Ty" (a function type).

llvm-svn: 67436


# 9e8120e0 21-Mar-2009 Chris Lattner <[email protected]>

avoid making constant folding logic eliminate obviously dead bitcasts, speeding up PR3810
by ~2%.

llvm-svn: 67434


# 725a26b8 21-Mar-2009 Chris Lattner <[email protected]>

Add a fast path to CodeGenModule::getMangledName for almost all C functions,
speeding up the testcase in PR3810 by 60%.

llvm-svn: 67431


# 4e004ed1 19-Mar-2009 Daniel Dunbar <[email protected]>

IRgen support for alias of global variable.
- PR3818.

llvm-svn: 67297


# 3654e65a 18-Mar-2009 Fariborz Jahanian <[email protected]>

objc: Implemented variables declared in class interface
whose sema decl is at the translation unit.

llvm-svn: 67249


# 19184131 11-Mar-2009 Duncan Sands <[email protected]>

Adjust for linkage name change.

llvm-svn: 66691


# bdf086f7 11-Mar-2009 Duncan Sands <[email protected]>

Correct for change of this name in LLVM.

llvm-svn: 66652


# 99d28350 09-Mar-2009 Daniel Dunbar <[email protected]>

Backout r66408, we don't want handling of globals to rely on the
module symbol table. The root problem inspiring this was fixed in
r66316 (and again in r66506).

llvm-svn: 66512


# e3193ff4 09-Mar-2009 Mike Stump <[email protected]>

Be sure to never create two functions with the same name, instead arrange to
reuse the prior one.

llvm-svn: 66408


# 4663a336 07-Mar-2009 Eli Friedman <[email protected]>

Make constant emission for @encode use the common string emission code.
This is a bit cleaner, and also "fixes" bad code that compares the
addresses of the string constants.

llvm-svn: 66346


# a6ca3343 07-Mar-2009 Mike Stump <[email protected]>

Fixup our uses of various linkages to match how llvm now works. I think they are all
correct, but an extra set of ObjC eyes would be good.

llvm-svn: 66342


# 7aecee99 06-Mar-2009 Daniel Dunbar <[email protected]>

(LLVM svn up) Generalize RuntimeFunctions to RuntimeGlobals and add
CodeGenModule::CreateRuntimeVariable.

- No real functionality change; although we now assert on silly
things like:
--
int objc

(LLVM svn up) Generalize RuntimeFunctions to RuntimeGlobals and add
CodeGenModule::CreateRuntimeVariable.

- No real functionality change; although we now assert on silly
things like:
--
int objc_exception_throw;
void f0() { @throw(@"A"); }
--
instead of accepting it.

llvm-svn: 66292

show more ...


# 8e79b849 06-Mar-2009 Daniel Dunbar <[email protected]>

IRgen support for weak_import.
- <rdar://problem/6652110> clang should support weak_import

llvm-svn: 66270


# f804897e 05-Mar-2009 Daniel Dunbar <[email protected]>

Don't mangle names of local variables.
- For one thing, this adds unneeded overhead; for another, this
routine can be used to emit unnamed decls which we shouldn't try to
mangle.

llvm-svn: 66

Don't mangle names of local variables.
- For one thing, this adds unneeded overhead; for another, this
routine can be used to emit unnamed decls which we shouldn't try to
mangle.

llvm-svn: 66212

show more ...


# cecc21d2 05-Mar-2009 Eli Friedman <[email protected]>

Make IRGen compatible with declaring a function with incomplete
return/argument types. (The generated IR isn't ideal, but we can't
really do better in general.)

llvm-svn: 66132


# 6c39666a 04-Mar-2009 Mike Stump <[email protected]>

Move more of the blocks code up and out.

llvm-svn: 66046


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