LLVM 20.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.
 
void cleanup ()
 

Detailed Description

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

Definition at line 541 of file ScalarEvolutionExpander.h.

Constructor & Destructor Documentation

◆ SCEVExpanderCleaner()

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

Definition at line 549 of file ScalarEvolutionExpander.h.

◆ ~SCEVExpanderCleaner()

llvm::SCEVExpanderCleaner::~SCEVExpanderCleaner ( )
inline

Definition at line 552 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 555 of file ScalarEvolutionExpander.h.


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