llvm::LoadAndStorePromoter::replaceLoadWithValue

Clients can choose to implement this to get notified right before a load is RAUW'd another value.

Synopsis

Declared in <llvm/Transforms/Utils/SSAUpdater.h>

virtual
void
replaceLoadWithValue(
    LoadInst* LI,
    Value* V) const;

Parameters

NameDescription
LILoad being replaced.
VValue that replaces LI.