10 #ifndef LLVM_ADT_ILIST_BASE_H 11 #define LLVM_ADT_ILIST_BASE_H 19 template <
bool EnableSentinelTracking>
class ilist_base {
49 First.setPrev(
nullptr);
50 Final->setNext(
nullptr);
55 if (&Next == &Last || &First == &Last)
61 "Insertion point can't be one of the transferred nodes");
66 First.getPrev()->setNext(&Last);
67 Last.setPrev(First.getPrev());
93 #endif // LLVM_ADT_ILIST_BASE_H This class represents lattice values for constants.
static void insertBefore(T &Next, T &N)
static void transferBefore(T &Next, T &First, T &Last)
static void removeImpl(node_base_type &N)
static void insertBeforeImpl(node_base_type &Next, node_base_type &N)
Base class for ilist nodes.
static void transferBeforeImpl(node_base_type &Next, node_base_type &First, node_base_type &Last)
static void removeRange(T &First, T &Last)
Implementations of list algorithms using ilist_node_base.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
static void removeRangeImpl(node_base_type &First, node_base_type &Last)