llvm::def_chain

Return a range walking defining accesses from MA up to UpTo.

Synopsis

Declared in <llvm/Analysis/MemorySSA.h>

template<class T>
iterator_range<def_chain_iterator<T>>
def_chain(
    T MA,
    MemoryAccess* UpTo = nullptr);

Return Value

A range walking defining accesses from MA up to UpTo.

Parameters

NameDescription
MAAccess at which to begin the def chain.
UpToOptional end access; the range stops before this node.