LLVM 22.0.0git
llvm::AssumptionAnalysis Class Reference

A function analysis which provides an AssumptionCache. More...

#include "llvm/Analysis/AssumptionCache.h"

Inheritance diagram for llvm::AssumptionAnalysis:
[legend]

Public Types

using Result = AssumptionCache

Public Member Functions

LLVM_ABI AssumptionCache run (Function &F, FunctionAnalysisManager &)
Public Member Functions inherited from llvm::PassInfoMixin< AssumptionAnalysis >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

Static Public Member Functions inherited from llvm::AnalysisInfoMixin< AssumptionAnalysis >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type.
Static Public Member Functions inherited from llvm::PassInfoMixin< AssumptionAnalysis >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

A function analysis which provides an AssumptionCache.

This analysis is intended for use with the new pass manager and will vend assumption caches for a given function.

Definition at line 174 of file AssumptionCache.h.

Member Typedef Documentation

◆ Result

Member Function Documentation

◆ run()

AssumptionCache AssumptionAnalysis::run ( Function & F,
FunctionAnalysisManager & FAM )

Definition at line 219 of file AssumptionCache.cpp.

References llvm::AssumptionCache::AssumptionCache(), F, and FAM.

Referenced by computeHeuristicUnrollFactor().


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