[loco] Introduce GraphOutputIndexQueryService (#7479)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 17 Sep 2019 07:07:13 +0000 (16:07 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 17 Sep 2019 07:07:13 +0000 (16:07 +0900)
commit1d5e414d30613a6a7b1f0178d52935bf16b9f661
treed2e64595fa8bef39415ce5e50e22189f8f434e5f
parent4731b226438d62ea61edfbe2e532d3cfc225e66f
[loco] Introduce GraphOutputIndexQueryService (#7479)

This commit introduces GraphOutputIndexQueryService interface, and
revises output_nodes helper to use this new service interface.

This commit also implements GraphOutputIndexQueryService for canonical
dialect in order to guarantee backward compatibility.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
compiler/loco/include/loco/IR/CanonicalDialect.h
compiler/loco/include/loco/IR/Graph.h
compiler/loco/src/IR/CanonicalDialect.cpp
compiler/loco/src/IR/Graph.cpp