LLVM API Documentation

Public Member Functions | Friends
llvm::FunctionAnalysisManager Class Reference

A function analysis manager to coordinate and cache analyses run over a module. More...

#include <PassManager.h>

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

List of all members.

Public Member Functions

 FunctionAnalysisManager ()
 FunctionAnalysisManager (FunctionAnalysisManager &&Arg)
FunctionAnalysisManageroperator= (FunctionAnalysisManager &&RHS)
bool empty () const
 Returns true if the analysis manager has an empty results cache.
void clear ()
 Clear the function analysis result cache.

Friends

class detail::AnalysisManagerBase< FunctionAnalysisManager, Function * >

Detailed Description

A function analysis manager to coordinate and cache analyses run over a module.

Definition at line 729 of file IR/PassManager.h.


Constructor & Destructor Documentation

Definition at line 742 of file IR/PassManager.h.

Definition at line 743 of file IR/PassManager.h.


Member Function Documentation

Clear the function analysis result cache.

This routine allows cleaning up when the set of functions itself has potentially changed, and thus we can't even look up a a result and invalidate it directly. Notably, this does *not* call invalidate functions as there is nothing to be done for them.

Definition at line 116 of file PassManager.cpp.

References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::clear().

Referenced by llvm::FunctionAnalysisManagerModuleProxy::Result::invalidate(), and llvm::FunctionAnalysisManagerModuleProxy::Result::~Result().

Returns true if the analysis manager has an empty results cache.

Definition at line 108 of file PassManager.cpp.

References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT >::empty().

Referenced by llvm::FunctionAnalysisManagerModuleProxy::run().

FunctionAnalysisManager& llvm::FunctionAnalysisManager::operator= ( FunctionAnalysisManager &&  RHS) [inline]

Definition at line 746 of file IR/PassManager.h.


Friends And Related Function Documentation

Definition at line 731 of file IR/PassManager.h.


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