Apply CFG updates with an additional post‐view of the CFG.

Synopsis

Declared in <llvm/Support/GenericDomTree.h>

void
applyUpdates(
    ArrayRef<UpdateType> Updates,
    ArrayRef<UpdateType> PostViewUpdates);

Parameters

Name

Description

Updates

An ordered sequence of updates to perform. The current CFG and the reverse of these updates provides the pre‐view of the CFG.

PostViewUpdates

An ordered sequence of update to perform in order to obtain a post‐view of the CFG. The DT will be updated assuming the obtained PostViewCFG is the desired end state.

Created with MrDocs