[coco] Introduce defined in Shuffle (#1465)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 12 Sep 2018 06:03:48 +0000 (15:03 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 12 Sep 2018 06:03:48 +0000 (15:03 +0900)
commit6e5a7642f3dc712dcd18387cfd1341a13d60289d
tree89ce71c987989c4c69c77769fe0cadee29670b24
parent547710af0d38716cf639c2c0f8fdf50450f23a77
[coco] Introduce defined in Shuffle (#1465)

This commit extends Shuffle class with defined method.

This 'defined' method allows users to check whether a specified
element is specified as a target in Shuffle instruction without
using heavy range call.

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