Skip to content

Commit f328070

Browse files
[gardening] Use American English: "analysing" → "analyzing"
1 parent 106c63e commit f328070

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

include/swift/SILOptimizer/Analysis/EscapeAnalysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,14 +695,14 @@ class EscapeAnalysis : public BottomUpIPAnalysis {
695695
void buildConnectionGraph(FunctionInfo *FInfo, FunctionOrder &BottomUpOrder,
696696
int RecursionDepth);
697697

698-
/// Updates the graph by analysing instruction \p I.
698+
/// Updates the graph by analyzing instruction \p I.
699699
/// Visited callees are added to \p BottomUpOrder until \p RecursionDepth
700700
/// reaches MaxRecursionDepth.
701701
void analyzeInstruction(SILInstruction *I, FunctionInfo *FInfo,
702702
FunctionOrder &BottomUpOrder,
703703
int RecursionDepth);
704704

705-
/// Updates the graph by analysing instruction \p SI, which may be a
705+
/// Updates the graph by analyzing instruction \p SI, which may be a
706706
/// select_enum, select_enum_addr or select_value.
707707
template<class SelectInst>
708708
void analyzeSelectInst(SelectInst *SI, ConnectionGraph *ConGraph);

lib/SILOptimizer/LoopTransforms/COWArrayOpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ class COWArrayOpt {
382382
SmallPtrSet<Operand*, 8> MatchedReleases;
383383

384384
// The address of the array passed to the current make_mutable we are
385-
// analysing.
385+
// analyzing.
386386
SILValue CurrentArrayAddr;
387387
public:
388388
COWArrayOpt(RCIdentityFunctionInfo *RCIA, SILLoop *L,

lib/SILOptimizer/LoopTransforms/LICM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ void LoopTreeOptimization::analyzeCurrentLoop(
475475
std::unique_ptr<LoopNestSummary> &CurrSummary, ReadSet &SafeReads) {
476476
WriteSet &MayWrites = CurrSummary->MayWrites;
477477
SILLoop *Loop = CurrSummary->Loop;
478-
DEBUG(llvm::dbgs() << " Analysing accesses.\n");
478+
DEBUG(llvm::dbgs() << " Analyzing accesses.\n");
479479

480480
// Contains function calls in the loop, which only read from memory.
481481
SmallVector<ApplyInst *, 8> ReadOnlyApplies;

lib/Sema/TypeCheckExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
//
13-
// This file implements semantic analysis for expressions, analysing an
13+
// This file implements semantic analysis for expressions, analyzing an
1414
// expression tree in post-order, bottom-up, from leaves up to the root.
1515
//
1616
//===----------------------------------------------------------------------===//

lib/Sema/TypeCheckPattern.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
//
13-
// This file implements semantic analysis for patterns, analysing a
13+
// This file implements semantic analysis for patterns, analyzing a
1414
// pattern tree in both bottom-up and top-down ways.
1515
//
1616
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)