class upward_defs_iterator

Declaration

class upward_defs_iterator : public iterator_facade_base { /* full declaration omitted */ };

Description

Provide an iterator that walks defs, giving both the memory access, and the current pointer location, updating the pointer location as it changes due to phi node translation. This iterator, while somewhat specialized, is what most clients actually want when walking upwards through MemorySSA def chains. It takes a pair of <MemoryAccess ,MemoryLocation>, and walks defs, properly translating the memory location through phi nodes for the user.

Declared at: llvm/include/llvm/Analysis/MemorySSA.h:1178

Inherits from: iterator_facade_base

Method Overview

Methods

llvm::BasicBlock* getPhiArgBlock() const

Declared at: llvm/include/llvm/Analysis/MemorySSA.h:1216

upward_defs_iterator(
    const llvm::MemoryAccessPair& Info)

Declared at: llvm/include/llvm/Analysis/MemorySSA.h:1185

Parameters

const llvm::MemoryAccessPair& Info

upward_defs_iterator()

Declared at: llvm/include/llvm/Analysis/MemorySSA.h:1194