summaryrefslogtreecommitdiff
path: root/source/opt/fold.cpp
AgeCommit message (Expand)AuthorFilesLines
2018-02-27Merge arithmetic with non-trivial constant operandsAlan Baker1-14/+4
2018-02-16Get CCP to use the constant floating point rules.Steven Perron1-8/+8
2018-02-14Fold binary floating point operators.Steven Perron1-4/+8
2018-02-09Add folding of OpCompositeExtract and OpConstantComposite constant instructions.Steven Perron1-11/+28
2018-02-07Make use of the instruction folder.Steven Perron1-25/+8
2018-02-02Add general folding infrastructure.Steven Perron1-5/+56
2018-01-22Use id_map in Fold*ToConstantSteven Perron1-16/+24
2018-01-22Add generic folding function and use in CCPSteven Perron1-2/+278
2018-01-10Add generic folding function and use in CCPSteven Perron1-0/+61
2017-12-22Fix https://github.com/KhronosGroup/SPIRV-Tools/issues/1130Diego Novillo1-5/+12
2017-12-21Implement SSA CCP (SSA Conditional Constant Propagation).Diego Novillo1-6/+48
2017-10-17Re-factor generic constant folding code out of FoldSpecConstantOpAndComposite...Diego Novillo1-0/+244