class NewGVNPass

Declaration

class NewGVNPass : public PassInfoMixin { /* full declaration omitted */ };

Description

A CRTP mix-in to automatically provide informational APIs needed for passes. This provides some boilerplate for types that are passes.

Declared at: llvm/include/llvm/Transforms/Scalar/NewGVN.h:23

Inherits from: PassInfoMixin

Method Overview

  • public llvm::PreservedAnalyses run(llvm::Function & F, AnalysisManager<llvm::Function> & AM)

Methods

ΒΆllvm::PreservedAnalyses run(
    llvm::Function& F,
    AnalysisManager<llvm::Function>& AM)

Description

Run the pass over the function.

Declared at: llvm/include/llvm/Transforms/Scalar/NewGVN.h:26

Parameters

llvm::Function& F
AnalysisManager<llvm::Function>& AM