- Aug 12, 2010
-
-
Abramo Bagnara authored
llvm-svn: 110860
-
- Aug 11, 2010
-
-
Douglas Gregor authored
the code-completion consumer. The consumer can use this information to augument, filter, or display the code-completion results. llvm-svn: 110858
-
Fariborz Jahanian authored
radar 7948654. llvm-svn: 110857
-
Bruno Cardoso Lopes authored
llvm-svn: 110854
-
Devang Patel authored
Emit a stop point for delegate constructor call. This gives user a chance to step into constructor body. llvm-svn: 110853
-
John McCall authored
instead of _Unwind_Resume. With SJLJ exceptions, this is spelled "_Unwind_SjLj_Resume_or_Rethrow", not "_Unwind_SjLj_Resume", which has significantly different semantics. We should actually never be generating a call to _Unwind_SjLj_Resume directly; even if we were generating true cleanups (which we aren't because of the horrible hack), we should be calling __cxa_end_cleanup() on ARM. I haven't implemented this because there's little point as long as the HH is present. I believe this fixes <rdar://problem/8281377>. llvm-svn: 110851
-
Eli Friedman authored
in the code after the "FIXME: Needs to be written". llvm-svn: 110849
-
Dan Gohman authored
and remove casts from all its callers. llvm-svn: 110848
-
Dan Gohman authored
llvm-svn: 110847
-
Bruno Cardoso Lopes authored
llvm-svn: 110845
-
Bruno Cardoso Lopes authored
llvm-svn: 110844
-
Dan Gohman authored
llvm-svn: 110843
-
Dan Gohman authored
llvm-svn: 110842
-
Fariborz Jahanian authored
property-dot syntax. llvm-svn: 110841
-
Sebastian Redl authored
llvm-svn: 110840
-
Bruno Cardoso Lopes authored
llvm-svn: 110839
-
Dan Gohman authored
that many of these things, so the memory savings isn't significant, and there are now situations where there can be alignments greater than 128. llvm-svn: 110836
-
Dan Gohman authored
avoids trouble if the return type of TD->getPointerSize() is changed to something which doesn't promote to a signed type, and is simpler anyway. Also, use getCopyFromReg instead of getRegister to read a physical register's value. llvm-svn: 110835
-
Howard Hinnant authored
llvm-svn: 110834
-
Bruno Cardoso Lopes authored
llvm-svn: 110833
-
Fariborz Jahanian authored
types. Fixes PR7865. llvm-svn: 110832
-
Jim Grosbach authored
llvm-svn: 110831
-
Jim Grosbach authored
platform. It's apparently "bl __muldf3" on linux, for example. Since that's not what we're checking here, it's more robust to just force a triple. We just wwant to check that the inline FP instructions are only generated on cpus that have them." llvm-svn: 110830
-
Evan Cheng authored
llvm-svn: 110829
-
Howard Hinnant authored
llvm-svn: 110828
-
David Chisnall authored
#ifdef around Solaris/Linux/Darwin-specific error codes and replace them with their BSD equivalents if they are not available. llvm-svn: 110827
-
Jakob Stoklund Olesen authored
llvm-svn: 110826
-
Dan Gohman authored
properly investigated. llvm-svn: 110825
-
David Chisnall authored
llvm-svn: 110824
-
Douglas Gregor authored
clang_reparseTranslationUnit(), along with a function to retrieve the default recommended reparsing options for a translation unit. Also, add the CXTranslationUnit_CacheCompletionResults flag, which is also currently unused. llvm-svn: 110811
-
Jim Grosbach authored
llvm-svn: 110810
-
Daniel Dunbar authored
llvm-svn: 110809
-
Dan Gohman authored
properly investigated. llvm-svn: 110808
-
Benjamin Kramer authored
llvm-svn: 110807
-
Douglas Gregor authored
that actually refer to the same underlying type, it is not an ambiguity; add uniquing support based on the canonical type of type declarations. Fixes <rdar://problem/8296180>. llvm-svn: 110806
-
Howard Hinnant authored
llvm-svn: 110805
-
Douglas Gregor authored
llvm-svn: 110804
-
Douglas Gregor authored
and create separate decl nodes for forward declarations and the definition," which appears to be causing significant Objective-C breakage. llvm-svn: 110803
-
Bill Wendling authored
float t1(int argc) { return (argc == 1123) ? 1.234f : 2.38213f; } We would generate truly awful code on ARM (those with a weak stomach should look away): _t1: movw r1, #1123 movs r2, #1 movs r3, #0 cmp r0, r1 mov.w r0, #0 it eq moveq r0, r2 movs r1, #4 cmp r0, #0 it ne movne r3, r1 adr r0, #LCPI1_0 ldr r0, [r0, r3] bx lr The problem was that legalization was creating a cascade of SELECT_CC nodes, for for the comparison of "argc == 1123" which was fed into a SELECT node for the ?: statement which was itself converted to a SELECT_CC node. This is because the ARM back-end doesn't have custom lowering for SELECT nodes, so it used the default "Expand". I added a fairly simple "LowerSELECT" to the ARM back-end. It takes care of this testcase, but can obviously be expanded to include more cases. Now we generate this, which looks optimal to me: _t1: movw r1, #1123 movs r2, #0 cmp r0, r1 adr r0, #LCPI0_0 it eq moveq r2, #4 ldr r0, [r0, r2] bx lr .align 2 LCPI0_0: .long 1075344593 @ float 2.382130e+00 .long 1067316150 @ float 1.234000e+00 llvm-svn: 110799
-
Evan Cheng authored
Report error if codegen tries to instantiate a ARM target when the cpu does support it. e.g. cortex-m* processors. llvm-svn: 110798
-