Todo.
More...
|
void | SetUp () override |
|
void | TearDown () override |
|
std::vector< IR::BasicBlockPtr > | createTraceAndApplyPhases (std::function< Value<>()> nautilusFunction) |
|
countedLoopInfoPtr | createCorrectCountedLoopInfo (uint32_t lowerBound, uint32_t upperBound, uint32_t stepSize, std::string loopEndBlockId) |
|
void | createCorrectBlock (std::unordered_map< std::string, CorrectBlockValuesPtr > &correctBlocks, std::string correctBlockId, uint32_t correctNumberOfBackLinks, std::string correctMergeBlockId, countedLoopInfoPtr countedLoopInfo=nullptr) |
|
std::vector< IR::BasicBlockPtr > | enumerateIRForTests (std::shared_ptr< IR::IRGraph > ir) |
| Takes a graph IR, enumerates all blocks depth-first, and returns a vector containing all blocks. More...
|
|
bool | checkIRForCorrectness (const std::vector< IR::BasicBlockPtr > &dpsSortedBlocks, const std::unordered_map< std::string, CorrectBlockValuesPtr > &correctBlocks) |
|
◆ CorrectBlockValuesPtr
◆ countedLoopInfoPtr
◆ checkIRForCorrectness()
bool NES::Nautilus::ValueScopingPhaseTest::checkIRForCorrectness |
( |
const std::vector< IR::BasicBlockPtr > & |
dpsSortedBlocks, |
|
|
const std::unordered_map< std::string, CorrectBlockValuesPtr > & |
correctBlocks |
|
) |
| |
|
inline |
◆ createCorrectBlock()
void NES::Nautilus::ValueScopingPhaseTest::createCorrectBlock |
( |
std::unordered_map< std::string, CorrectBlockValuesPtr > & |
correctBlocks, |
|
|
std::string |
correctBlockId, |
|
|
uint32_t |
correctNumberOfBackLinks, |
|
|
std::string |
correctMergeBlockId, |
|
|
countedLoopInfoPtr |
countedLoopInfo = nullptr |
|
) |
| |
|
inline |
◆ createCorrectCountedLoopInfo()
countedLoopInfoPtr NES::Nautilus::ValueScopingPhaseTest::createCorrectCountedLoopInfo |
( |
uint32_t |
lowerBound, |
|
|
uint32_t |
upperBound, |
|
|
uint32_t |
stepSize, |
|
|
std::string |
loopEndBlockId |
|
) |
| |
|
inline |
◆ createTraceAndApplyPhases()
std::vector<IR::BasicBlockPtr> NES::Nautilus::ValueScopingPhaseTest::createTraceAndApplyPhases |
( |
std::function< Value<>()> |
nautilusFunction | ) |
|
|
inline |
◆ enumerateIRForTests()
std::vector<IR::BasicBlockPtr> NES::Nautilus::ValueScopingPhaseTest::enumerateIRForTests |
( |
std::shared_ptr< IR::IRGraph > |
ir | ) |
|
|
inline |
Takes a graph IR, enumerates all blocks depth-first, and returns a vector containing all blocks.
- Parameters
-
ir | Graph ir that is traversed depth-first-search (dps). |
- Returns
- std::vector<IR::BasicBlockPtr>: A vector containing all blocks of the ir-graph sorted by dps.
Referenced by createTraceAndApplyPhases().
◆ SetUp()
void NES::Nautilus::ValueScopingPhaseTest::SetUp |
( |
| ) |
|
|
inlineoverride |
◆ SetUpTestCase()
static void NES::Nautilus::ValueScopingPhaseTest::SetUpTestCase |
( |
| ) |
|
|
inlinestatic |
◆ TearDown()
void NES::Nautilus::ValueScopingPhaseTest::TearDown |
( |
| ) |
|
|
inlineoverride |
◆ TearDownTestCase()
static void NES::Nautilus::ValueScopingPhaseTest::TearDownTestCase |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: