|
CGRAOmp
0.1
|
A model of address generator compatible to memory access with affine expression the accessed memory address must be expressed in. More...
#include <CGRAModel.hpp>
Public Member Functions | |
| AffineAG () | |
| Default constructor without any limitation about the nested level. More... | |
| AffineAG (int max_nests) | |
| Construct a new AffineAG object. More... | |
| AffineAG (const AffineAG &) | |
| copy constructor More... | |
| int | getMaxNests () const |
| Get the maximum nested level supported by this AddressGenerator. More... | |
Public Member Functions inherited from CGRAOmp::AddressGenerator | |
| AddressGenerator ()=delete | |
| AddressGenerator (Kind kind) | |
| AddressGenerator (const AddressGenerator &AG)=default | |
| AddressGenerator (AddressGenerator &&)=default | |
| Kind | getKind () const |
| template<typename DerivedT > | |
| DerivedT * | asDerived () |
Static Public Member Functions | |
| static bool | classof (const AG *ag) |
| for downcasting from AddressGenerator by llvm::dyn_cast More... | |
Private Types | |
| using | AG = AddressGenerator |
Private Attributes | |
| int | max_nests |
Additional Inherited Members | |
Public Types inherited from CGRAOmp::AddressGenerator | |
| enum | Kind { Kind::Affine, Kind::FullState } |
A model of address generator compatible to memory access with affine expression the accessed memory address must be expressed in.
\[ C_0 + C_1x + C_2y + C_3z... \]
where \( x, y, z... \) are loop variable and \( C_0, C_1, ... \) are constants.
|
private |
|
inline |
Default constructor without any limitation about the nested level.
|
inlineexplicit |
Construct a new AffineAG object.
| max_nests | maximum nested level to be allowed |
| AffineAG::AffineAG | ( | const AffineAG & | rhs | ) |
copy constructor
|
inlinestatic |
for downcasting from AddressGenerator by llvm::dyn_cast
|
inline |
Get the maximum nested level supported by this AddressGenerator.
|
private |
1.8.17