MLIR-AIE
Public Member Functions | Public Attributes | List of all members
xilinx::aievec::ConvertVectorToAIEVecOptions Struct Reference

Options for the "convert-vector-to-aievec" pipeline. More...

#include "aie/Dialect/AIEVec/Pipelines/Passes.h"

+ Inheritance diagram for xilinx::aievec::ConvertVectorToAIEVecOptions:
+ Collaboration diagram for xilinx::aievec::ConvertVectorToAIEVecOptions:

Public Member Functions

mlir::LogicalResult parseFromString (mlir::StringRef options)
 
const LowerVectorToAIEVecOptionsgetLowerVectorToAIEVecOptions () const
 
const CanonicalizeVectorForAIEVecOptionsgetCanonicalizeVectorForAIEVecOptions () const
 
const OptimizeAIEVecOptionsgetOptimizeAIEVecOptions () const
 

Public Attributes

PassOptions::Option< unsigned > shiftParam
 
PassOptions::Option< unsigned > zeroOffset
 
PassOptions::Option< unsigned > dupFactor
 
PassOptions::Option< std::string > aieTarget
 
PassOptions::Option< std::string > targetBackend
 

Detailed Description

Options for the "convert-vector-to-aievec" pipeline.

Definition at line 92 of file Passes.h.

Member Function Documentation

◆ getCanonicalizeVectorForAIEVecOptions()

const CanonicalizeVectorForAIEVecOptions & xilinx::aievec::ConvertVectorToAIEVecOptions::getCanonicalizeVectorForAIEVecOptions ( ) const
inline

Definition at line 141 of file Passes.h.

◆ getLowerVectorToAIEVecOptions()

const LowerVectorToAIEVecOptions & xilinx::aievec::ConvertVectorToAIEVecOptions::getLowerVectorToAIEVecOptions ( ) const
inline

Definition at line 136 of file Passes.h.

◆ getOptimizeAIEVecOptions()

const OptimizeAIEVecOptions & xilinx::aievec::ConvertVectorToAIEVecOptions::getOptimizeAIEVecOptions ( ) const
inline

Definition at line 145 of file Passes.h.

◆ parseFromString()

mlir::LogicalResult xilinx::aievec::ConvertVectorToAIEVecOptions::parseFromString ( mlir::StringRef  options)
inline

Member Data Documentation

◆ aieTarget

PassOptions::Option<std::string> xilinx::aievec::ConvertVectorToAIEVecOptions::aieTarget
Initial value:
{
*this, "aie-target",
llvm::cl::desc("Select AIE version: \"aie\" or \"aie2\". This will "
"determine the vector size and available operations."),
llvm::cl::init("aie")}

Definition at line 110 of file Passes.h.

Referenced by parseFromString().

◆ dupFactor

PassOptions::Option<unsigned> xilinx::aievec::ConvertVectorToAIEVecOptions::dupFactor
Initial value:
{
*this, "dup-actor",
llvm::cl::desc("Duplication factor for each value in convolution filter "
"(useful in 8x8 scheme)"),
llvm::cl::init(2)}

Definition at line 105 of file Passes.h.

◆ shiftParam

PassOptions::Option<unsigned> xilinx::aievec::ConvertVectorToAIEVecOptions::shiftParam
Initial value:
{
*this, "shift",
llvm::cl::desc("Shift parameter for rounding and saturation"),
llvm::cl::init(0)}

Definition at line 96 of file Passes.h.

Referenced by parseFromString().

◆ targetBackend

PassOptions::Option<std::string> xilinx::aievec::ConvertVectorToAIEVecOptions::targetBackend
Initial value:
{
*this, "target-backend",
llvm::cl::desc("Select translation backend: \"cpp\" or \"llvmir\". This "
"will determine the aievec operations used to convert "
"from vector dialect."),
llvm::cl::init("cpp")}

Definition at line 115 of file Passes.h.

Referenced by parseFromString().

◆ zeroOffset

PassOptions::Option<unsigned> xilinx::aievec::ConvertVectorToAIEVecOptions::zeroOffset
Initial value:
{
*this, "zero-offset",
llvm::cl::desc("Zero offset for indicating the location of zeroes in "
"convolution filter (useful for 16x16 scheme)"),
llvm::cl::init(0)}

Definition at line 100 of file Passes.h.


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