MLIR-AIE 1.4.6.dev
xilinx::AIE::Placer::PinnedChannelUse Class Reference

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

Public Member Functions

 PinnedChannelUse ()=default
 PinnedChannelUse (const PinnedChannels &rule)
int place (TileID at, const PinnedChannels::End &end, int sign)
int clashes (TileID at) const
std::optional< std::pair< int, int > > heldAt (TileID at, llvm::ArrayRef< PinnedChannels::End > ends) const
std::optional< PinnedChannels::End > clashWith (TileID at, const PinnedChannels::End &end) const
llvm::DenseMap< int, llvm::SmallVector< PinnedChannels::End, 2 > > sendingAt (TileID at) const
void claim (TileID at, const DMAChannelAnalysis::ChannelClaim &claim, int sign)
std::optional< DMAChannelAnalysis::ChannelClaim > claimWith (TileID at, const PinnedChannels::End &end) const
llvm::SmallVector< int > channelsAt (TileID at, bool sends) const

Detailed Description

Definition at line 309 of file AIEPlacer.h.

Constructor & Destructor Documentation

◆ PinnedChannelUse() [1/2]

xilinx::AIE::Placer::PinnedChannelUse::PinnedChannelUse ( )
default

◆ PinnedChannelUse() [2/2]

xilinx::AIE::Placer::PinnedChannelUse::PinnedChannelUse ( const PinnedChannels & rule)
inlineexplicit

Definition at line 312 of file AIEPlacer.h.

Member Function Documentation

◆ channelsAt()

llvm::SmallVector< int > Placer::PinnedChannelUse::channelsAt ( TileID at,
bool sends ) const

Definition at line 2063 of file AIEPlacer.cpp.

◆ claim()

void Placer::PinnedChannelUse::claim ( TileID at,
const DMAChannelAnalysis::ChannelClaim & claim,
int sign )

Definition at line 1955 of file AIEPlacer.cpp.

References claim(), and xilinx::AIE::DMAChannelAnalysis::ChannelClaim::owner.

Referenced by claim(), claimWith(), and clashes().

◆ claimWith()

std::optional< DMAChannelAnalysis::ChannelClaim > Placer::PinnedChannelUse::claimWith ( TileID at,
const PinnedChannels::End & end ) const

◆ clashes()

int Placer::PinnedChannelUse::clashes ( TileID at) const

Definition at line 2010 of file AIEPlacer.cpp.

References claim().

◆ clashWith()

std::optional< Placer::PinnedChannels::End > Placer::PinnedChannelUse::clashWith ( TileID at,
const PinnedChannels::End & end ) const

◆ heldAt()

std::optional< std::pair< int, int > > Placer::PinnedChannelUse::heldAt ( TileID at,
llvm::ArrayRef< PinnedChannels::End > ends ) const

Definition at line 2226 of file AIEPlacer.cpp.

References claimWith(), and clashWith().

◆ place()

int Placer::PinnedChannelUse::place ( TileID at,
const PinnedChannels::End & end,
int sign )

◆ sendingAt()

llvm::DenseMap< int, llvm::SmallVector< Placer::PinnedChannels::End, 2 > > Placer::PinnedChannelUse::sendingAt ( TileID at) const

Definition at line 2077 of file AIEPlacer.cpp.

Referenced by xilinx::AIE::Placer::overlayAt().


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