MLIR-AIE 1.4.6.dev
xilinx::AIE::TileLayout Struct Reference

assign-buffer-addresses' layout of one tile, or why there is none. More...

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

Collaboration diagram for xilinx::AIE::TileLayout:

Public Types

enum class  Status { Placed , StackNoRoom , BadPin , NoRoom }

Public Attributes

Status status = Status::Placed
size_t failed = 0
std::string message
bool exhausted = false
 Whether the search ran out of budget with arrangements untried.
llvm::SmallVector< std::optional< std::pair< int64_t, int > > > at
 Address and bank of each buffer placed: every buffer when Placed, and the pinned ones plus the deepest attempt's on NoRoom.
std::optional< int64_t > stackStart
 The address chosen for a bank-pinned stack.
llvm::SmallVector< size_t > preAllocated
 The buffers with an address or bank pin, in the order they were placed, and the others in the order the search placed them.
llvm::SmallVector< size_t > allocated
llvm::SmallVector< int, 2 > failedBanks
 The banks buffer failed must lie in, and on NoRoom with one bank, the bytes free there.
int64_t freeInFailedBank = 0
int64_t unplacedBytes = 0
 Bytes of the buffers left without an address on NoRoom.

Detailed Description

assign-buffer-addresses' layout of one tile, or why there is none.

Definition at line 489 of file AIEBufferAllocation.h.

Member Enumeration Documentation

◆ Status

Enumerator
Placed 
StackNoRoom 

The bank-pinned stack has no room; message says why.

BadPin 

Buffer failed has a pin or bank request the tile cannot honour; message says why.

NoRoom 

Buffer failed fits nowhere once the others are placed.

Definition at line 490 of file AIEBufferAllocation.h.

Member Data Documentation

◆ allocated

llvm::SmallVector<size_t> xilinx::AIE::TileLayout::allocated

Definition at line 512 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ at

llvm::SmallVector<std::optional<std::pair<int64_t, int> > > xilinx::AIE::TileLayout::at

Address and bank of each buffer placed: every buffer when Placed, and the pinned ones plus the deepest attempt's on NoRoom.

Definition at line 507 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ exhausted

bool xilinx::AIE::TileLayout::exhausted = false

Whether the search ran out of budget with arrangements untried.

Definition at line 504 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ failed

size_t xilinx::AIE::TileLayout::failed = 0

Definition at line 501 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ failedBanks

llvm::SmallVector<int, 2> xilinx::AIE::TileLayout::failedBanks

The banks buffer failed must lie in, and on NoRoom with one bank, the bytes free there.

Definition at line 515 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ freeInFailedBank

int64_t xilinx::AIE::TileLayout::freeInFailedBank = 0

Definition at line 516 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ message

std::string xilinx::AIE::TileLayout::message

Definition at line 502 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ preAllocated

llvm::SmallVector<size_t> xilinx::AIE::TileLayout::preAllocated

The buffers with an address or bank pin, in the order they were placed, and the others in the order the search placed them.

Definition at line 512 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ stackStart

std::optional<int64_t> xilinx::AIE::TileLayout::stackStart

The address chosen for a bank-pinned stack.

Definition at line 509 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ status

Status xilinx::AIE::TileLayout::status = Status::Placed

Definition at line 500 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().

◆ unplacedBytes

int64_t xilinx::AIE::TileLayout::unplacedBytes = 0

Bytes of the buffers left without an address on NoRoom.

Definition at line 518 of file AIEBufferAllocation.h.

Referenced by xilinx::AIE::layoutTile().


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