LLVM  8.0.1
Public Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for llvm::ADCEPass:
Collaboration graph
[legend]

Public Member Functions

PreservedAnalyses run (Function &F, FunctionAnalysisManager &)
 

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. More...
 

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 32 of file ADCE.h.

Member Function Documentation

◆ run()

PreservedAnalyses ADCEPass::run ( Function F,
FunctionAnalysisManager FAM 
)

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