Skip to content

Commit 730b16c

Browse files
committed
Spelling siloptimizer
* access * accessed * accesses * accessor * acquiring * across * activated * additive * address * addresses' * aggregated * analysis * and * appropriately * archetype * argument * associated * availability * barriers * because * been * beginning * belongs * beneficial * blocks * borrow * builtin * cannot * canonical * canonicalize * clazz * cleanup * coalesceable * coalesced * comparisons * completely * component * computed * concrete * conjunction * conservatively * constituent * construct * consuming * containing * covered * creates * critical * dataflow * declaration * defined * defining * definition * deinitialization * deliberately * dependencies * dependent * deserialized * destroy * deterministic * deterministically * devirtualizes * diagnostic * diagnostics * differentiation * disable * discipline * dominate * dominates * don't * element * eliminate * eliminating * elimination * embedded * encounter * epilogue * epsilon * escape * escaping * essential * evaluating * evaluation * evaluator * executing * existential * existentials * explicit * expression * extended * extension * extract * for * from * function * generic * guarantee * guaranteed * happened * heuristic * however * identifiable * immediately * implementation * improper * include * infinite * initialize * initialized * initializer * inside * instruction * interference * interferes * interleaved * internal * intersection * intractable * intrinsic * invalidates * irreducible * irrelevant * language * lifetime * literal * looks * materialize * meaning * mergeable * might * mimics * modification * modifies * multiple * mutating * necessarily * necessary * needsmultiplecopies * nonetheless * nothing * occurred * occurs * optimization * optimizing * original * outside * overflow * overlapping * overridden * owned * ownership * parallel * parameter * paths * patterns * pipeline * plottable * possible * potentially * practically * preamble * precede * preceding * predecessor * preferable * preparation * probably * projection * properties * property * protocol * reabstraction * reachable * recognized * recursive * recursively * redundant * reentrancy * referenced * registry * reinitialization * reload * represent * requires * response * responsible * retrieving * returned * returning * returns * rewriting * rewritten * sample * scenarios * scope * should * sideeffects * similar * simplify * simplifycfg * somewhat * spaghetti * specialization * specializations * specialized * specially * statistically * substitute * substitution * succeeds * successful * successfully * successor * superfluous * surprisingly * suspension * swift * targeted * that * that our * the * therefore * this * those * threshold * through * transform * transformation * truncated * ultimate * unchecked * uninitialized * unlikely * unmanaged * unoptimized key * updataflow * usefulness * utilities * villain * whenever * writes Signed-off-by: Josh Soref <[email protected]>
1 parent de59784 commit 730b16c

File tree

202 files changed

+481
-481
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+481
-481
lines changed

