LLVM  14.0.0git
Public Member Functions | List of all members
llvm::SCEVExpanderCleaner Class Reference

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, DominatorTree &DT)
 
 ~SCEVExpanderCleaner ()
 
void markResultUsed ()
 Indicate that the result of the expansion is used. More...
 
void cleanup ()
 

Detailed Description

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

Definition at line 502 of file ScalarEvolutionExpander.h.

Constructor & Destructor Documentation

◆ SCEVExpanderCleaner()

llvm::SCEVExpanderCleaner::SCEVExpanderCleaner ( SCEVExpander Expander,
DominatorTree DT 
)
inline

Definition at line 512 of file ScalarEvolutionExpander.h.

◆ ~SCEVExpanderCleaner()

llvm::SCEVExpanderCleaner::~SCEVExpanderCleaner ( )
inline

Definition at line 515 of file ScalarEvolutionExpander.h.

References cleanup().

Member Function Documentation

◆ cleanup()

void llvm::SCEVExpanderCleaner::cleanup ( )

◆ markResultUsed()

void llvm::SCEVExpanderCleaner::markResultUsed ( )
inline

Indicate that the result of the expansion is used.

Definition at line 518 of file ScalarEvolutionExpander.h.

Referenced by GeneratedRTChecks::~GeneratedRTChecks().


The documentation for this class was generated from the following files: