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 <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2022-04-17 15:14:57 -04:00
committed by Josh Soref
parent de59784e16
commit 730b16c569
202 changed files with 481 additions and 481 deletions

View File

@@ -104,7 +104,7 @@ private:
void makeSubstUsableFromInline(const SubstitutionMap &substs);
};
/// Visitor for making used types of an intruction inlinable.
/// Visitor for making used types of an instruction inlinable.
///
/// We use the SILCloner for visiting types, though it sucks that we allocate
/// instructions just to delete them immediately. But it's better than to
@@ -236,7 +236,7 @@ bool CrossModuleOptimization::canSerializeFunction(
/// Returns true if \p inst can be serialized.
///
/// If \p inst is a function_ref, recursivly visits the referenced function.
/// If \p inst is a function_ref, recursively visits the referenced function.
bool CrossModuleOptimization::canSerializeInstruction(SILInstruction *inst,
FunctionFlags &canSerializeFlags, int maxDepth) {
@@ -264,7 +264,7 @@ bool CrossModuleOptimization::canSerializeInstruction(SILInstruction *inst,
return false;
}
// Recursivly walk down the call graph.
// Recursively walk down the call graph.
if (canSerializeFunction(callee, canSerializeFlags, maxDepth - 1))
return true;
@@ -303,7 +303,7 @@ bool CrossModuleOptimization::canSerializeInstruction(SILInstruction *inst,
return !MI->getMember().isForeign;
}
if (auto *REAI = dyn_cast<RefElementAddrInst>(inst)) {
// In conservative mode, we don't support class field accesse of non-public
// In conservative mode, we don't support class field accesses of non-public
// properties, because that would require to make the field decl public -
// which keeps more metadata alive.
return !conservative ||
@@ -435,7 +435,7 @@ bool CrossModuleOptimization::shouldSerialize(SILFunction *function) {
return true;
if (!conservative) {
// The basic heursitic: serialize all generic functions, because it makes a
// The basic heuristic: serialize all generic functions, because it makes a
// huge difference if generic functions can be specialized or not.
if (function->getLoweredFunctionType()->isPolymorphic())
return true;
@@ -479,7 +479,7 @@ void CrossModuleOptimization::serializeFunction(SILFunction *function,
/// Prepare \p inst for serialization.
///
/// If \p inst is a function_ref, recursivly visits the referenced function.
/// If \p inst is a function_ref, recursively visits the referenced function.
void CrossModuleOptimization::serializeInstruction(SILInstruction *inst,
const FunctionFlags &canSerializeFlags) {
// Put callees onto the worklist if they should be serialized as well.