|
CGRAOmp
0.1
|
CGRA model for category "decoupled". More...
#include <CGRAModel.hpp>
Public Member Functions | |
| DecoupledCGRA (StringRef filename, AddressGenerator *AG, ConditionalStyle cond, InterLoopDep inter_loop_dep) | |
| Construct a new DecoupledCGRA. More... | |
| DecoupledCGRA (const DecoupledCGRA &) | |
| copy constructor More... | |
| ~DecoupledCGRA () | |
| destructor More... | |
| AddressGenerator * | getAG () const |
| get the address generator More... | |
Public Member Functions inherited from CGRAOmp::CGRAModel | |
| CGRAModel (StringRef filename, CGRACategory category, ConditionalStyle cond, InterLoopDep inter_loop_dep) | |
| Construct a new CGRAModel object. More... | |
| CGRAModel ()=delete | |
| CGRAModel (const CGRAModel &)=default | |
| Copy constructor. More... | |
| CGRAModel (CGRAModel &&)=default | |
| Move constructor. More... | |
| Error | addSupportedInst (StringRef opcode) |
| add a supported generic insturction for the CGRA More... | |
| void | addCustomInst (StringRef opcode, ModuleAnalysisManager &MAM) |
| add a custom insturction for the CGRA More... | |
| Error | add_map_entry (StringRef opcode, MapCondition *map_cond) |
| add a instruction mapping entry to the CGRA model More... | |
| InstMapEntry * | isSupported (Instruction *I) |
| checking whether the instruction is supported by the CGRA or not. More... | |
| template<typename DerivedT > | |
| DerivedT * | asDerived () |
| an interface to down cast to derived classes More... | |
| CGRACategory | getKind () const |
| Get the category of the CGRA. More... | |
| InterLoopDep | getInterLoopDepType () const |
| Get the Inter Loop Dependency avility. More... | |
Static Public Member Functions | |
| static bool | classof (const CGRAModel *M) |
| for downcasting from CGRAModel by llvm::dyn_cast More... | |
Private Attributes | |
| AddressGenerator * | AG |
Additional Inherited Members | |
Public Types inherited from CGRAOmp::CGRAModel | |
| enum | CGRACategory { CGRACategory::TimeMultiplexed, CGRACategory::Decoupled } |
| a category of the CGRA model More... | |
| enum | ConditionalStyle { ConditionalStyle::No, ConditionalStyle::MuxInst, ConditionalStyle::TriState } |
| Ability to handle conditional execution (i.e., if-else part) More... | |
| enum | InterLoopDep { InterLoopDep::No, InterLoopDep::Generic, InterLoopDep::BackwardInst } |
| How to describe the inter-loop dependecy. More... | |
Static Public Attributes inherited from CGRAOmp::CGRAModel | |
| static StringMap< CGRACategory > | CategoryMap |
| Map category string to CGRACategory. More... | |
| static StringMap< ConditionalStyle > | CondStyleMap |
| Map category string to ConditionalStyle. More... | |
| static StringMap< InterLoopDep > | InterLoopDepMap |
| Map category string to InterLoopDep. More... | |
Protected Attributes inherited from CGRAOmp::CGRAModel | |
| StringRef | filename |
| ConditionalStyle | cond |
| InterLoopDep | inter_loop_dep |
| CGRACategory | category |
| InstMap | inst_map |
CGRA model for category "decoupled".
|
inline |
Construct a new DecoupledCGRA.
| filename | filename of the configration file |
| cond | conditional style of the CGRA |
| inter_loop_dep | ability to handle inter loop dependency |
| DecoupledCGRA::DecoupledCGRA | ( | const DecoupledCGRA & | rhs | ) |
copy constructor
|
inline |
destructor
|
inlinestatic |
for downcasting from CGRAModel by llvm::dyn_cast
|
inline |
get the address generator
|
private |
1.8.17