class ConstantMergePass

Declaration

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

Description

A pass that merges duplicate global constants into a single constant.

Declared at: llvm/include/llvm/Transforms/IPO/ConstantMerge.h:29

Inherits from: PassInfoMixin

Method Overview

  • public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager &)

Methods

ΒΆllvm::PreservedAnalyses run(
    llvm::Module& M,
    llvm::ModuleAnalysisManager&)

Declared at: llvm/include/llvm/Transforms/IPO/ConstantMerge.h:31

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager&