file(GLOB SOURCES "src/*.cc")
file(GLOB_RECURSE SOURCES_FRONTEND "src/frontend/*.cc")
-file(GLOB_RECURSE SOURCES_MIDDLEEND "src/middleend/*.cc")
file(GLOB SOURCES_BACKEND "src/backend/*.cc")
file(GLOB_RECURSE SOURCES_INTERNAL "src/internal/*.cc")
file(GLOB_RECURSE SOURCES_GRAPH "src/graph/*.cc")
file(GLOB_RECURSE SOURCES_VERIFIER "src/verifier/*.cc")
file(GLOB_RECURSE SOURCES_VERIFIER "src/util/*.cc")
-set(SOURCES ${SOURCES} ${SOURCES_FRONTEND} ${SOURCES_MIDDLEEND} ${SOURCES_BACKEND} ${SOURCES_INTERNAL} ${SOURCES_GRAPH} ${SOURCES_LINEAR} ${SOURCES_CODEGEN} ${SOURCES_DUMPER} ${SOURCES_COMPILER} ${SOURCES_VERIFIER})
+set(SOURCES ${SOURCES} ${SOURCES_FRONTEND} ${SOURCES_BACKEND} ${SOURCES_INTERNAL} ${SOURCES_GRAPH} ${SOURCES_LINEAR} ${SOURCES_CODEGEN} ${SOURCES_DUMPER} ${SOURCES_COMPILER} ${SOURCES_VERIFIER})
# NOTE For now ARMCompute is necessary
# TODO Remove required package below(should be optional)
*/
#include "Compiler.h"
+#include "SubTensorAnalyzer.h"
#include "graph/dumper/Dumper.h"
#include "dumper/dot/DotDumper.h"
#include "codegen/IPlanBuilder.h"
#include "codegen/OperationValidator.h"
#include "codegen/PlanBuilder.h"
-#include "middleend/SubTensorAnalyzer.h"
#include "codegen/ConstantInitializer.h"
#include "graph/operation/LowerInfo.h"
// finalize: generate tensor using subtensor info, then execute stage
// Generated SubTensorInfo is in operand(Object)
// for easy pass SubTensorInfo to plan builder and tensor builder
- linear->accept(neurun::middleend::SubTensorAnalyzer{graph.operands()});
+ linear->accept(SubTensorAnalyzer{graph.operands()});
neurun::codegen::PlanBuilder plan_builder{plan};
namespace neurun
{
-namespace middleend
+namespace compiler
{
void SubTensorAnalyzer::visit(const graph::operation::Conv2DNode &)
// DO NOTHING
}
-} // namespace middleend
+} // namespace compiler
} // namespace neurun
* using operation visitor
*/
-#ifndef __NEURUN_MIDDLEEND_SUBTENSOR_ANALYZER_H__
-#define __NEURUN_MIDDLEEND_SUBTENSOR_ANALYZER_H__
+#ifndef __NEURUN_COMPILER_SUBTENSOR_ANALYZER_H__
+#define __NEURUN_COMPILER_SUBTENSOR_ANALYZER_H__
#include "graph/operation/NodeVisitor.h"
namespace neurun
{
-namespace middleend
+namespace compiler
{
/**
neurun::graph::operand::Set &_ctx;
};
-} // namespace middleend
+} // namespace compiler
} // namespace neurun
-#endif // __NEURUN_MIDDLEEND_SUBTENSOR_ANALYZER_H__
+#endif // __NEURUN_COMPILER_SUBTENSOR_ANALYZER_H__