| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Revert r111082. No warnings for this common pattern. | Argyrios Kyrtzidis | 2010-08-15 | 1 | -2/+2 |
| | | | | | llvm-svn: 111102 | ||||
| * | Add ATTRIBUTE_UNUSED to methods that are not supposed to be used. | Argyrios Kyrtzidis | 2010-08-14 | 1 | -2/+2 |
| | | | | | llvm-svn: 111082 | ||||
| * | Move some code from Verifier into SVI::isValidOperands. This allows us to ↵ | Nate Begeman | 2010-08-13 | 2 | -23/+17 |
| | | | | | | | catch bad shufflevector operations when they are created, rather than waiting for someone to notice later on. llvm-svn: 110986 | ||||
| * | Trim #includes. | Dan Gohman | 2010-08-12 | 2 | -7/+0 |
| | | | | | llvm-svn: 110983 | ||||
| * | Tidy up whitespace. | Dan Gohman | 2010-08-12 | 1 | -85/+87 |
| | | | | | llvm-svn: 110982 | ||||
| * | Use .empty() instead of .size(). | Dan Gohman | 2010-08-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 110981 | ||||
| * | Remove BasicBlockPass::runOnFunction, which was unused. | Dan Gohman | 2010-08-11 | 1 | -10/+0 |
| | | | | | llvm-svn: 110847 | ||||
| * | Delete FunctionPass::run, which is unused. | Dan Gohman | 2010-08-11 | 1 | -11/+0 |
| | | | | | llvm-svn: 110843 | ||||
| * | Delete FunctionPass::runOnModule, which is unused. | Dan Gohman | 2010-08-11 | 1 | -13/+0 |
| | | | | | llvm-svn: 110842 | ||||
| * | Reject unrepresentable pointer types in intrinsics. Fixes PR7316. | Nick Lewycky | 2010-08-08 | 1 | -2/+7 |
| | | | | | llvm-svn: 110541 | ||||
| * | More #include cleanups. | Dan Gohman | 2010-08-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 110499 | ||||
| * | Oops, check in this file too. | Dan Gohman | 2010-08-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 110496 | ||||
| * | Tidy some #includes and forward-declarations, and move the C binding code | Dan Gohman | 2010-08-07 | 3 | -41/+37 |
| | | | | | | | out of PassManager.cpp and into Core.cpp with the rest of the C binding code. llvm-svn: 110494 | ||||
| * | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 5 | -84/+101 |
| | | | | | llvm-svn: 110460 | ||||
| * | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 5 | -90/+75 |
| | | | | | llvm-svn: 110410 | ||||
| * | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 5 | -75/+90 |
| | | | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396 | ||||
| * | remove the private hack from CallInst, it was not supposed to hit the branch ↵ | Gabor Greif | 2010-08-05 | 1 | -1/+1 |
| | | | | | | | | | | anyway as a positive consequence the CallSite::getCallee() methods now can be rewritten to be a bit more efficient llvm-svn: 110380 | ||||
| * | Eliminate unnecessary empty string literals. | Dan Gohman | 2010-08-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 110183 | ||||
| * | Fix visitInvokeInst to call visitTerminatorInst, and remove | Dan Gohman | 2010-08-02 | 1 | -4/+1 |
| | | | | | | | a redundant check from checkInstruction. llvm-svn: 110076 | ||||
| * | Add Verifier logic for indirectbr. | Dan Gohman | 2010-08-02 | 1 | -0/+11 |
| | | | | | llvm-svn: 110075 | ||||
| * | Prefix `next' iterator operation with `llvm::'. | Oscar Fuentes | 2010-08-02 | 2 | -3/+3 |
| | | | | | | | | | Fixes potential ambiguity problems on VS 2010. Patch by nobled! llvm-svn: 110029 | ||||
| * | Preallocate vector, avoid unnecessary vector growth. | Benjamin Kramer | 2010-08-01 | 1 | -0/+1 |
| | | | | | llvm-svn: 109971 | ||||
| * | Make GlobalValue alignment consistent with load, store, and alloca | Dan Gohman | 2010-07-28 | 1 | -1/+8 |
| | | | | | | | alignment, fixing silent truncation of alignment values. llvm-svn: 109653 | ||||
| * | Define a maximum supported alignment value for load, store, and | Dan Gohman | 2010-07-28 | 1 | -0/+8 |
| | | | | | | | | | | alloca instructions (constrained by their internal encoding), and add error checking for it. Fix an instcombine bug which generated huge alignment values (null is infinitely aligned). This fixes undefined behavior noticed by John Regehr. llvm-svn: 109643 | ||||
| * | After updating value handles for RAUW, check that no weak or tracking handles | Duncan Sands | 2010-07-27 | 1 | -1/+19 |
| | | | | | | | | | are still on the list. This might happen if a CallbackVH created some new value handles for the old value when doing RAUW. Barf if it occurs, since it is almost certainly a mistake. llvm-svn: 109495 | ||||
| * | Fix (at least) quadratic worst-case complexity in DominanceFrontier::splitBlock: | Dan Gohman | 2010-07-26 | 1 | -52/+64 |
| | | | | | | | | | | | | | | | don't visit all blocks in the function, and don't iterate over the split blocks' predecessor lists for each block visited. Also, remove the special-case test for the entry block. Splitting the entry block isn't common enough to make this worthwhile. This fixes a major compile-time bottleneck which is exposed now that LoopSimplify isn't being redundantly run both before and after DominanceFrontier. llvm-svn: 109408 | ||||
| * | Avoid copying and recopying a std::set. | Dan Gohman | 2010-07-26 | 1 | -6/+2 |
| | | | | | llvm-svn: 109405 | ||||
| * | Exit a search loop when the search goal is found. | Dan Gohman | 2010-07-26 | 1 | -1/+3 |
| | | | | | llvm-svn: 109404 | ||||
| * | Fix formatting. | Dan Gohman | 2010-07-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 109403 | ||||
| * | Reduce string trashing. | Benjamin Kramer | 2010-07-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 109386 | ||||
| * | PR7704: A function is not allowed to return a function; make sure to enforce | Eli Friedman | 2010-07-24 | 1 | -2/+2 |
| | | | | | | | this consistently. llvm-svn: 109360 | ||||
| * | Clarify that if a new value handle is added while dropping value handles | Duncan Sands | 2010-07-24 | 1 | -4/+9 |
| | | | | | | | | hanging off a value, then the dropping code will intentionally not drop it too (since this is almost certainly a bug). llvm-svn: 109337 | ||||
| * | undo 80 column trespassing I caused | Gabor Greif | 2010-07-22 | 1 | -1/+2 |
| | | | | | llvm-svn: 109092 | ||||
| * | Make NamedMDNode not be a subclass of Value, and simplify the interface | Dan Gohman | 2010-07-21 | 6 | -77/+28 |
| | | | | | | | for creating and populating NamedMDNodes. llvm-svn: 109061 | ||||
| * | Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). | Owen Anderson | 2010-07-21 | 2 | -8/+8 |
| | | | | | llvm-svn: 109045 | ||||
| * | NamedMDNode is never an operand. | Dan Gohman | 2010-07-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 109031 | ||||
| * | Disallow null as a named metadata operand. | Dan Gohman | 2010-07-21 | 2 | -9/+4 |
| | | | | | | | | | | | | Make MDNode::destroy private. Fix the one thing that used MDNode::destroy, outside of MDNode itself. One should never delete or destroy an MDNode explicitly. MDNodes implicitly go away when there are no references to them (implementation details aside). llvm-svn: 109028 | ||||
| * | Use TrackingVH instead of WeakVH for NamedMDNode's operands, since nodes | Dan Gohman | 2010-07-21 | 1 | -7/+7 |
| | | | | | | | referenced by NamedMDNodes shouldn't be deleted. llvm-svn: 109021 | ||||
| * | Tidy. | Dan Gohman | 2010-07-21 | 1 | -4/+1 |
| | | | | | llvm-svn: 109020 | ||||
| * | Move the smarts of AnalysisGroup registration into PassRegistry. | Owen Anderson | 2010-07-21 | 2 | -37/+36 |
| | | | | | llvm-svn: 109019 | ||||
| * | Give MDNode printing has access to the current Module in more | Dan Gohman | 2010-07-20 | 1 | -39/+62 |
| | | | | | | | | cases. This will be needed when function-local metadata can appear in places that aren't intrinsic function arguments. llvm-svn: 108971 | ||||
| * | Move the handling of PassRegistrationListener's to PassRegistry. | Owen Anderson | 2010-07-20 | 2 | -37/+28 |
| | | | | | llvm-svn: 108966 | ||||
| * | Rename removeAllMetadata to clearMetadataHashEntries and simplify | Dan Gohman | 2010-07-20 | 2 | -10/+8 |
| | | | | | | | | it to just do the things that need to be done when an instruction is deleted. llvm-svn: 108948 | ||||
| * | Add support for remapping metadata kind IDs when reading in a | Dan Gohman | 2010-07-20 | 1 | -8/+5 |
| | | | | | | | | | | | | | | bitcode file, so that two bitcode files where the same metadata kind name happens to have been assigned a different ID can still be linked together. Eliminate the restriction that metadata kind IDs can't be 0. Change MD_dbg from 1 to 0, because we can now, and because it's less mysterious that way. llvm-svn: 108939 | ||||
| * | Move more functionality from Pass.cpp to PassRegistry.cpp. This global will ↵ | Owen Anderson | 2010-07-20 | 2 | -48/+49 |
| | | | | | | | go away eventually, but for now we still need it around. llvm-svn: 108932 | ||||
| * | Remove setDbgMetadata and getDbgMetadata; their users have been | Dan Gohman | 2010-07-20 | 1 | -4/+0 |
| | | | | | | | replaced with setDebugLoc and getDebugLoc. llvm-svn: 108914 | ||||
| * | I just fail with SVN today. | Owen Anderson | 2010-07-20 | 1 | -0/+72 |
| | | | | | llvm-svn: 108888 | ||||
| * | Convert the internal PassRegistrar class into a new, external PassRegistry ↵ | Owen Anderson | 2010-07-20 | 2 | -99/+21 |
| | | | | | | | class. No intended functionality change at this point. llvm-svn: 108877 | ||||
| * | Pull out r108755. After offline discussion with Chris, we're going to go a ↵ | Owen Anderson | 2010-07-20 | 1 | -17/+10 |
| | | | | | | | different direction with this. llvm-svn: 108856 | ||||
| * | Speculatively revert r108813, in an attempt to get the self-host buildbots ↵ | Owen Anderson | 2010-07-20 | 2 | -32/+29 |
| | | | | | | | | | working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. llvm-svn: 108818 | ||||

