llvm::SCEVExpanderCleaner

Helper to remove instructions inserted during SCEV expansion, unless they are marked as used.

Synopsis

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

class SCEVExpanderCleaner;

Member Functions

NameDescription
SCEVExpanderCleaner [constructor]Create a cleaner that removes unused expansions from Expander.
~SCEVExpanderCleaner [destructor]Destroy the cleaner and remove unused expansions unless marked used.
cleanup Remove unused instructions inserted during SCEV expansion.
markResultUsed Indicate that the result of the expansion is used.