summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/BasicBlock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete methodChris Lattner2004-02-111-13/+0
| | | | llvm-svn: 11302
* Adjust to the new BB ctorChris Lattner2004-02-041-24/+8
| | | | llvm-svn: 11113
* When splitting a basic block, insert the new half immediately after the firstChris Lattner2004-02-041-1/+1
| | | | | | half. llvm-svn: 11110
* In BasicBlock::splitBasicBlock, just use islist::splice to move the ↵Chris Lattner2004-02-031-8/+3
| | | | | | | | | | | instructions, instead of a loop that is really inefficient with large basic blocks. This speeds up the inliner pass on the testcase in PR209 from 13.8s to 2.24s which still isn't exactly speedy, but is a lot better. :) llvm-svn: 11105
* Minor cleanups and simplificationsChris Lattner2003-11-211-28/+26
| | | | llvm-svn: 10127
* Start using the nicer terminator auto-insertion APIChris Lattner2003-11-201-1/+1
| | | | llvm-svn: 10111
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-1/+5
| | | | llvm-svn: 9903
* Make code gcc 3.4 cleanChris Lattner2003-11-051-1/+1
| | | | llvm-svn: 9719
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Do not use BasicBlock::succ_iteratorChris Lattner2003-09-241-2/+1
| | | | llvm-svn: 8700
* Allow specifying the name for the newly split basic blockChris Lattner2003-08-241-2/+2
| | | | llvm-svn: 8097
* Fix a bug that occurred when removing the last predecessor INTO anChris Lattner2003-04-251-1/+5
| | | | | | infinite loop llvm-svn: 5953
* Remove unnecesary &*'sChris Lattner2003-04-231-2/+2
| | | | llvm-svn: 5872
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-3/+3
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd toChris Lattner2002-10-131-2/+2
| | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147
* Changes to support PHINode::removeIncoming changesChris Lattner2002-10-081-7/+6
| | | | llvm-svn: 4080
* - Add new ctor to BasicBlock to allow insertion before any BB, not just atChris Lattner2002-09-261-0/+20
| | | | | | the end of the function. llvm-svn: 3934
* Enable "garbage detection" of LLVM objects. Now users should be obnoxiousChris Lattner2002-09-081-2/+15
| | | | | | warnings. If they accidentally leak LLVM Value's. llvm-svn: 3620
* Move code out of header files into .cpp files to make future changes easierChris Lattner2002-09-061-0/+7
| | | | llvm-svn: 3605
* Avoid warning: control reaches end of non-void functionChris Lattner2002-07-251-1/+4
| | | | llvm-svn: 3081
* Moved MachineCodeForBB to be an annotation on BasicBlock.Vikram S. Adve2002-07-081-4/+1
| | | | llvm-svn: 2818
* MEGAPATCH checkin.Chris Lattner2002-06-251-30/+48
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Fix bug: test/Regression/Transforms/ADCE/2002-05-23-ZeroArgPHITest.llChris Lattner2002-05-231-1/+4
| | | | | | Which contains a description of why this is neccesary. llvm-svn: 2733
* Fix bug: test/Regression/Transforms/CFGSimplify/2002-05-21-PHIElimination.llChris Lattner2002-05-211-4/+21
| | | | llvm-svn: 2694
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* s/Method/FunctionChris Lattner2002-04-081-5/+5
| | | | llvm-svn: 2180
* Move include/llvm/ValueHolderImpl.h to lib/VMCore/ValueHolderImpl.hChris Lattner2002-04-081-1/+1
| | | | llvm-svn: 2156
* Fix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.llChris Lattner2002-02-251-0/+20
| | | | llvm-svn: 1798
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-121-4/+3
| | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-2/+2
| | | | llvm-svn: 1503
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-3/+3
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-031-1/+1
| | | | llvm-svn: 1405
* Commit more code over to new cast styleChris Lattner2001-10-021-10/+8
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-011-1/+1
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Pull predecessor and successor iterators out of the CFG*.h files, and plop ↵Chris Lattner2001-10-011-4/+2
| | | | | | | | | them into the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock, and the cfg namespace isn't used anymore. llvm-svn: 691
* Support new setName itfChris Lattner2001-09-071-6/+5
| | | | llvm-svn: 459
* Added vector of machine instructions for the basic block.Vikram S. Adve2001-07-301-1/+6
| | | | llvm-svn: 330
* * ValueHolder now takes 3 argumentsChris Lattner2001-07-141-5/+4
| | | | | | | | | * Added a few methods to ConstantPool * ConstPoolVal no longer derives from Value * Method & Module multiply inherit from SymTabValue & Value now * Added a GetElementPtrInst::isStructSelector() method llvm-svn: 184
* Add implementation of BasicBlock::removePredecessor code that was factoredChris Lattner2001-06-291-0/+48
| | | | | | out of DCE.cpp llvm-svn: 103
* Miscellaneous cleanups:Chris Lattner2001-06-271-3/+3
| | | | | | | | | | | * Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method llvm-svn: 96
* Initial revisionChris Lattner2001-06-061-0/+113
llvm-svn: 2
OpenPOWER on IntegriCloud