[loco] Support traversal to Graph from Node (#5910)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Sun, 28 Jul 2019 23:37:41 +0000 (08:37 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Sun, 28 Jul 2019 23:37:41 +0000 (08:37 +0900)
commit4f4689fd58d685a894c1ac6c7d79a57fc86a228c
tree8d5f2488ae2038135a7ece48854428e639e50220
parenta7709bf0ceeeee1b4023a6096c48f701b27cd02a
[loco] Support traversal to Graph from Node (#5910)

This commit extends Node class to provide "graph" method which returns
a pointer to associated Graph object.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
compiler/loco/include/loco/IR/Graph.forward.h [new file with mode: 0644]
compiler/loco/include/loco/IR/Graph.h
compiler/loco/include/loco/IR/Node.h
compiler/loco/include/loco/IR/NodePool.forward.h [new file with mode: 0644]
compiler/loco/include/loco/IR/NodePool.h [new file with mode: 0644]
compiler/loco/src/IR/Graph.cpp
compiler/loco/src/IR/Graph.test.cpp
compiler/loco/src/IR/Node.test.cpp
compiler/loco/src/IR/NodePool.cpp [new file with mode: 0644]