Fold the useful features of alist and alist_node into ilist, and
a new ilist_node class, and remove them. Unlike alist_node, ilist_node doesn't attempt to manage storage itself, so it avoids the associated problems, including being opaque in gdb. Adjust the Recycler class so that it doesn't depend on alist_node. Also, change it to use explicit Size and Align parameters, allowing it to work when the largest-sized node doesn't have the greatest alignment requirement. Change MachineInstr's MachineMemOperand list from a pool-backed alist to a std::list for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54146 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/llvm/ADT/SparseBitVector.h 3 additions, 35 deletionsinclude/llvm/ADT/SparseBitVector.h
- include/llvm/ADT/alist.h 0 additions, 296 deletionsinclude/llvm/ADT/alist.h
- include/llvm/ADT/alist_node.h 0 additions, 123 deletionsinclude/llvm/ADT/alist_node.h
- include/llvm/ADT/ilist.h 27 additions, 8 deletionsinclude/llvm/ADT/ilist.h
- include/llvm/ADT/ilist_node.h 43 additions, 0 deletionsinclude/llvm/ADT/ilist_node.h
- include/llvm/Analysis/AliasSetTracker.h 7 additions, 12 deletionsinclude/llvm/Analysis/AliasSetTracker.h
- include/llvm/Argument.h 1 addition, 11 deletionsinclude/llvm/Argument.h
- include/llvm/BasicBlock.h 2 additions, 12 deletionsinclude/llvm/BasicBlock.h
- include/llvm/Bitcode/Archive.h 2 additions, 14 deletionsinclude/llvm/Bitcode/Archive.h
- include/llvm/CodeGen/MachineBasicBlock.h 20 additions, 12 deletionsinclude/llvm/CodeGen/MachineBasicBlock.h
- include/llvm/CodeGen/MachineFunction.h 10 additions, 19 deletionsinclude/llvm/CodeGen/MachineFunction.h
- include/llvm/CodeGen/MachineInstr.h 13 additions, 9 deletionsinclude/llvm/CodeGen/MachineInstr.h
- include/llvm/CodeGen/SelectionDAG.h 44 additions, 14 deletionsinclude/llvm/CodeGen/SelectionDAG.h
- include/llvm/CodeGen/SelectionDAGISel.h 1 addition, 1 deletioninclude/llvm/CodeGen/SelectionDAGISel.h
- include/llvm/CodeGen/SelectionDAGNodes.h 9 additions, 23 deletionsinclude/llvm/CodeGen/SelectionDAGNodes.h
- include/llvm/Function.h 2 additions, 13 deletionsinclude/llvm/Function.h
- include/llvm/GlobalAlias.h 2 additions, 11 deletionsinclude/llvm/GlobalAlias.h
- include/llvm/GlobalVariable.h 2 additions, 11 deletionsinclude/llvm/GlobalVariable.h
- include/llvm/Instruction.h 2 additions, 13 deletionsinclude/llvm/Instruction.h
- include/llvm/Support/Recycler.h 54 additions, 38 deletionsinclude/llvm/Support/Recycler.h
Loading
Please register or sign in to comment