added json for SPF_GetArrayDistribution pass

This commit is contained in:
ALEXks
2025-05-17 18:49:46 +03:00
parent 719e3723ae
commit bcecd5460b
5 changed files with 70 additions and 94 deletions

View File

@@ -3,6 +3,8 @@
#include <vector>
#include <string>
#include "../Utils/json.hpp"
typedef enum lang : int { LANG_C, LANG_F } language;
typedef enum dist : int { BLOCK, NONE } distType;
typedef std::pair<std::pair<int, int>, std::pair<int, int>> attrType;
@@ -48,7 +50,7 @@ public:
public:
std::string GenRuleBase() const;
std::string toString();
nlohmann::json toJson();
public:
DIST::Array *alignArray;