include/swift/SILOptimizer/Analysis/ARCAnalysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ valueHasARCDecrementOrCheckInInstructionRange(SILValue Op,
117117
/// in the predecessors.
118118
///
119119
/// The search stop when we encounter an instruction that may decrement
120-
/// the return'ed value, as we do not want to create a lifetime gap once the
120+
/// the returned value, as we do not want to create a lifetime gap once the
121121
/// retain is moved.
122122
class ConsumedResultToEpilogueRetainMatcher {
123123
public:

include/swift/SILOptimizer/Analysis/AccessStorageAnalysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ namespace swift {
125125
using AccessStorageSet = llvm::SmallDenseSet<StorageAccessInfo, 8>;
126126

127127
/// Records each unique AccessStorage in a set of StorageAccessInfo
128-
/// objects. Hashing and equality only sees the AccesedStorage data. The
128+
/// objects. Hashing and equality only sees the AccessedStorage data. The
129129
/// additional StorageAccessInfo bits are recorded as results of this analysis.
130130
///
131131
/// Any unidentified accesses are summarized as a single unidentifiedAccess

include/swift/SILOptimizer/Analysis/AccessSummaryAnalysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class AccessSummaryAnalysis : public BottomUpIPAnalysis {
108108
public:
109109
FunctionSummary(unsigned argCount) : ArgAccesses(argCount) {}
110110

111-
/// Returns of summary of the the function accesses that argument at the
111+
/// Returns of summary of the function accesses that argument at the
112112
/// given index.
113113
ArgumentSummary &getAccessForArgument(unsigned argument) {
114114
return ArgAccesses[argument];
@@ -229,7 +229,7 @@ class AccessSummaryAnalysis : public BottomUpIPAnalysis {
229229
void processFunction(FunctionInfo *info, FunctionOrder &order);
230230

231231
/// Summarize how the function uses the given argument.
232-
void processArgument(FunctionInfo *info, SILFunctionArgument *argment,
232+
void processArgument(FunctionInfo *info, SILFunctionArgument *argument,
233233
ArgumentSummary &summary, FunctionOrder &order);
234234

235235
/// Summarize a partial_apply instruction.

include/swift/SILOptimizer/Analysis/AliasAnalysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class AliasAnalysis {
9898

9999
/// Set of instructions inside immutable-scopes.
100100
///
101-
/// Contains pairs of intructions: the first instruction is the begin-scope
101+
/// Contains pairs of instructions: the first instruction is the begin-scope
102102
/// instruction (e.g. begin_access), the second instruction is an
103103
/// instruction inside the scope (only may-write instructions are considered).
104104
llvm::DenseSet<ScopeCacheKey> instsInImmutableScopes;

include/swift/SILOptimizer/Analysis/ArraySemantic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class ArraySemanticsCall {
196196
bool canInlineEarly() const;
197197

198198
/// If this is a call to ArrayUninitialized (or
199-
/// ArrayUninitializedInstrinsic), identify the instructions that store
199+
/// ArrayUninitializedIntrinsic), identify the instructions that store
200200
/// elements into the array indices. For every index, add the store
201201
/// instruction that stores to that index to \p ElementStoreMap.
202202
///

include/swift/SILOptimizer/Analysis/ClosureScope.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
///
2121
/// Like CallerAnalysis, ClosureScope is top-down, but unlike CallerAnalysis, it
2222
/// does not require complex invalidation and recomputation. The underlying
23-
/// assumption is that no trasformation will add new references to existing
23+
/// assumption is that no transformation will add new references to existing
2424
/// non-escaping closures, with some exceptions like SILCloner.
2525
///
2626
/// TODO: When this analysis is used across passes, fix SILCloner to update or
@@ -43,7 +43,7 @@
4343
/// cyclic because there's no way to name a non-escaping closure. So, in the
4444
/// long term the acyclic assumption made by this analysis is protected by
4545
/// non-reentrant semantics, and in the short-term it's safe because of the
46-
/// lanuguage's practical limitations.
46+
/// language's practical limitations.
4747
///
4848
//===----------------------------------------------------------------------===//
4949

include/swift/SILOptimizer/Analysis/DifferentiableActivityAnalysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class DominanceAnalysis;
6565
class PostDominanceAnalysis;
6666
class DominanceInfo;
6767
class PostDominanceInfo;
68-
class SILFunciton;
68+
class SILFunction;
6969

7070
class DifferentiableActivityCollection;
7171
class DifferentiableActivityAnalysis
@@ -166,7 +166,7 @@ class DifferentiableActivityInfo {
166166
/// - Incoming values, if the value is a basic block argument.
167167
void setUsefulAndPropagateToOperands(SILValue value,
168168
unsigned dependentVariableIndex);
169-
/// Propagates usefulnesss to the operands of the given instruction.
169+
/// Propagates usefulness to the operands of the given instruction.
170170
void propagateUseful(SILInstruction *inst, unsigned dependentVariableIndex);
171171
/// Marks the given address or class-typed value as useful and recursively
172172
/// propagates usefulness inwards (to operands) through projections. Skips

include/swift/SILOptimizer/Analysis/EpilogueARCAnalysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class EpilogueARCContext {
8383
/// The exit blocks of the function.
8484
llvm::SmallPtrSet<SILBasicBlock *, 2> ExitBlocks;
8585

86-
/// Returns the EpligoyeARCBlockState for \p BB. If \p BB is unreachable,
86+
/// Returns the EpilogueARCBlockState for \p BB. If \p BB is unreachable,
8787
/// returns None
8888
Optional<EpilogueARCBlockState *> getState(SILBasicBlock *BB) {
8989
// poNumber will be None for unreachable blocks

include/swift/SILOptimizer/Analysis/EscapeAnalysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,14 +860,14 @@ class EscapeAnalysis : public BottomUpIPAnalysis {
860860

861861
/// Returns true if the graph could be computed.
862862
///
863-
/// For very large functions (> 10000 nodes), graphs are not cumputed to
863+
/// For very large functions (> 10000 nodes), graphs are not computed to
864864
/// avoid quadratic complexity of the node merging algorithm.
865865
bool isValid() const {
866866
assert((valid || isEmpty()) && "invalid graph must not contain nodes");
867867
return valid;
868868
}
869869

870-
/// Invalides the graph in case it's getting too large.
870+
/// Invalidates the graph in case it's getting too large.
871871
void invalidate() {
872872
clear();
873873
valid = false;

include/swift/SILOptimizer/Analysis/Reachability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class BackwardReachability {
8181
}
8282
}
8383

84-
// Data flow "meet": interesection of successor reachability.
84+
// Data flow "meet": intersection of successor reachability.
8585
void solveBackward() {
8686
while (SILBasicBlock *block = cfgWorklist.popAndForget()) {
8787
if (!meetOverSuccessors(block))

0 commit comments

Comments
 (0)