File tree 5 files changed +9
-21
lines changed
lib/SILOptimizer/Mandatory
5 files changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ silopt_register_sources(
4
4
AddressLowering.cpp
5
5
ConstantPropagation.cpp
6
6
DefiniteInitialization.cpp
7
- DIMemoryUseCollectorOwnership .cpp
7
+ DIMemoryUseCollector .cpp
8
8
DataflowDiagnostics.cpp
9
9
DiagnoseInfiniteRecursion.cpp
10
10
DiagnoseStaticExclusivity.cpp
Original file line number Diff line number Diff line change 1
- // ===--- DIMemoryUseCollectorOwnership .cpp - Memory use analysis for DI ---===//
1
+ // ===--- DIMemoryUseCollector .cpp -------------------------------------- ---===//
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
5
- // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See https://swift.org/LICENSE.txt for license information
11
11
// ===----------------------------------------------------------------------===//
12
12
13
13
#define DEBUG_TYPE " definite-init"
14
- #include " DIMemoryUseCollectorOwnership .h"
14
+ #include " DIMemoryUseCollector .h"
15
15
#include " swift/AST/Expr.h"
16
16
#include " swift/SIL/ApplySite.h"
17
17
#include " swift/SIL/InstructionUtils.h"
21
21
#include " llvm/Support/Debug.h"
22
22
#include " llvm/Support/SaveAndRestore.h"
23
23
24
- #ifdef SWIFT_SILOPTIMIZER_MANDATORY_DIMEMORYUSECOLLECTOR_H
25
- #error "Included non ownership header?!"
26
- #endif
27
-
28
24
using namespace swift ;
29
25
using namespace ownership ;
30
26
Original file line number Diff line number Diff line change 1
- // ===--- DIMemoryUseCollectorOwnership .h - Mem. use info for DI -*- C++ -* -===//
1
+ // ===--- DIMemoryUseCollector .h ------------------------------------------ -===//
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
5
- // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See https://swift.org/LICENSE.txt for license information
17
17
//
18
18
// ===----------------------------------------------------------------------===//
19
19
20
- #ifndef SWIFT_SILOPTIMIZER_PASSMANAGER_DIMEMORYUSECOLLECTOROWNERSHIP_H
21
- #define SWIFT_SILOPTIMIZER_PASSMANAGER_DIMEMORYUSECOLLECTOROWNERSHIP_H
20
+ #ifndef SWIFT_SILOPTIMIZER_PASSMANAGER_DIMEMORYUSECOLLECTOR_H
21
+ #define SWIFT_SILOPTIMIZER_PASSMANAGER_DIMEMORYUSECOLLECTOR_H
22
22
23
23
#include " swift/Basic/LLVM.h"
24
24
#include " swift/SIL/SILInstruction.h"
Original file line number Diff line number Diff line change 11
11
// ===----------------------------------------------------------------------===//
12
12
13
13
#define DEBUG_TYPE " definite-init"
14
- #include " DIMemoryUseCollectorOwnership .h"
14
+ #include " DIMemoryUseCollector .h"
15
15
#include " MandatoryOptUtils.h"
16
16
#include " swift/AST/DiagnosticEngine.h"
17
17
#include " swift/AST/DiagnosticsSIL.h"
33
33
#include " llvm/Support/Compiler.h"
34
34
#include " llvm/Support/Debug.h"
35
35
36
- #ifdef SWIFT_SILOPTIMIZER_PASSMANAGER_DIMEMORYUSECOLLECTOR_H
37
- #error "Included non ownership header?!"
38
- #endif
39
-
40
36
using namespace swift ;
41
37
using namespace ownership ;
42
38
Original file line number Diff line number Diff line change 20
20
#include " llvm/Support/Debug.h"
21
21
#include " llvm/Support/SaveAndRestore.h"
22
22
23
- #ifdef SWIFT_SILOPTIMIZER_PASSMANAGER_PMOMEMORYUSECOLLECTOROWNERSHIP_H
24
- #error "Included ownership header?!"
25
- #endif
26
-
27
23
using namespace swift ;
28
24
29
25
// ===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments