[enco] Introduce CodeIndex (#1678)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Mon, 1 Oct 2018 01:34:39 +0000 (10:34 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 1 Oct 2018 01:34:39 +0000 (10:34 +0900)
commitf453f276a65b1dd2a3cd42855bf5588a8b6142c7
tree9ad58c8f55d2b0b1756b0ae9691a737840796a1e
parentc10cd389b4cc170b0591df71780c89488cd8a2cb
[enco] Introduce CodeIndex (#1678)

This commit introduces CodeIndex class (which is a pair of BlockIndex
and InstrIndex). This CodeIndex allows us to decide the order between
two instructions without building a sequence map.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/enco/core/src/CodeIndex.h [new file with mode: 0644]
contrib/enco/core/src/Transforms/Optimizations.cpp