LLVM  6.0.0svn
Classes | Public Member Functions | List of all members
llvm::cflaa::CFLGraphBuilder< CFLAA > Class Template Reference

A builder class used to create CFLGraph instance from a given function The CFL-AA that uses this builder must provide its own type as a template argument. More...

#include "Analysis/CFLGraph.h"

Public Member Functions

 CFLGraphBuilder (CFLAA &Analysis, const TargetLibraryInfo &TLI, Function &Fn)
 
const CFLGraphgetCFLGraph () const
 
const SmallVector< Value *, 4 > & getReturnValues () const
 

Detailed Description

template<typename CFLAA>
class llvm::cflaa::CFLGraphBuilder< CFLAA >

A builder class used to create CFLGraph instance from a given function The CFL-AA that uses this builder must provide its own type as a template argument.

This is necessary for interprocedural processing: CFLGraphBuilder needs a way of obtaining the summary of other functions when callinsts are encountered. As a result, we expect the said CFL-AA to expose a getAliasSummary() public member function that takes a Function& and returns the corresponding summary as a const AliasSummary*.

Definition at line 165 of file CFLGraph.h.

Constructor & Destructor Documentation

◆ CFLGraphBuilder()

template<typename CFLAA>
llvm::cflaa::CFLGraphBuilder< CFLAA >::CFLGraphBuilder ( CFLAA &  Analysis,
const TargetLibraryInfo TLI,
Function Fn 
)
inline

Definition at line 657 of file CFLGraph.h.

Member Function Documentation

◆ getCFLGraph()

template<typename CFLAA>
const CFLGraph& llvm::cflaa::CFLGraphBuilder< CFLAA >::getCFLGraph ( ) const
inline

◆ getReturnValues()

template<typename CFLAA>
const SmallVector<Value *, 4>& llvm::cflaa::CFLGraphBuilder< CFLAA >::getReturnValues ( ) const
inline

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