MLIR-AIE
Public Member Functions | Public Attributes | List of all members
LowerVectorToAIEVec Struct Reference

Lower incoming vector operations into their corresponding AIE vector intrinsics. More...

+ Inheritance diagram for LowerVectorToAIEVec:
+ Collaboration diagram for LowerVectorToAIEVec:

Public Member Functions

 LowerVectorToAIEVec ()=default
 
 LowerVectorToAIEVec (const LowerVectorToAIEVec &pass)
 
 LowerVectorToAIEVec (const LowerVectorToAIEVecOptions &options)
 
StringRef getArgument () const final
 
StringRef getDescription () const final
 
void getDependentDialects (DialectRegistry &registry) const override
 
void runOnOperation () override
 

Public Attributes

Option< std::string > aieTarget
 
Option< std::string > targetBackend
 

Detailed Description

Lower incoming vector operations into their corresponding AIE vector intrinsics.

Definition at line 3784 of file VectorToAIEVecConversions.cpp.

Constructor & Destructor Documentation

◆ LowerVectorToAIEVec() [1/3]

LowerVectorToAIEVec::LowerVectorToAIEVec ( )
default

◆ LowerVectorToAIEVec() [2/3]

LowerVectorToAIEVec::LowerVectorToAIEVec ( const LowerVectorToAIEVec pass)
inline

Definition at line 3788 of file VectorToAIEVecConversions.cpp.

◆ LowerVectorToAIEVec() [3/3]

LowerVectorToAIEVec::LowerVectorToAIEVec ( const LowerVectorToAIEVecOptions options)
inline

Member Function Documentation

◆ getArgument()

StringRef LowerVectorToAIEVec::getArgument ( ) const
inlinefinal

Definition at line 3798 of file VectorToAIEVecConversions.cpp.

◆ getDependentDialects()

void LowerVectorToAIEVec::getDependentDialects ( DialectRegistry &  registry) const
inlineoverride

Definition at line 3802 of file VectorToAIEVecConversions.cpp.

◆ getDescription()

StringRef LowerVectorToAIEVec::getDescription ( ) const
inlinefinal

Definition at line 3799 of file VectorToAIEVecConversions.cpp.

◆ runOnOperation()

void LowerVectorToAIEVec::runOnOperation ( )
inlineoverride

Definition at line 3823 of file VectorToAIEVecConversions.cpp.

References aieTarget, and targetBackend.

Member Data Documentation

◆ aieTarget

Option<std::string> LowerVectorToAIEVec::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 3810 of file VectorToAIEVecConversions.cpp.

Referenced by LowerVectorToAIEVec(), and runOnOperation().

◆ targetBackend

Option<std::string> LowerVectorToAIEVec::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 3816 of file VectorToAIEVecConversions.cpp.

Referenced by LowerVectorToAIEVec(), and runOnOperation().


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