#pragma once

#include "../ParallelizationRegions/ParRegions.h"
#include "SgUtils.h"
#include "errors.h"
#include "graph_calls.h"

void replaceDistributedArraysInIO(std::vector<ParallelRegion*>& regions, 
                                  const std::map<std::string, std::vector<FuncInfo*>>& allFuncInfo, 
                                  std::map<std::string, std::vector<Messages>>& SPF_messages,
                                  std::map<std::string, std::map<int, std::set<std::string>>>& newDeclsToInclude);