Fix #1421: Emit correct kind in ClassInfos
Don't remove originals when checking sizes
Don't reset nonExistent flag in Analyzer
wip refactor optimizer pipeline
wip
wip
wip