This is to avoid unnecessary traversals of the IR. Differential Revision: https://reviews.llvm.org/D143408
Transforms/SideEffectUtils.h
Interface/SideEffectInterfaces.h