LLVM
15.0.0git
|
Helper to remove instructions inserted during SCEV expansion, unless they are marked as used. More...
#include "llvm/Transforms/Utils/ScalarEvolutionExpander.h"
Public Member Functions | |
SCEVExpanderCleaner (SCEVExpander &Expander) | |
~SCEVExpanderCleaner () | |
void | markResultUsed () |
Indicate that the result of the expansion is used. More... | |
void | cleanup () |
Helper to remove instructions inserted during SCEV expansion, unless they are marked as used.
Definition at line 507 of file ScalarEvolutionExpander.h.
|
inline |
Definition at line 515 of file ScalarEvolutionExpander.h.
|
inline |
Definition at line 518 of file ScalarEvolutionExpander.h.
References cleanup().
void llvm::SCEVExpanderCleaner::cleanup | ( | ) |
Definition at line 2647 of file ScalarEvolutionExpander.cpp.
References llvm::all_of(), assert(), llvm::SmallPtrSetImplBase::clear(), llvm::UndefValue::get(), I, and llvm::reverse().
Referenced by GeneratedRTChecks::~GeneratedRTChecks(), and ~SCEVExpanderCleaner().
|
inline |
Indicate that the result of the expansion is used.
Definition at line 521 of file ScalarEvolutionExpander.h.
Referenced by GeneratedRTChecks::~GeneratedRTChecks().