HomePhabricator

[NFC] Factor out guard utility methods into a separate file

Authored by mkazantsev on Aug 29 2018, 3:51 AM.

Description

[NFC] Factor out guard utility methods into a separate file

This patch creates file GuardUtils which will contain logic for work with guards
that can be shared across different passes.

Differential Revision: https://reviews.llvm.org/D51151
Reviewed By: fedor.sergeev

llvm-svn: 340914