- Jun 10, 2011
-
-
Eli Friedman authored
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
-
- Jun 08, 2011
-
-
Stuart Hastings authored
rdar://problem/9037836 llvm-svn: 132737
-
- Jun 05, 2011
-
-
Douglas Gregor authored
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
-
- Jun 04, 2011
-
-
Tanya Lattner authored
__builtin_astype(): Used to reinterpreted as another data type of the same size using for both scalar and vector data types. Added test case. llvm-svn: 132612
-
Devang Patel authored
Emit debug info only if there is an insertion point. The debug info should not force an insertion point. Codegen may later on decide to not emit code for some reason, see extensive comment in CodeGenFunction::EmitStmt(), and debug info should not get in the way. llvm-svn: 132610
-
- Jun 03, 2011
-
-
Devang Patel authored
Emit debug info only if there is an insertion point. The debug info should not force an insertion point. Codegen may later on decide to not emit code for some reason, see extensive comment in CodeGenFunction::EmitStmt(), and debug info should not get in the way. llvm-svn: 132576
-
Devang Patel authored
llvm-svn: 132560
-
Devang Patel authored
llvm-svn: 132557
-
Eric Christopher authored
llvm-svn: 132548
-
- Jun 02, 2011
-
-
Akira Hatanaka authored
llvm-svn: 132443
-
- Jun 01, 2011
-
-
Devang Patel authored
llvm-svn: 132368
-
- May 31, 2011
-
-
Devang Patel authored
llvm-svn: 132361
-
Devang Patel authored
llvm-svn: 132357
-
- May 30, 2011
-
-
David Chisnall authored
llvm-svn: 132311
-
- May 28, 2011
-
-
John McCall authored
It's quite likely that this will explode, but I need to know how. :) llvm-svn: 132269
-
Benjamin Kramer authored
llvm-svn: 132260
-
David Chisnall authored
llvm-svn: 132259
-
David Chisnall authored
llvm-svn: 132258
-
Bruno Cardoso Lopes authored
llvm-svn: 132249
-
Eli Friedman authored
Add unnamed_addr to internal globals which are only used as an operand to memcpy. (Spotted by looking at IR.) llvm-svn: 132226
-
Eli Friedman authored
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
-
- May 27, 2011
-
-
Eli Friedman authored
llvm-svn: 132219
-
John McCall authored
to be careful to emit landing pads that are always prepared to handle a cleanup path. This is correct mostly because of the fix to the LLVM inliner, r132200. llvm-svn: 132209
-
Douglas Gregor authored
parameter types to be ill-formed. However, it relies on the completeness of method parameter types when producing metadata, e.g., for a protocol, leading IR generating to crash in such cases. Since there's no real way to tighten down the semantics of Objective-C here without breaking existing code, do something safe but lame: suppress the generation of metadata when this happens. Fixes <rdar://problem/9123036>. llvm-svn: 132171
-
- May 26, 2011
-
-
Eli Friedman authored
Skip extra copy from aggregate where it isn't necessary; rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0. Originally r130717, but was backed out due to an ObjC regression. llvm-svn: 132102
-
- May 25, 2011
-
-
David Chisnall authored
llvm-svn: 132077
-
Rafael Espindola authored
llvm-svn: 132034
-
Alexis Hunt authored
type that turns one type into another. This is used as the basis to implement __underlying_type properly - with TypeSourceInfo and proper behavior in the face of templates. llvm-svn: 132017
-
- May 24, 2011
-
-
David Chisnall authored
llvm-svn: 131935
-
David Chisnall authored
llvm-svn: 131932
-
David Chisnall authored
Fix some problems where functions must be bitcast but we're expecting a llvm::Function of the right type. PR9994. llvm-svn: 131930
-
- May 23, 2011
-
-
Chris Lattner authored
code generator will do it. With this patch, clang compiles the example in PR9794 to not have an alloca temporary. llvm-svn: 131881
-
Chris Lattner authored
generator will give it something sufficient. This is important because the mid-level optimizer doesn't know what alignment is required otherwise. llvm-svn: 131879
-
David Chisnall authored
llvm-svn: 131877
-
Chris Lattner authored
llvm-svn: 131870
-
- May 22, 2011
-
-
Chris Lattner authored
llvm-svn: 131815
-
- May 21, 2011
-
-
Chris Lattner authored
llvm-svn: 131808
-
Eli Friedman authored
and stop abusing the multi-level dereference isa<> used to allow. llvm-svn: 131804
-
- May 20, 2011
-
-
Douglas Gregor authored
Type::isUnsignedIntegerOrEnumerationType(), which are like Type::isSignedIntegerType() and Type::isUnsignedIntegerType() but also consider the underlying type of a C++0x scoped enumeration type. Audited all callers to the existing functions, switching those that need to also handle scoped enumeration types (e.g., those that deal with constant values) over to the new functions. Fixes PR9923 / <rdar://problem/9447851>. llvm-svn: 131735
-
Devang Patel authored
llvm-svn: 131701
-