LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::ArgumentPromotionPass Class Reference

Argument promotion pass. More...

#include "llvm/Transforms/IPO/ArgumentPromotion.h"

Inheritance diagram for llvm::ArgumentPromotionPass:
Inheritance graph
[legend]
Collaboration diagram for llvm::ArgumentPromotionPass:
Collaboration graph
[legend]

Public Member Functions

PreservedAnalyses run (LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, LazyCallGraph &CG, CGSCCUpdateResult &UR)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< ArgumentPromotionPass >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

Argument promotion pass.

This pass walks the functions in each SCC and for each one tries to transform it and all of its callers to replace indirect arguments with direct (by-value) arguments.

Definition at line 24 of file ArgumentPromotion.h.

Member Function Documentation

◆ run()

PreservedAnalyses ArgumentPromotionPass::run ( LazyCallGraph::SCC C,
CGSCCAnalysisManager AM,
LazyCallGraph CG,
CGSCCUpdateResult UR 
)

The documentation for this class was generated from the following files: