struct GVNHoistPass

Declaration

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

Description

A simple and fast domtree-based GVN pass to hoist common expressions from sibling branches.

Declared at: llvm/include/llvm/Transforms/Scalar/GVN.h:376

Inherits from: PassInfoMixin

Method Overview

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

Methods

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

Description

Run the pass over the function.

Declared at: llvm/include/llvm/Transforms/Scalar/GVN.h:378

Parameters

llvm::Function& F
llvm::FunctionAnalysisManager& AM