MLIR  19.0.0git
Functions
CallGraph.cpp File Reference
#include "mlir/Analysis/CallGraph.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/CallInterfaces.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/SCCIterator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <memory>

Go to the source code of this file.

Functions

static void computeCallGraph (Operation *op, CallGraph &cg, SymbolTableCollection &symbolTable, CallGraphNode *parentNode, bool resolveCalls)
 Recursively compute the callgraph edges for the given operation. More...
 

Function Documentation

◆ computeCallGraph()

static void computeCallGraph ( Operation op,
CallGraph cg,
SymbolTableCollection symbolTable,
CallGraphNode parentNode,
bool  resolveCalls 
)
static

Recursively compute the callgraph edges for the given operation.

Computed edges are placed into the given callgraph object.

Definition at line 74 of file CallGraph.cpp.