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

@@ -11,9 +11,9 @@
//===----------------------------------------------------------------------===//
#include "swift/SILOptimizer/Utils/StackNesting.h"
#include "swift/SILOptimizer/Utils/CFG.h"
#include "swift/SIL/SILFunction.h"
#include "swift/SIL/BasicBlockUtils.h"
#include "swift/SIL/SILBuilder.h"
#include "swift/SIL/SILFunction.h"
#include "llvm/Support/Debug.h"
using namespace swift;