[coco] Support Bag replace (#1467)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 12 Sep 2018 06:04:11 +0000 (15:04 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 12 Sep 2018 06:04:11 +0000 (15:04 +0900)
commit151d30818b8190da347c27d39a9d0e0cfff42823
tree6e8e1d6307a694cb5cee45ba788db2e2ed1150aa
parente7ea4e3526541f179ff780b3741b5322d9f2c5f3
[coco] Support Bag replace (#1467)

This commit introduces replaceWith method in Bag, which allows users to
replace all the occurences of a bag in IR with another bag.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/include/coco/IR/Bag.h
contrib/coco/core/src/IR.test.cpp
contrib/coco/core/src/IR/Bag.cpp