- Dec 02, 2010
-
-
Bob Wilson authored
This is in preparation for adding assignments to temporaries to ensure that the proper type checking is done. llvm-svn: 120649
-
Eric Christopher authored
llvm-svn: 120648
-
Eric Christopher authored
llvm-svn: 120647
-
John McCall authored
llvm-svn: 120646
-
Chris Lattner authored
a global is larger than 32 bytes and has fewer than 6 non-zero values in the initializer. Previously we'd turn something like this: char test8(int X) { char str[10000] = "abc"; into a 10K global variable which we then memcpy'd from. Now we generate: %str = alloca [10000 x i8], align 16 %tmp = getelementptr inbounds [10000 x i8]* %str, i64 0, i64 0 call void @llvm.memset.p0i8.i64(i8* %tmp, i8 0, i64 10000, i32 16, i1 false) store i8 97, i8* %tmp, align 16 %0 = getelementptr [10000 x i8]* %str, i64 0, i64 1 store i8 98, i8* %0, align 1 %1 = getelementptr [10000 x i8]* %str, i64 0, i64 2 store i8 99, i8* %1, align 2 Which is much smaller in space and also likely faster. This is part of PR279 llvm-svn: 120645
-
Chris Lattner authored
llvm-svn: 120644
-
John McCall authored
into the latter. llvm-svn: 120643
-
Bob Wilson authored
llvm-svn: 120642
-
Bob Wilson authored
llvm-svn: 120641
-
Bob Wilson authored
The bitwise operations are always done with unsigned values, but the result may be signed. llvm-svn: 120640
-
Bob Wilson authored
llvm-svn: 120639
-
Bob Wilson authored
We should not rely on lax-vector-conversions for these intrinsics to work. llvm-svn: 120638
-
Devang Patel authored
llvm-svn: 120637
-
Jakob Stoklund Olesen authored
Scan the MachineFunction for DBG_VALUE instructions, and replace them with a data structure similar to LiveIntervals. The live range of a DBG_VALUE is determined by propagating it down the dominator tree until a new DBG_VALUE is found. When a DBG_VALUE lives in a register, its live range is confined to the live range of the register's value. LiveDebugVariables runs before coalescing, so DBG_VALUEs are not artificially extended when registers are joined. The missing half will recreate DBG_VALUE instructions from the intervals when register allocation is complete. The pass is disabled by default. It can be enabled with the temporary command line option -live-debug-variables. llvm-svn: 120636
-
Jim Grosbach authored
pool entries (LEApcrel pseudo). Ongoing saga of rdar://8542291. llvm-svn: 120635
-
Bob Wilson authored
Make sure the -Wvector-conversions does not cause unnecessary warnings when using Neon intrinsics with the correct types. llvm-svn: 120634
-
Bob Wilson authored
Check for compatible gcc, Altivec and Neon vectors before handling the lax-vector-conversions case. Otherwise there is no way to avoid the warnings from -Wvector-conversions. llvm-svn: 120633
-
Bob Wilson authored
llvm-svn: 120632
-
Bob Wilson authored
llvm-svn: 120631
-
Devang Patel authored
llvm-svn: 120630
-
Douglas Gregor authored
to be available in debug vs. release builds. llvm-svn: 120629
-
Douglas Gregor authored
llvm-svn: 120628
-
Douglas Gregor authored
definition of an Objective-C class. Unlike with C/C++ classes, we don't have a well-defined point in Sema where Objective-C classes are checked for completeness, nor do we need to involve Sema when completing a class. Therefore, we take the appropriate of having the external AST source mark a particular Objective-C class as having an external declaration; when using one of the accessors of an Objective-C class that has an external declaration, we request that the external AST source fill in the Objective-C class definition. llvm-svn: 120627
-
Johnny Chen authored
Don't overwhelm the expression mechanism. Previously, there was no delay between successive invocations of 'expression' command. The test suite run has experienced 'Resume timed out' or similar error messages. Now we currently add a sleep of 1.0 second before issuing the next 'expression' command. llvm-svn: 120626
-
Johnny Chen authored
cases when specifying '-w' to the test driver, by using an environment variable LLDB_TIME_WAIT_BETWEEN_TEST_CASES. llvm-svn: 120625
-
Johnny Chen authored
llvm-svn: 120624
-
Johnny Chen authored
before iterating on it. llvm-svn: 120623
-
- Dec 01, 2010
-
-
Evan Cheng authored
llvm-svn: 120622
-
Rafael Espindola authored
llvm-svn: 120621
-
Johnny Chen authored
test classes or test cases to be excludued from the test suite. Check in an example blacklist file: blacklist.py: """ 'blacklist' is a Python dictionary, it stores the mapping of a string describing either a testclass or a testcase, i.e, testclass.testmethod, to the reason (a string) it is blacklisted. Following is an example which states that test class IntegerTypesExprTestCase should be skipped because 'This test class crashed' and the test case FoundationTestCase.test_data_type_and_expr_with_dsym should be skipped because it is 'Temporarily disabled'. blacklist = {'IntegerTypesExprTestCase': 'This test class crashed', 'FoundationTestCase.test_data_type_and_expr_with_dsym': 'Temporarily disabled' } """ blacklist = {} An example of invoking the test driver and specifying a blacklist file: ./dotest.py -b blacklist.py -v types This runs the tests under 'types' directory but excludes the tests specified in balcklist.py. llvm-svn: 120620
-
Jason W Kim authored
llvm-svn: 120619
-
Greg Clayton authored
llvm-svn: 120618
-
Fariborz Jahanian authored
to be used in copy helper synthesis of __block variables. wip. llvm-svn: 120617
-
Michael J. Spencer authored
llvm-svn: 120616
-
Ted Kremenek authored
to 'assumeXXX'. llvm-svn: 120614
-
Eric Christopher authored
llvm-svn: 120613
-
Anton Yartsev authored
llvm-svn: 120610
-
Ted Kremenek authored
'evalXXX'. llvm-svn: 120609
-
Bill Wendling authored
encoding if we're in that mode. llvm-svn: 120608
-
Douglas Gregor authored
conversions. Previously, we would end up collapsing qualification conversions into the Objective-C pointer conversion step, including (possibly) stripping qualifiers that shouldn't be removed. This generalizes BuildSimilarlyQualifiedPointerType() to also work on Objective-C object pointers, then eliminates the (redundant, not totally correct) BuildSimilarlyQualifiedObjCObjectPointerType() function. Fixes <rdar://problem/8714395>. llvm-svn: 120607
-