Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove all debug info related named mdnodes. | Devang Patel | 2010-06-30 | 1 | -10/+6 |
| | | | | llvm-svn: 107323 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-30 | 1 | -10/+12 |
| | | | | llvm-svn: 107278 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-30 | 1 | -2/+2 |
| | | | | llvm-svn: 107277 | ||||
* | use getArgOperand (corrected by CallInst::ArgOffset) instead of getOperand | Gabor Greif | 2010-06-30 | 1 | -3/+3 |
| | | | | llvm-svn: 107275 | ||||
* | use getArgOperand (corrected by CallInst::ArgOffset) instead of getOperand | Gabor Greif | 2010-06-30 | 1 | -1/+2 |
| | | | | llvm-svn: 107273 | ||||
* | use getNumArgOperands instead of getNumOperands | Gabor Greif | 2010-06-30 | 1 | -2/+2 |
| | | | | llvm-svn: 107272 | ||||
* | use getArgOperand instead of getOperand | Gabor Greif | 2010-06-30 | 1 | -4/+4 |
| | | | | llvm-svn: 107271 | ||||
* | use getArgOperand instead of getOperand | Gabor Greif | 2010-06-30 | 1 | -2/+2 |
| | | | | llvm-svn: 107270 | ||||
* | use getArgOperand instead of getOperand | Gabor Greif | 2010-06-30 | 1 | -8/+8 |
| | | | | llvm-svn: 107269 | ||||
* | Revert r107205 and r107207. | Bill Wendling | 2010-06-29 | 1 | -1/+0 |
| | | | | llvm-svn: 107215 | ||||
* | Introducing the "linker_weak" linkage type. This will be used for Objective-C | Bill Wendling | 2010-06-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205 | ||||
* | Return Changed. This required setting Changed if dbg metadata | Duncan Sands | 2010-06-29 | 1 | -5/+7 |
| | | | | | | | | is stripped off. Currently set unconditionally, since the API does not provide a way of working out if anything was actually stripped off. llvm-svn: 107142 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-28 | 1 | -12/+12 |
| | | | | llvm-svn: 107017 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-28 | 1 | -4/+4 |
| | | | | llvm-svn: 107016 | ||||
* | employ CallInst::ArgOffset (for now) | Gabor Greif | 2010-06-28 | 1 | -2/+2 |
| | | | | llvm-svn: 107015 | ||||
* | use setArgOperand | Gabor Greif | 2010-06-28 | 1 | -6/+6 |
| | | | | llvm-svn: 107004 | ||||
* | use CallInst::ArgOffset | Gabor Greif | 2010-06-28 | 1 | -1/+1 |
| | | | | llvm-svn: 107003 | ||||
* | use ArgOperand API and CallInst::ArgOffset | Gabor Greif | 2010-06-28 | 1 | -17/+17 |
| | | | | llvm-svn: 107002 | ||||
* | use cached value | Gabor Greif | 2010-06-28 | 1 | -1/+1 |
| | | | | llvm-svn: 107000 | ||||
* | minor cleanup to SROA: when lowering type unsafe accesses to | Chris Lattner | 2010-06-27 | 1 | -1/+6 |
| | | | | | | | | large integers, the first inserted value would always create an 'or X, 0'. Even though this is trivially zapped by instcombine, don't bother creating this pointless instruction. llvm-svn: 106979 | ||||
* | Fix PR7328: when turning a tail recursion into a loop, need to preserve | Duncan Sands | 2010-06-26 | 1 | -6/+6 |
| | | | | | | | | the returned value after the tail call if it differs from other return values. The optimal thing to do would be to introduce a phi node for the return value, but for the moment just fix the miscompile. llvm-svn: 106947 | ||||
* | In GenerateReassociations, don't bother thinking about individual | Dan Gohman | 2010-06-25 | 1 | -8/+22 |
| | | | | | | | | SCEVUnknown values which are loop-variant, as LSR can't do anything interesting with these values in any case. This fixes very slow compile times on loops which have large numbers of such values. llvm-svn: 106897 | ||||
* | The hasMemory argument is irrelevant to how the argument | Dale Johannesen | 2010-06-25 | 2 | -4/+2 |
| | | | | | | | | | for an "i" constraint should get lowered; PR 6309. While this argument was passed around a lot, this is the only place it was used, so it goes away from a lot of other places. llvm-svn: 106893 | ||||
* | use ArgOperand API (one more hunk I could split) | Gabor Greif | 2010-06-25 | 1 | -2/+2 |
| | | | | llvm-svn: 106825 | ||||
* | use ArgOperand API (some hunks I could split) | Gabor Greif | 2010-06-25 | 2 | -14/+14 |
| | | | | llvm-svn: 106824 | ||||
* | use ArgOperand API; tighten type of handleFreeWithNonTrivialDependency to be ↵ | Gabor Greif | 2010-06-25 | 1 | -5/+7 |
| | | | | | | able to use isFreeCall whithout a cast or new overload llvm-svn: 106823 | ||||
* | Add an exports file for the Hello example plugin. | Dan Gohman | 2010-06-24 | 2 | -0/+8 |
| | | | | llvm-svn: 106768 | ||||
* | A few minor micro-optimizations. | Dan Gohman | 2010-06-24 | 1 | -5/+11 |
| | | | | llvm-svn: 106764 | ||||
* | Teach getExactSDiv to evaluate x/1 to x up front, as it's a common | Dan Gohman | 2010-06-24 | 1 | -8/+16 |
| | | | | | | | enough special case, and it theoretically allows more folding because it works even when x is unanalyzable. llvm-svn: 106763 | ||||
* | Fix copy+pasto issues in isMulSExtable. | Dan Gohman | 2010-06-24 | 1 | -4/+5 |
| | | | | llvm-svn: 106759 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -3/+3 |
| | | | | llvm-svn: 106752 | ||||
* | use (even more, still) ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -8/+8 |
| | | | | llvm-svn: 106750 | ||||
* | use ArgOperand API and CallSite for arg range; add necessary casts and ↵ | Gabor Greif | 2010-06-24 | 1 | -11/+14 |
| | | | | | | perform some cosmetics llvm-svn: 106747 | ||||
* | use ArgOperand API and CallSite for arg range | Gabor Greif | 2010-06-24 | 1 | -4/+6 |
| | | | | llvm-svn: 106745 | ||||
* | use (even more) ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -5/+5 |
| | | | | llvm-svn: 106744 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -6/+5 |
| | | | | llvm-svn: 106743 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -31/+30 |
| | | | | llvm-svn: 106740 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -4/+4 |
| | | | | llvm-svn: 106737 | ||||
* | use ArgOperand API, also tighten the type of visitFree to make this work out ↵ | Gabor Greif | 2010-06-24 | 2 | -7/+7 |
| | | | | | | smoothly llvm-svn: 106736 | ||||
* | use ArgOperand API; introduce downcasted pointers into scope to facilitate this | Gabor Greif | 2010-06-24 | 1 | -7/+9 |
| | | | | llvm-svn: 106734 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -75/+75 |
| | | | | llvm-svn: 106731 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-24 | 1 | -6/+6 |
| | | | | llvm-svn: 106730 | ||||
* | use callsite to obtain all arguments | Gabor Greif | 2010-06-24 | 1 | -1/+2 |
| | | | | llvm-svn: 106729 | ||||
* | use callsite to obtain all arguments | Gabor Greif | 2010-06-24 | 1 | -1/+2 |
| | | | | llvm-svn: 106728 | ||||
* | use getNumArgOperands | Gabor Greif | 2010-06-24 | 1 | -1/+1 |
| | | | | llvm-svn: 106709 | ||||
* | use ArgOperand API | Gabor Greif | 2010-06-24 | 3 | -4/+4 |
| | | | | llvm-svn: 106707 | ||||
* | Use ValueMap instead of DenseMap. | Devang Patel | 2010-06-24 | 8 | -46/+45 |
| | | | | | | The ValueMapper used by various cloning utility maps MDNodes also. llvm-svn: 106706 | ||||
* | Use available typedef for " DenseMap<const Value*, Value*>". | Devang Patel | 2010-06-24 | 2 | -8/+8 |
| | | | | llvm-svn: 106699 | ||||
* | Cosmetic change. | Devang Patel | 2010-06-23 | 6 | -102/+102 |
| | | | | | | Do not use "ValueMap" as a name for a local variable or an argument. llvm-svn: 106698 | ||||
* | Revert 106592 for now. It causes clang-selfhost build failure. | Devang Patel | 2010-06-22 | 1 | -34/+13 |
| | | | | llvm-svn: 106598 |