- Jul 30, 2010
-
-
Bob Wilson authored
completed a successful build. llvm-svn: 109815
-
Nate Begeman authored
llvm-svn: 109814
-
Nate Begeman authored
llvm-svn: 109813
-
Bob Wilson authored
llvm-svn: 109810
-
Daniel Dunbar authored
llvm-svn: 109809
-
Douglas Gregor authored
Objective-C object and interface types. This is part of PR7741. llvm-svn: 109808
-
- Jul 29, 2010
-
-
Chris Lattner authored
that needs it and remove getCoerceResult. llvm-svn: 109807
-
Johnny Chen authored
llvm-svn: 109806
-
Chris Lattner authored
llvm-svn: 109805
-
Chris Lattner authored
float, the special case hack in getCoerceResult can go away. llvm-svn: 109804
-
Johnny Chen authored
llvm-svn: 109803
-
Greg Clayton authored
llvm-svn: 109802
-
Benjamin Kramer authored
llvm-svn: 109801
-
Bob Wilson authored
transformations. llvm-svn: 109800
-
Dale Johannesen authored
integers with mov + vdup. 8003375. This is currently disabled by default because LICM will not hoist a VDUP, so it pessimizes the code if the construct occurs inside a loop (8248029). llvm-svn: 109799
-
Greg Clayton authored
llvm-svn: 109798
-
Argyrios Kyrtzidis authored
llvm-svn: 109797
-
Argyrios Kyrtzidis authored
Weak references and variables that are not definitions are not required for early codegen/deserialization. llvm-svn: 109796
-
Greg Clayton authored
Fixed "void *ClangASTContext::CreatePointerType (void *clang_type);" to return objective C pointers for clang::Type::TypeClass types that are "clang::Type::ObjCObject" and "clang::Type::ObjCInterface" . llvm-svn: 109795
-
Johnny Chen authored
llvm-svn: 109794
-
Greg Clayton authored
parens and to have a space before the value. Before: (lldb) expr 3 + 1 int4 (lldb) expr 3 + 1 (int) 4 llvm-svn: 109793
-
Sean Callanan authored
code model with the JIT. llvm-svn: 109792
-
Howard Hinnant authored
llvm-svn: 109791
-
Chris Lattner authored
<2 x float> instead of double. This works but can't be turned on until I teach codegen to pass <2 x float> as one XMM register instead of two. llvm-svn: 109790
-
Bob Wilson authored
PR7745. llvm-svn: 109788
-
John McCall authored
llvm-svn: 109787
-
Chris Lattner authored
llvm-svn: 109786
-
Argyrios Kyrtzidis authored
llvm-svn: 109785
-
Argyrios Kyrtzidis authored
DeclIsRequiredFunctionOrFileScopedVar. This is essentially a CodeGen predicate that is also needed by the PCH mechanism to determine whether a decl needs to be deserialized during PCH loading for codegen purposes. Since this logic is shared by CodeGen and the PCH mechanism, move it to the ASTContext, thus CodeGenModule's GetLinkageForFunction/GetLinkageForVariable and the GVALinkage enum is moved out of CodeGen. This fixes current (and avoids future) codegen-from-PCH bugs. llvm-svn: 109784
-
rdar://8251384Chris Lattner authored
end of a struct. This improves the case when the struct being passed contains 3 floats, either due to a struct or array of 3 things. Before we'd generate this IR for the testcase: define float @bar(double %X.coerce0, double %X.coerce1) nounwind { entry: %X = alloca %struct.foof, align 8 ; <%struct.foof*> [#uses=2] %0 = bitcast %struct.foof* %X to %1* ; <%1*> [#uses=2] %1 = getelementptr %1* %0, i32 0, i32 0 ; <double*> [#uses=1] store double %X.coerce0, double* %1 %2 = getelementptr %1* %0, i32 0, i32 1 ; <double*> [#uses=1] store double %X.coerce1, double* %2 %tmp = getelementptr inbounds %struct.foof* %X, i32 0, i32 2 ; <float*> [#uses=1] %tmp1 = load float* %tmp ; <float> [#uses=1] ret float %tmp1 } which compiled (with optimization) to: _bar: ## @bar ## BB#0: ## %entry movd %xmm1, %rax movd %eax, %xmm0 ret Now we produce: define float @bar(double %X.coerce0, float %X.coerce1) nounwind { entry: %X = alloca %struct.foof, align 8 ; <%struct.foof*> [#uses=2] %0 = bitcast %struct.foof* %X to %0* ; <%0*> [#uses=2] %1 = getelementptr %0* %0, i32 0, i32 0 ; <double*> [#uses=1] store double %X.coerce0, double* %1 %2 = getelementptr %0* %0, i32 0, i32 1 ; <float*> [#uses=1] store float %X.coerce1, float* %2 %tmp = getelementptr inbounds %struct.foof* %X, i32 0, i32 2 ; <float*> [#uses=1] %tmp1 = load float* %tmp ; <float> [#uses=1] ret float %tmp1 } and: _bar: ## @bar ## BB#0: ## %entry movaps %xmm1, %xmm0 ret llvm-svn: 109776
-
Eric Christopher authored
llvm-svn: 109775
-
John McCall authored
llvm-svn: 109774
-
Eli Friedman authored
if CExpr is a ConstantInt. llvm-svn: 109773
-
Owen Anderson authored
llvm-svn: 109772
-
Nate Begeman authored
llvm-svn: 109771
-
Nate Begeman authored
Add intrinsics __builtin_arm_qadd & __builtin_arm_qsub to allow access to the QADD & QSUB instructions. Behave identically to __qadd & __qsub RealView instruction intrinsics. llvm-svn: 109770
-
John McCall authored
message is properly contaminated with nonsense about timing passes that doesn't apply at all to this utility. :) llvm-svn: 109769
-
Chris Lattner authored
as <2 x float> instead of as double. The backend isn't ready yet, but infrastructure in the frontend can come up. llvm-svn: 109768
-
Benjamin Kramer authored
Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ownership of the TargetAsmBackend and the MCCodeEmitter. llvm-svn: 109767
-
Benjamin Kramer authored
llvm-svn: 109766
-