MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::Inliner::ResolvedCall Struct Reference

This struct represents a resolved call to a given callgraph node. More...

#include "mlir/Transforms/Inliner.h"

Public Member Functions

 ResolvedCall (CallOpInterface call, CallGraphNode *sourceNode, CallGraphNode *targetNode)
 

Public Attributes

CallOpInterface call
 
CallGraphNodesourceNode
 
CallGraphNodetargetNode
 

Detailed Description

This struct represents a resolved call to a given callgraph node.

Given that the call does not actually contain a direct reference to the Region(CallGraphNode) that it is dispatching to, we need to resolve them explicitly.

Definition at line 75 of file Inliner.h.

Constructor & Destructor Documentation

◆ ResolvedCall()

mlir::Inliner::ResolvedCall::ResolvedCall ( CallOpInterface  call,
CallGraphNode sourceNode,
CallGraphNode targetNode 
)
inline

Definition at line 76 of file Inliner.h.

Member Data Documentation

◆ call

CallOpInterface mlir::Inliner::ResolvedCall::call

Definition at line 79 of file Inliner.h.

◆ sourceNode

CallGraphNode* mlir::Inliner::ResolvedCall::sourceNode

Definition at line 80 of file Inliner.h.

Referenced by isProfitableToInline().

◆ targetNode

CallGraphNode * mlir::Inliner::ResolvedCall::targetNode

Definition at line 80 of file Inliner.h.

Referenced by isProfitableToInline().


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