diff options
author | Steven Perron <stevenperron@google.com> | 2018-01-24 13:26:33 -0500 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-02-02 12:24:11 -0500 |
commit | bc1ec9418b89c996de85d68d28d070e6b2991a48 (patch) | |
tree | 945d8e40153acf44f622bef85ffe0612decc0f66 /Android.mk | |
parent | 1c0056c339227ca9e337ce3d2f5b83b1f8ccb1e5 (diff) |
Add general folding infrastructure.
Create the folding engine that will
1) attempt to fold an instruction.
2) iterates on the folding so small folding rules can be easily combined.
3) insert new instructions when needed.
I've added the minimum number of rules needed to test the features above.
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -78,6 +78,7 @@ SPVTOOLS_OPT_SRC_FILES := \ source/opt/feature_manager.cpp \ source/opt/flatten_decoration_pass.cpp \ source/opt/fold.cpp \ + source/opt/folding_rules.cpp \ source/opt/fold_spec_constant_op_and_composite_pass.cpp \ source/opt/freeze_spec_constant_value_pass.cpp \ source/opt/function.cpp \ |