History log of /llvm-project/clang/lib/CodeGen/CodeGenModule.cpp (Results 1551 – 1575 of 2157)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5bd375a6 15-Jul-2011 Jay Foad <jay.foad@gmail.com>

Convert CallInst and InvokeInst APIs to use ArrayRef.

llvm-svn: 135265


# 8d375cef 14-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

Change intrinsic getter to take an ArrayRef, now that the underlying function in LLVM does.

llvm-svn: 135155


# b804a2b7 12-Jul-2011 Jay Foad <jay.foad@gmail.com>

Second attempt at de-constifying LLVM Types in FunctionType::get(),
StructType::get() and TargetData::getIntPtrType().

llvm-svn: 134982


# 7475113d 12-Jul-2011 Bill Wendling <isanbard@gmail.com>

Revert r134888 (and related patches in other trees). It was causing
an assert on Darwin llvm-gcc builds.

Assertion failed: (castIsValid(op, S, Ty) && "Invalid cast!"), function Create, file /Users/b

Revert r134888 (and related patches in other trees). It was causing
an assert on Darwin llvm-gcc builds.

Assertion failed: (castIsValid(op, S, Ty) && "Invalid cast!"), function Create, file /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.llvm-gcc-i386-darwin9-RA/llvm.src/lib/VMCore/Instructions.cpp, line 2067.
etc.

http://smooshlab.apple.com:8013/builders/llvm-gcc-i386-darwin9-RA/builds/2354

--- Reverse-merging r134888 into '.':
U lib/CodeGen/CodeGenModule.cpp

llvm-svn: 134950

show more ...


# 56cc1530 11-Jul-2011 Jay Foad <jay.foad@gmail.com>

De-constify Types in FunctionType::get().

llvm-svn: 134888


# a5f58b05 09-Jul-2011 Chris Lattner <sabre@nondot.org>

clang side to match the LLVM IR type system rewrite patch.

llvm-svn: 134831


# be652e6a 07-Jul-2011 Cameron Zwarich <zwarich@apple.com>

r134634 causes a failure on MultiSource/Benchmarks/Olden/bh with TEST=nightly,
so roll it out.

llvm-svn: 134638


# d755e6ac 07-Jul-2011 Nick Lewycky <nicholas@mxc.ca>

A redeclaration of an inline method in C99 mode should trigger emission of that
function. Fixes PR10233!

llvm-svn: 134634


# 23c29fea 24-Jun-2011 John McCall <rjmccall@apple.com>

Change the IR-generation of VLAs so that we capture bounds,
not sizes; so that we use well-typed allocas; and so that we
properly recurse through the full set of variably-modified types.

llvm-svn:

Change the IR-generation of VLAs so that we capture bounds,
not sizes; so that we use well-typed allocas; and so that we
properly recurse through the full set of variably-modified types.

llvm-svn: 133827

show more ...


# 0de2faae 21-Jun-2011 Daniel Dunbar <daniel@zuster.org>

IRgen: Add CGOptions to CGTypes.

llvm-svn: 133530


# ab578bf3 20-Jun-2011 Fariborz Jahanian <fjahanian@apple.com>

llvm-gcc treats a tentative definition with a previous
(or follow up) extern declaration with weak_import as
an actual definition. make clang follows this behavior.
// rdar://9538608
llvm-gcc treat

llvm-gcc treats a tentative definition with a previous
(or follow up) extern declaration with weak_import as
an actual definition. make clang follows this behavior.
// rdar://9538608
llvm-gcc treats an extern declaration with weak_import

llvm-svn: 133450

show more ...


# e64d7ba1 20-Jun-2011 Chris Lattner <sabre@nondot.org>

Update to match mainline ConstantStruct::get API change. Also, use
ConvertType on InitListExprs as they are being converted. This is
needed for a forthcoming patch, and improves the IR generated a

Update to match mainline ConstantStruct::get API change. Also, use
ConvertType on InitListExprs as they are being converted. This is
needed for a forthcoming patch, and improves the IR generated anyway
(see additional type names in testcases).

