LLVM 22.0.0git
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.
LLVM_ABI void cleanup ()

Detailed Description

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

Definition at line 561 of file ScalarEvolutionExpander.h.

Constructor & Destructor Documentation

◆ SCEVExpanderCleaner()

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

Definition at line 569 of file ScalarEvolutionExpander.h.

◆ ~SCEVExpanderCleaner()

llvm::SCEVExpanderCleaner::~SCEVExpanderCleaner ( )
inline

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


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