struct ADCEPass

Declaration

struct ADCEPass : public PassInfoMixin { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/Transforms/Scalar/ADCE.h:31

Inherits from: PassInfoMixin

Method Overview

  • public llvm::PreservedAnalyses run(llvm::Function & F, llvm::FunctionAnalysisManager &)

Methods

ΒΆllvm::PreservedAnalyses run(
    llvm::Function& F,
    llvm::FunctionAnalysisManager&)

Declared at: llvm/include/llvm/Transforms/Scalar/ADCE.h:32

Parameters

llvm::Function& F
llvm::FunctionAnalysisManager&