MLIR 22.0.0git
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 109 of file Inliner.h.

Constructor & Destructor Documentation

◆ ResolvedCall()

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

Definition at line 110 of file Inliner.h.

References call, sourceNode, and targetNode.

Member Data Documentation

◆ call

CallOpInterface mlir::Inliner::ResolvedCall::call

Definition at line 113 of file Inliner.h.

Referenced by ResolvedCall().

◆ sourceNode

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

Definition at line 114 of file Inliner.h.

Referenced by isProfitableToInline(), and ResolvedCall().

◆ targetNode

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

Definition at line 114 of file Inliner.h.

Referenced by isProfitableToInline(), and ResolvedCall().


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