summaryrefslogtreecommitdiff
path: root/include/llvm/BasicBlock.h
Commit message (Collapse)AuthorAge
* Made the following changes:Chris Lattner2001-07-14
| | | | | | | | | | | | | | | | * ValueHolder became a 3 argument template. This allows for BasicBlock to use the value holder arg as a typesafe parent pointer. * SymTabValue no longer inherits from Value * Method does not inherit from only SymTabValue. Now it inherits from both STV & Value. * Module does not inherit from only SymTabValue. Now it inherits from both STV & Value. * Updated the SymTabValue.h file to reference SymTabValue instead of STDef in several places * Added isArraySelector & isStructSelector to GetElementPtr instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed the fundemental architecture of Operands for Instructions. NowChris Lattner2001-07-07
| | | | | | | | | | | | Operands are maintained as a vector<Use> in the User class, and operator iterators are provided as before. Getting an operand no longer requires a virtual function call. WARNING: getOperand(x) where x >= getNumOperands() will now assert instead of returning null! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149 91177308-0d34-0410-b5e6-96231b3b80d8
* Added new removePredecessor method prototypeChris Lattner2001-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99 91177308-0d34-0410-b5e6-96231b3b80d8
* Add extra forwarding accessor methods so that getMethodList(), getBasicBlocks()Chris Lattner2001-06-27
| | | | | | | | and getInstList() are obsolete... except for when modifying those lists. This makes code much more succinct and to the point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor the predeclarations of the CFG.h functionality into a seperate, new ↵Chris Lattner2001-06-20
| | | | | | | | | | | header file: CFGdecls.h This allows the addition of BasicBlock::(pred|succ)_iterator typedefs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved iterators to the new CFG.h file.Chris Lattner2001-06-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixes for BB iterators, additional methods added for DCE passChris Lattner2001-06-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial revisionChris Lattner2001-06-06
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8