ART: Setting up cleanup

- Moved code around to actually have the clean-up code in a PassDriver format.
    This allows us to better control what is being called after an optimization
    It also allows the use of a centralized pass system for both optimizations
      and cleanup.

Change-Id: I9d21e9bb9ee663739722f440d82adf04f73e380c
Signed-off-by: Jean Christophe Beyler <>
Signed-off-by: Razvan A Lupusoru <>
Signed-off-by: Yixin Shou <>
Signed-off-by: Chao-ying Fu <>
Signed-off-by: Udayan Banerji <>
19 files changed