Use delete by default for iplist and ilist.

Synopsis

Declared in <llvm/ADT/ilist.h>

template<typename NodeTy>
struct ilist_alloc_traits;

Description

Specialize this to get different behaviour for ownership‐related API. (If you really want ownership semantics, consider using std::list or building something like BumpPtrList.)

Static Member Functions

Name

Description

deleteNode

Delete node V with the default delete operator.

Specializations

Name

Description

ilist_alloc_traits<Instruction>

ilist allocation traits for Instruction that destroy via deleteValue.

ilist_alloc_traits<MachineBasicBlock>

Allocation traits for MachineBasicBlock nodes in an ilist.

ilist_alloc_traits<MemoryAccess>

ilist allocation traits that destroy MemoryAccess via deleteValue().

ilist_alloc_traits<SDNode>

ilist allocation traits for SDNode; nodes are not deleted through the list.

Derived Classes

Name

Description

SymbolTableListTraits

Traits that keep parent links and symbol tables in sync with list changes.

ilist_node_traits

A fragment for template traits for intrusive list that provides default node related operations.

See Also

ilist_noalloc_traits

Created with MrDocs