History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1676 – 1700 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# befc9dfb 03-Apr-2009 Fariborz Jahanian <[email protected]>

Implement -fvisibility.

llvm-svn: 68369


# fd6cfcff 03-Apr-2009 Daniel Dunbar <[email protected]>

Add target hook for setting symbol prefix and section of unicode
string literals.

llvm-svn: 68363


# cbaeb9e6 02-Apr-2009 Anders Carlsson <[email protected]>

Emit code for linkage specifications.

llvm-svn: 68300


# 8d816d6c 01-Apr-2009 Steve Naroff <[email protected]>

CodeGenModule::GetAddrOfConstantCFString():
- Finish up support for converting UTF8->UTF16 to support ObjC @"string" constants.

Remove warning from CheckObjCString.

As the FIXME in the test case in

CodeGenModule::GetAddrOfConstantCFString():
- Finish up support for converting UTF8->UTF16 to support ObjC @"string" constants.

Remove warning from CheckObjCString.

As the FIXME in the test case indicates, I still have a bug to work out (apparently with \u handling).

llvm-svn: 68245

show more ...


# 29cae66b 01-Apr-2009 Steve Naroff <[email protected]>

Add ConvertUTF module from http://www.unicode.org/Public/PROGRAMS/CVTUTF.

#ifdef'd out the 5 conversion routines that we don't currently need.

Still need a bit more work in GetAddrOfConstantCFStrin

Add ConvertUTF module from http://www.unicode.org/Public/PROGRAMS/CVTUTF.

#ifdef'd out the 5 conversion routines that we don't currently need.

Still need a bit more work in GetAddrOfConstantCFString(). Added a FIXME to indicate this.

Expect to remove the FIXME today...

llvm-svn: 68208

show more ...


# e14b368f 01-Apr-2009 Steve Naroff <[email protected]>

More "prep" work for handling UTF16 CFString.

Patch by Jean-Daniel Dupas. Thanks!

llvm-svn: 68203


# d18136a6 01-Apr-2009 Chris Lattner <[email protected]>

fix the two xfails I added with a previous patch by making ObjC interface
types get completed when their definition is seen if previously laid out by
the code generator.

llvm-svn: 68177


# 64839089 01-Apr-2009 Chris Lattner <[email protected]>

move trivial forwarding function inline.

llvm-svn: 68176


# 237f3490 01-Apr-2009 Anders Carlsson <[email protected]>

Implement code generation of namespaces and add mangling tests.

llvm-svn: 68170


# 08b216ab 31-Mar-2009 Daniel Dunbar <[email protected]>

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

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

remove some obsolete comments, use an AssertingVH.

llvm-svn: 68151


# 7044b767 27-Mar-2009 Eli Friedman <[email protected]>

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

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

llvm-svn: 67857


# 984fac5f 26-Mar-2009 Chris Lattner <[email protected]>

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

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

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

make alias definition logic more similar to functions/globals.

llvm-svn: 67481


# a5ae54ac 22-Mar-2009 Chris Lattner <[email protected]>

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

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

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

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

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

llvm-svn: 67450


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

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

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

llvm-svn: 67446


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