[loco] TypeInferenceRule to use inference rules of multiple dialects (#6198)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Tue, 6 Aug 2019 08:13:10 +0000 (17:13 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 6 Aug 2019 08:13:10 +0000 (17:13 +0900)
commit2b833dee0b2e8a976aca1e25278ab7336721dfa9
tree161dd26468b4e8400158b8328d5868db4416b0c6
parentb2a6a3d252fbb370218c33572887a2f6fc837f65
[loco] TypeInferenceRule to use inference rules of multiple dialects (#6198)

* [loco] TypeInferenceRule to use inference rules of multiple dialects

This commit adds MultiDialectTypeInferenceRule that uses inference rules of multiple dialects.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* using loco::link(..)

* using loco::link(..) for output too

* assert

* bind method

* struct to class

* //// -> ///

* modifying assert
compiler/loco/include/loco/Service/TypeInference.h
compiler/loco/src/Service/TypeInference.cpp
compiler/loco/src/Service/TypeInference.test.cpp