//
// Copyright (C) 2022-2026 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

#pragma once

#include <mlir/IR/Location.h>
#include <mlir/IR/Operation.h>

namespace vpux {

//
// Creating strings support
//

std::string stringifyPrimaryLocation(mlir::Location);
std::string stringifyPrimaryLocationSanitized(mlir::Location location);
std::string getLayerNameFromLocation(mlir::Location);
std::string getLayerTypeFromLocation(mlir::Location);

std::vector<std::string> splitAndTrimStringByDelimiter(const std::string& str, char delimiter = ',');

}  // namespace vpux
