class CFLGraphBuilder

Declaration

template <typename CFLAA>
class CFLGraphBuilder { /* full declaration omitted */ };

Description

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*.

Declared at: llvm/lib/Analysis/CFLGraph.h:163

Templates

CFLAA

Method Overview

Methods

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

Declared at: llvm/lib/Analysis/CFLGraph.h:646

Parameters

CFLAA& Analysis
const llvm::TargetLibraryInfo& TLI
llvm::Function& Fn

const llvm::cflaa::CFLGraph& getCFLGraph() const

Declared at: llvm/lib/Analysis/CFLGraph.h:651

const SmallVector<llvm::Value*, 4>&
getReturnValues() const

Declared at: llvm/lib/Analysis/CFLGraph.h:652