llvm::MemorySSA::ensureOptimizedUses

Optimize MemoryUses for this MemorySSA instance if not already done.

Synopsis

Declared in <llvm/Analysis/MemorySSA.h>

void
ensureOptimizedUses();

Description

By default, uses are not optimized during MemorySSA construction. Calling this method will attempt to optimize all MemoryUses, if this has not happened yet for this MemorySSA instance. This should be done if you plan to query the clobbering access for most uses, or if you walk the def-use chain of uses.