[loco] Introduce CanonicalNode interface (#3743)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 12 Jun 2019 04:48:13 +0000 (13:48 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 12 Jun 2019 04:48:13 +0000 (13:48 +0900)
commit16e0d3bad1f0b8577a905038d27f8d51671b16a7
treeece773d8ea24ce649e7ee161ef41a4ad580f6319
parentb15db55a77fd3b36936d8128ad9bc67dbe7dbb47
[loco] Introduce CanonicalNode interface (#3743)

This commit introduces CanonicalNode interface, and rewrites Forward
node as an example.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/loco/include/loco/IR/CanonicalNode.h [new file with mode: 0644]
contrib/loco/include/loco/IR/Nodes.h
contrib/loco/src/IR/CanonicalNode.cpp [new file with mode: 0644]
contrib/loco/src/IR/Nodes.test.cpp