[loco] Introduce NodeMixin class (#3556)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 21 May 2019 09:30:04 +0000 (18:30 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 21 May 2019 09:30:04 +0000 (18:30 +0900)
commit541a01459e4e3071b49e4d028e0c3a75b9ccdfff
tree3b7e69470fdc69bd0893787e700a7322e5ca11c1
parent80cf1cae366932552fb4186045f87e661b0027bf
[loco] Introduce NodeMixin class (#3556)

* [loco] Introduce NodeMixin class

This commit extracts common shape getter/setter methods as a seperate
mix-in class.

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