Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Now that PassInfo and Pass::ID have been separated, move the rest of the ↵ | Owen Anderson | 2010-08-23 | 1 | -3/+2 |
| | | | | | | passes over to the new registration API. llvm-svn: 111815 | ||||
* | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 1 | -3/+3 |
| | | | | llvm-svn: 110460 | ||||
* | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 1 | -3/+3 |
| | | | | llvm-svn: 110410 | ||||
* | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 1 | -3/+3 |
| | | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396 | ||||
* | Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). | Owen Anderson | 2010-07-21 | 1 | -2/+2 |
| | | | | llvm-svn: 109045 | ||||
* | revert r98550, it isn't necessary or sufficient. | Chris Lattner | 2010-03-15 | 1 | -15/+3 |
| | | | | llvm-svn: 98558 | ||||
* | don't eliminate address-taken blocks here. | Chris Lattner | 2010-03-15 | 1 | -3/+15 |
| | | | | llvm-svn: 98550 | ||||
* | eliminate InvalidateLabel and LabelIDList from MMI and replace | Chris Lattner | 2010-03-14 | 1 | -14/+2 |
| | | | | | | them with a counter. llvm-svn: 98462 | ||||
* | move target-independent opcodes out of TargetInstrInfo | Chris Lattner | 2010-02-09 | 1 | -4/+2 |
| | | | | | | | | | into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687 | ||||
* | Remove includes of Support/Compiler.h that are no longer needed after the | Nick Lewycky | 2009-10-25 | 1 | -1/+0 |
| | | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043 | ||||
* | Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. | Nick Lewycky | 2009-10-25 | 1 | -3/+2 |
| | | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042 | ||||
* | Preserve ProfileInfo. | Andreas Neustifter | 2009-09-09 | 1 | -1/+9 |
| | | | | llvm-svn: 81360 | ||||
* | Make UnreachableMachineBlockElim preserve MachineDominatorTree and | Dan Gohman | 2009-08-01 | 1 | -0/+15 |
| | | | | | | | | | MachineLoopInfo. llc now runs MachineLoopInfo and MachineDominatorTree only twice, instead of three times. llvm-svn: 77759 | ||||
* | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 1 | -1/+1 |
| | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | ||||
* | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 1 | -1/+1 |
| | | | | llvm-svn: 76702 | ||||
* | Begin the painful process of tearing apart the rat'ss nest that is ↵ | Owen Anderson | 2009-07-13 | 1 | -1/+1 |
| | | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445 | ||||
* | Rename getAnalysisToUpdate to getAnalysisIfAvailable. | Duncan Sands | 2009-01-28 | 1 | -1/+1 |
| | | | | llvm-svn: 63198 | ||||
* | Invalidate debug/eh/gc labels when unreachable MBB is deleted. | Anton Korobeynikov | 2008-10-31 | 1 | -13/+27 |
| | | | | | | Based on patch by Martin Nowack! llvm-svn: 58536 | ||||
* | Switch the MachineOperand accessors back to the short names like | Dan Gohman | 2008-10-03 | 1 | -1/+1 |
| | | | | | | isReg, etc., from isRegister, etc. llvm-svn: 57006 | ||||
* | Remove isImm(), isReg(), and friends, in favor of | Dan Gohman | 2008-09-13 | 1 | -1/+1 |
| | | | | | | | | | isImmediate(), isRegister(), and friends, to avoid confusion about having two different names with the same meaning. I'm not attached to the longer names, and would be ok with changing to the shorter names if others prefer it. llvm-svn: 56189 | ||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -2/+2 |
| | | | | llvm-svn: 55779 | ||||
* | Remove more uses of std::set. | Owen Anderson | 2008-08-14 | 1 | -6/+8 |
| | | | | llvm-svn: 54787 | ||||
* | Reduce the entries in a phi before testing it for deadness, because removing ↵ | Owen Anderson | 2008-08-08 | 1 | -7/+7 |
| | | | | | | the entries might make it dead. llvm-svn: 54535 | ||||
* | SDISel's constant branch folding can fold away self-loops, which doesn't ↵ | Owen Anderson | 2008-08-06 | 1 | -15/+40 |
| | | | | | | | | result in any dead blocks, but rather an incorrect phi input. Add code to UnreachableMachineBlockElim to get rid of these entries. llvm-svn: 54432 | ||||
* | Fix breakage on ARM/2008-04-10-ScavengerAssert.ll. | Owen Anderson | 2008-08-05 | 1 | -1/+2 |
| | | | | llvm-svn: 54378 | ||||
* | Correctly handle replacement and removal of PHIs with one incoming register. | Owen Anderson | 2008-08-05 | 1 | -1/+7 |
| | | | | llvm-svn: 54374 | ||||
* | Remove unneeded iteration. Thanks to Dan for the feedback. | Owen Anderson | 2008-08-05 | 1 | -16/+2 |
| | | | | llvm-svn: 54337 | ||||
* | - Fix SelectionDAG to generate correct CFGs. | Owen Anderson | 2008-08-04 | 1 | -3/+87 |
| | | | | | | | | - Add a basic machine-level dead block eliminator. These two have to go together, since many other parts of the code generator are unable to handle the unreachable blocks otherwise created. llvm-svn: 54333 | ||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -3/+3 |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Fix typo in comment. | Nick Lewycky | 2007-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 36873 | ||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -2/+2 |
| | | | | llvm-svn: 36662 | ||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -2/+2 |
| | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+4 |
| | | | | llvm-svn: 36632 | ||||
* | eliminate RegisterOpt. It does the same thing as RegisterPass. | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | llvm-svn: 29925 | ||||
* | s|llvm/Support/Visibility.h|llvm/Support/Compiler.h| | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | llvm-svn: 29911 | ||||
* | Use hidden visibility to make symbols in an anonymous namespace get | Chris Lattner | 2006-06-28 | 1 | -1/+2 |
| | | | | | | dropped. This shrinks libllvmgcc.dylib another 67K llvm-svn: 28975 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -3/+3 |
| | | | | llvm-svn: 21420 | ||||
* | Fix the missing symbols problem Bill was hitting. Patch contributed by | Chris Lattner | 2005-03-17 | 1 | -0/+1 |
| | | | | | | Bill Wendling!! llvm-svn: 20649 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403: | Chris Lattner | 2004-07-29 | 1 | -1/+1 |
| | | | | | | http://llvm.cs.uiuc.edu/PR403 . llvm-svn: 15333 | ||||
* | Fix a bug in the unreachable block elim pass. Dropping all references on a | Chris Lattner | 2004-07-06 | 1 | -4/+11 |
| | | | | | | | | basic block clear()'s all of the operands lists, including phis. This caused removePredecessor to get confused later. Because of this, we just nuke (without prejudice) PHI nodes in unreachable blocks. llvm-svn: 14635 | ||||
* | Add a trivially simple pass to delete unreachable blocks from the CFG. This | Chris Lattner | 2004-07-02 | 1 | -0/+68 |
pass is required to paper over problems in the code generator (primarily live variables and its clients) which doesn't really have any well defined semantics for unreachable code. The proper solution to this problem is to have instruction selectors not select blocks that are unreachable. Until we have a instruction selection framework available for use, however, we can't expect all instruction selector writers to do this. Until then, this pass should be used. llvm-svn: 14563 |