2025-03-31 02:50:30 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
2025-05-30 12:45:05 +03:00
|
|
|
#include <vector>
|
|
|
|
|
#include <map>
|
2025-12-11 12:26:39 +03:00
|
|
|
#include <set>
|
2025-05-19 20:50:35 +03:00
|
|
|
|
2025-05-27 02:25:39 +03:00
|
|
|
#include "range_structures.h"
|
2025-06-04 13:08:38 +03:00
|
|
|
#include "graph_loops.h"
|
2025-09-23 08:21:05 +03:00
|
|
|
#include "CFGraph/CFGraph.h"
|
2025-03-31 02:50:30 +03:00
|
|
|
|
2026-05-01 12:23:51 +03:00
|
|
|
void findPrivateArrays(std::map<std::string, std::vector<LoopGraph*>>& loopGraph, std::map<FuncInfo*,
|
|
|
|
|
std::vector<SAPFOR::BasicBlock*>>& FullIR, std::set<SgStatement*>& insertedPrivates,
|
|
|
|
|
std::map<std::string, std::vector<Messages>>& SPF_messages,
|
|
|
|
|
const std::map<std::tuple<int, std::string, std::string>, std::pair<DIST::Array*, DIST::ArrayAccessInfo*>>& declaredArrays);
|