LLVM 23.0.0git
llvm::InstCountPass Class Reference

#include "llvm/Analysis/InstCount.h"

Inheritance diagram for llvm::InstCountPass:
[legend]

Public Member Functions

 InstCountPass (bool IsPreOptimization=false)
PreservedAnalyses run (Function &F, FunctionAnalysisManager &FAM)
Public Member Functions inherited from llvm::PassInfoMixin< InstCountPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file InstCount.h.

Constructor & Destructor Documentation

◆ InstCountPass()

llvm::InstCountPass::InstCountPass ( bool IsPreOptimization = false)
inlineexplicit

Definition at line 26 of file InstCount.h.

Member Function Documentation

◆ run()

PreservedAnalyses InstCountPass::run ( Function & F,
FunctionAnalysisManager & FAM )

Definition at line 98 of file InstCount.cpp.

References llvm::PreservedAnalyses::all(), llvm::dbgs(), F, FAM, and LLVM_DEBUG.


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