|
MLIR-AIE 1.4.5.dev
|
#include "Dialect/AIEVec/Transforms/AIE2PShufflePlanner.h"
Public Member Functions | |
| const llvm::SmallVector< ShufflePlan, 2 > & | candidates (const ShuffleGather &gather) |
| std::optional< ShufflePlan > | planFor (const ShuffleRequest &request, ShuffleGather *gather=nullptr, llvm::SmallVector< mlir::Value > *leaves=nullptr) |
| void | noteUsed (const ShufflePlan &plan) |
Definition at line 81 of file AIE2PShufflePlanner.h.
| const SmallVector< ShufflePlan, 2 > & AIE2PShufflePlanner::candidates | ( | const ShuffleGather & | gather | ) |
Definition at line 808 of file AIE2PShufflePlanner.cpp.
References xilinx::aievec::ShufflePlan::cost, xilinx::aievec::ShuffleGather::key(), and xilinx::aievec::simulateShufflePlan().
Referenced by planFor().
| void AIE2PShufflePlanner::noteUsed | ( | const ShufflePlan & | plan | ) |
Definition at line 1274 of file AIE2PShufflePlanner.cpp.
References xilinx::aievec::ShufflePlan::modes().
| std::optional< ShufflePlan > AIE2PShufflePlanner::planFor | ( | const ShuffleRequest & | request, |
| ShuffleGather * | gather = nullptr, | ||
| llvm::SmallVector< mlir::Value > * | leaves = nullptr ) |
Definition at line 1232 of file AIE2PShufflePlanner.cpp.
References candidates(), xilinx::aievec::estimateLLVMShuffleCost(), and xilinx::aievec::ShuffleRequest::user.