LLVM  16.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)
 
 ~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 509 of file ScalarEvolutionExpander.h.

Constructor & Destructor Documentation

◆ SCEVExpanderCleaner()

llvm::SCEVExpanderCleaner::SCEVExpanderCleaner ( SCEVExpander Expander)
inline

Definition at line 517 of file ScalarEvolutionExpander.h.

◆ ~SCEVExpanderCleaner()

llvm::SCEVExpanderCleaner::~SCEVExpanderCleaner ( )
inline

Definition at line 520 of file ScalarEvolutionExpander.h.

References cleanup().

Member Function Documentation

◆ cleanup()

void SCEVExpanderCleaner::cleanup ( )

◆ markResultUsed()

void llvm::SCEVExpanderCleaner::markResultUsed ( )
inline

Indicate that the result of the expansion is used.

Definition at line 523 of file ScalarEvolutionExpander.h.

Referenced by ReduceLoopStrength(), and GeneratedRTChecks::~GeneratedRTChecks().


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