| #
84037d3d |
| 23-Jul-2011 |
Chris Lattner <[email protected]> |
fix PR10415, tidying up IR representation of module level inline asm to avoid extraneous \n's.
llvm-svn: 135862
|
| #
54b1677d |
| 23-Jul-2011 |
Chris Lattner <[email protected]> |
Move ArrayRef to LLVM.h and eliminate now-redundant qualifiers, patch by Jon Mulder!
llvm-svn: 135855
|
| #
0e62c1cc |
| 23-Jul-2011 |
Chris Lattner <[email protected]> |
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports them into the clang namespace.
llvm-svn: 135852
|
| #
a91768e5 |
| 22-Jul-2011 |
Jordy Rose <[email protected]> |
Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin. This was previously not-const only because it has to lazily construct a chain of ivars the first time it is called (and after the
Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin. This was previously not-const only because it has to lazily construct a chain of ivars the first time it is called (and after the chain is invalidated). In practice, all the clients were just const_casting their const Decls; all those now-unnecessary const_casts have been removed.
llvm-svn: 135741
show more ...
|
| #
ed8db7d9 |
| 21-Jul-2011 |
Jay Foad <[email protected]> |
Convert ConstantExpr::getGetElementPtr and ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
|
| #
26da4ddf |
| 18-Jul-2011 |
Nick Lewycky <[email protected]> |
In C99, emit an inline function when encountering an extern redeclaration. Fixes PR10233!
llvm-svn: 135377
|
| #
2192fe50 |
| 18-Jul-2011 |
Chris Lattner <[email protected]> |
de-constify llvm::Type, patch by David Blaikie!
llvm-svn: 135370
|
| #
5bd375a6 |
| 15-Jul-2011 |
Jay Foad <[email protected]> |
Convert CallInst and InvokeInst APIs to use ArrayRef.
llvm-svn: 135265
|
| #
8d375cef |
| 14-Jul-2011 |
Benjamin Kramer <[email protected]> |
Change intrinsic getter to take an ArrayRef, now that the underlying function in LLVM does.
llvm-svn: 135155
|
| #
b804a2b7 |
| 12-Jul-2011 |
Jay Foad <[email protected]> |
Second attempt at de-constifying LLVM Types in FunctionType::get(), StructType::get() and TargetData::getIntPtrType().
llvm-svn: 134982
|
| #
7475113d |
| 12-Jul-2011 |
Bill Wendling <[email protected]> |
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 <[email protected]> |
De-constify Types in FunctionType::get().
llvm-svn: 134888
|
| #
a5f58b05 |
| 09-Jul-2011 |
Chris Lattner <[email protected]> |
clang side to match the LLVM IR type system rewrite patch.
llvm-svn: 134831
|
| #
be652e6a |
| 07-Jul-2011 |
Cameron Zwarich <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
IRgen: Add CGOptions to CGTypes.
llvm-svn: 133530
|
| #
ab578bf3 |
| 20-Jun-2011 |
Fariborz Jahanian <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
update for api change.
llvm-svn: 133365
|
| #
8feee2d1 |
| 16-Jun-2011 |
Fariborz Jahanian <[email protected]> |
Move computation of __private_extern__ visibilty to getLVForNamespaceScopeDecl(). // rdar://9609649
llvm-svn: 133182
|
| #
a27070db |
| 16-Jun-2011 |
Fariborz Jahanian <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 ...
|