MLIR-AIE 1.4.5.dev
xilinx::AIE::StreamWaitGraph::Agent Struct Reference

A core, a DMA channel, or a tile's controller. More...

#include "aie/Dialect/AIE/Transforms/AIEStreamDependencyAnalysis.h"

Collaboration diagram for xilinx::AIE::StreamWaitGraph::Agent:

Public Types

enum class  Kind { Channel , Core , Controller }

Static Public Member Functions

static Agent core (TileID tile)
static Agent controller (TileID tile)
static Agent channel (const TileDMAChannel &dma)
static std::optional< Agent > at (const StreamEndpoint &endpoint, bool sending)
 Each agent at a stream endpoint: the core, DMA channel or controller pushing data into (sending) or pulling data out of the fabric there.

Public Attributes

TileDMAChannel dma
Kind kind = Kind::Channel
bool onShim = false

Detailed Description

A core, a DMA channel, or a tile's controller.

A core's or controller's dma names only its tile.

Definition at line 219 of file AIEStreamDependencyAnalysis.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Channel 
Core 
Controller 

Definition at line 220 of file AIEStreamDependencyAnalysis.h.

Member Function Documentation

◆ at()

std::optional< StreamWaitGraph::Agent > StreamWaitGraph::Agent::at ( const StreamEndpoint & endpoint,
bool sending )
static

Each agent at a stream endpoint: the core, DMA channel or controller pushing data into (sending) or pulling data out of the fabric there.

Definition at line 1078 of file AIEStreamDependencyAnalysis.cpp.

References channel(), controller(), core(), xilinx::AIE::StreamEndpoint::port, and xilinx::AIE::StreamEndpoint::tile.

Referenced by xilinx::AIE::StreamWaitGraph::agentAt(), and xilinx::AIE::StreamWaitGraph::StreamWaitGraph().

◆ channel()

Agent xilinx::AIE::StreamWaitGraph::Agent::channel ( const TileDMAChannel & dma)
inlinestatic

Definition at line 231 of file AIEStreamDependencyAnalysis.h.

References dma.

Referenced by at(), and xilinx::AIE::StreamWaitGraph::StreamWaitGraph().

◆ controller()

Agent xilinx::AIE::StreamWaitGraph::Agent::controller ( TileID tile)
inlinestatic

Definition at line 228 of file AIEStreamDependencyAnalysis.h.

References Controller.

Referenced by at().

◆ core()

Agent xilinx::AIE::StreamWaitGraph::Agent::core ( TileID tile)
inlinestatic

Definition at line 225 of file AIEStreamDependencyAnalysis.h.

References Core.

Referenced by at(), and xilinx::AIE::StreamWaitGraph::StreamWaitGraph().

Member Data Documentation

◆ dma

TileDMAChannel xilinx::AIE::StreamWaitGraph::Agent::dma

◆ kind

Kind xilinx::AIE::StreamWaitGraph::Agent::kind = Kind::Channel

◆ onShim

bool xilinx::AIE::StreamWaitGraph::Agent::onShim = false

Definition at line 223 of file AIEStreamDependencyAnalysis.h.


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