LLVM 22.0.0git
llvm::ADCEPass Struct Reference

A DCE pass that assumes instructions are dead until proven otherwise. More...

#include "llvm/Transforms/Scalar/ADCE.h"

Inheritance diagram for llvm::ADCEPass:
[legend]

Public Member Functions

PreservedAnalyses run (Function &F, FunctionAnalysisManager &)
Public Member Functions inherited from llvm::PassInfoMixin< ADCEPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

Static Public Member Functions inherited from llvm::PassInfoMixin< ADCEPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

A DCE pass that assumes instructions are dead until proven otherwise.

This pass eliminates dead code by optimistically assuming that all instructions are dead until proven otherwise. This allows it to eliminate dead computations that other DCE passes do not catch, particularly involving loop computations.

Definition at line 31 of file ADCE.h.

Member Function Documentation

◆ run()


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