Files
SAPFOR/src/Transformations/array_assign_to_loop.h

10 lines
616 B
C
Raw Normal View History

2023-09-14 19:43:13 +03:00
#pragma once
#include <vector>
#include "dvm.h"
#include "../Utils/errors.h"
void convertFromAssignToLoop(SgFile *file, const std::vector<ParallelRegion*>& regions, std::vector<Messages> &messagesForFile, const std::map<DIST::Array*, std::set<DIST::Array*>>& arrayLinksByFuncCalls);
void restoreAssignsFromLoop(SgFile *file, const std::map<DIST::Array*, std::set<DIST::Array*>>& arrayLinksByFuncCalls);
void restoreConvertedLoopForParallelLoops(SgFile *file, const std::map<DIST::Array*, std::set<DIST::Array*>>& arrayLinksByFuncCalls, bool reversed = false);
bool notDeletedVectorAssign(SgStatement* st);