- Dec 16, 2009
-
-
Chris Lattner authored
Will reapply with a fix when I get a chance. llvm-svn: 91486
-
Dale Johannesen authored
in local register allocator. If a reg-reg copy has a phys reg input and a virt reg output, and this is the last use of the phys reg, assign the phys reg to the virt reg. If a reg-reg copy has a phys reg output and we need to reload its spilled input, reload it directly into the phys reg than passing it through another reg. Following 76208, there is sometimes no dependency between the def of a phys reg and its use; this creates a window where that phys reg can be used for spilling (this is true in linear scan also). This is bad and needs to be fixed a better way, although 76208 works too well in practice to be reverted. However, there should normally be no spilling within inline asm blocks. The patch here goes a long way towards making this actually be true. llvm-svn: 91485
-
John McCall authored
llvm-svn: 91481
-
John McCall authored
enclosing namespace. Caught by clang++. llvm-svn: 91480
-
Bill Wendling authored
llvm-svn: 91479
-
Bill Wendling authored
llvm-svn: 91477
-
Bill Wendling authored
llvm-svn: 91475
-
Fariborz Jahanian authored
using objective-c property. (fixes radar 7449707) llvm-svn: 91474
-
Ted Kremenek authored
Remove ValueManager::getRegionValueSymbolValOrUnknown(). It was just extra veneer on top of getRegionValueSymbolVal(). llvm-svn: 91471
-
- Dec 15, 2009
-
-
Jeffrey Yasskin authored
remove start/finishGVStub and the BufferState helper class from the MachineCodeEmitter interface. It has the side-effect of not setting the indirect global writable and then executable on ARM, but that shouldn't be necessary. llvm-svn: 91464
-
Bill Wendling authored
llvm-svn: 91463
-
John McCall authored
This test courtesy of LLVM. llvm-svn: 91462
-
Daniel Dunbar authored
clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
-
Bob Wilson authored
found last time. Instead of trying to modify the IR while iterating over it, I've change it to keep a list of WeakVH references to dead instructions, and then delete those instructions later. I also added some special case code to detect and handle the situation when both operands of a memcpy intrinsic are referencing the same alloca. llvm-svn: 91459
-
Daniel Dunbar authored
llvm-svn: 91458
-
Fariborz Jahanian authored
non-existing 'isa' field of a non-existing struct type all related to legacy type definition for 'id' which we have dropped in clang in favor of a built-in type. (fixes radar 7470820). llvm-svn: 91455
-
Anders Carlsson authored
llvm-svn: 91450
-
Chris Lattner authored
on PR5610 (2.185 -> 2.130s). The big issue is that this is making insanely huge macro argument lists with over a million tokens in it. The reason that mallco and free are so expensive is that we are actually going to the kernel to get it, and switching to a bump pointer allocator won't change this in an interesting way. llvm-svn: 91449
-
Dan Gohman authored
llvm-svn: 91448
-
Daniel Dunbar authored
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
-
Chris Lattner authored
real data, not metadata) and fix DbgInfoPrinter to not abuse GetConstantStringInfo. llvm-svn: 91444
-
Jim Grosbach authored
llvm-svn: 91442
-
Devang Patel authored
llvm-svn: 91440
-
Anders Carlsson authored
If a ParmVarDecl's default argument is a CXXExprWithTemporaries, return the underlying expr instead. Add getNumDefaultArgTemporaries and getDefaultArgTemporary which returns the temporaries a default arg creates. llvm-svn: 91439
-
Chris Lattner authored
llvm-svn: 91438
-
Nate Begeman authored
For hi/odd of an odd-length vector, the last component is undefined. Since we shuffle with an undef vector, no CodeGen needs to change to support this. llvm-svn: 91437
-
Mike Stump authored
Patch by Chip Davis. llvm-svn: 91436
-
Fariborz Jahanian authored
and some clean up and a block rewriter test. llvm-svn: 91435
-
Johnny Chen authored
llvm-svn: 91434
-
Douglas Gregor authored
llvm-svn: 91433
-
Dan Gohman authored
llvm-svn: 91432
-
Douglas Gregor authored
llvm-svn: 91431
-
Zhongxing Xu authored
llvm-svn: 91430
-
Zhongxing Xu authored
llvm-svn: 91429
-
Chris Lattner authored
llvm-svn: 91428
-
Chris Lattner authored
1. Use std::equal instead of reinventing it. 2. don't run dtors in destroy_range if element is pod-like. 3. Use isPodLike to decide between memcpy/uninitialized_copy instead of is_class. isPodLike is more generous in some cases. llvm-svn: 91427
-
Chris Lattner authored
up into the non-templated SmallVectorBase class. llvm-svn: 91426
-
Chris Lattner authored
llvm-svn: 91425
-
Chris Lattner authored
want some clients of QualType to think it's a pod and some to not know it is. llvm-svn: 91424
-
Chris Lattner authored
llvm-svn: 91423
-