This patch also converts a bunch of std::vector's in CGObjCMac to use
C arrays. There are a ton more that should be converted as well.

llvm-svn: 133413

show more ...


# 845511fe 18-Jun-2011 Chris Lattner <sabre@nondot.org>

update for api change.

llvm-svn: 133365


# 8feee2d1 16-Jun-2011 Fariborz Jahanian <fjahanian@apple.com>

Move computation of __private_extern__ visibilty to
getLVForNamespaceScopeDecl(). // rdar://9609649

llvm-svn: 133182


# a27070db 16-Jun-2011 Fariborz Jahanian <fjahanian@apple.com>

Set the visibility to 'hidden' when previous
declaration of global var is __private_extern__.
// rdar://9609649

llvm-svn: 133157


# 31168b07 15-Jun-2011 John McCall <rjmccall@apple.com>

Automatic Reference Counting.

Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation c

Automatic Reference Counting.

Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
in no particular order.

llvm-svn: 133103

show more ...


# 300f55dc 10-Jun-2011 Eli Friedman <eli.friedman@gmail.com>

PR10120: Make CodeGenModule::getVTableLinkage use NamedDecl::getLinkage to determine whether the vtable should be externally visible, instead of a rough approximation of it which messes up with templ

PR10120: Make CodeGenModule::getVTableLinkage use NamedDecl::getLinkage to determine whether the vtable should be externally visible, instead of a rough approximation of it which messes up with templates.

While I'm here, zap the other user of isInAnonymousNamespace outside of Decl.cpp.

llvm-svn: 132861

show more ...


# 0aa91e0a 05-Jun-2011 Douglas Gregor <dgregor@apple.com>

When inferring the result type of a block based on a return statement
with a type-dependent expression, infer the placeholder type
'Context.DependentTy' to indicate that this is just a
placeholder. F

When inferring the result type of a block based on a return statement
with a type-dependent expression, infer the placeholder type
'Context.DependentTy' to indicate that this is just a
placeholder. Fixes PR9982 / <rdar://problem/9486685>.

llvm-svn: 132657

show more ...


# 6ffb623a 27-May-2011 Eli Friedman <eli.friedman@gmail.com>

Match llvm-gcc's string literals alignment by forcing alignment on string literals to 1. This can significantly impact the size of the string data, and as far as I know, the alignment doesn't help p

Match llvm-gcc's string literals alignment by forcing alignment on string literals to 1. This can significantly impact the size of the string data, and as far as I know, the alignment doesn't help performance. rdar://9078969 .

llvm-svn: 132223

show more ...


# c1ee12c9 25-May-2011 Rafael Espindola <rafael.espindola@gmail.com>

Update for llvm api change.

llvm-svn: 132034


# ccdfa390 17-May-2011 Fariborz Jahanian <fjahanian@apple.com>

Code cleanup of my last patch.

llvm-svn: 131499


# 7bd3d1c4 17-May-2011 Fariborz Jahanian <fjahanian@apple.com>

Patch to fix IR-gen crash generating structure ABI which implements
user specified string class via -fconstant-string-class option.
pr9914.

llvm-svn: 131496


# 9dc0db21 15-May-2011 John McCall <rjmccall@apple.com>

Use arrays and SmallVectors instead of std::vectors when building function
types. Also, cache a translation of 'void' in CGM and provide a ptrdiff_t
alias. No functionality change.

llvm-svn: 131373


# be7850dd 13-May-2011 Joerg Sonnenberger <joerg@bec.de>

Simplify

llvm-svn: 131321


# caf8ffd8 13-May-2011 Joerg Sonnenberger <joerg@bec.de>

Bug 8765: Honor assembler labels for builtins. Ensure that the label is
mangled to avoid doing it twice for platforms that use prefixes like
Darwin.

llvm-svn: 131311


1...<<61626364656667686970>>...87