Expose SIL/BasicBlockUtils for critical edge splitting.

The primary interfaces for CFG manipulation belong in SIL. This is
just what's necessary to fix SILCloner.
This commit is contained in:
Andrew Trick
2018-09-26 18:39:40 -07:00
parent f625f466c4
commit 12bb49f57a
7 changed files with 315 additions and 302 deletions

View File

@@ -12,6 +12,7 @@
#define DEBUG_TYPE "sil-loop-utils"
#include "swift/SILOptimizer/Utils/LoopUtils.h"
#include "swift/SIL/BasicBlockUtils.h"
#include "swift/SIL/Dominance.h"
#include "swift/SIL/LoopInfo.h"
#include "swift/SIL/SILArgument.h"