class ReversePostOrderFunctionAttrsPass

Declaration

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

Description

A pass to do RPO deduction and propagation of function attributes. This pass provides a general RPO or "top down" propagation of function attributes. For a few (rare) cases, we can deduce significantly more about function attributes by working in RPO, so this pass provides the complement to the post-order pass above where the majority of deduction is performed.

Declared at: llvm/include/llvm/Transforms/IPO/FunctionAttrs.h:69

Inherits from: PassInfoMixin

Method Overview

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

Methods

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

Declared at: llvm/include/llvm/Transforms/IPO/FunctionAttrs.h:72

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager& AM