mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -197,7 +197,7 @@ static bool mayWriteTo(AliasAnalysis *AA, SideEffectAnalysis *SEA,
|
||||
}
|
||||
|
||||
/// Returns true if \p sideEffectInst cannot be reordered with a call to a
|
||||
/// global initialier.
|
||||
/// global initializer.
|
||||
static bool mayConflictWithGlobalInit(AliasAnalysis *AA,
|
||||
SILInstruction *sideEffectInst, ApplyInst *globalInitCall) {
|
||||
if (auto *SI = dyn_cast<StoreInst>(sideEffectInst)) {
|
||||
@@ -210,7 +210,7 @@ static bool mayConflictWithGlobalInit(AliasAnalysis *AA,
|
||||
}
|
||||
|
||||
/// Returns true if any of the instructions in \p sideEffectInsts which are
|
||||
/// post-dominated by a call to a global initialier cannot be reordered with
|
||||
/// post-dominated by a call to a global initializer cannot be reordered with
|
||||
/// the call.
|
||||
static bool mayConflictWithGlobalInit(AliasAnalysis *AA,
|
||||
InstSet &sideEffectInsts,
|
||||
@@ -234,7 +234,7 @@ static bool mayConflictWithGlobalInit(AliasAnalysis *AA,
|
||||
}
|
||||
|
||||
/// Returns true if any of the instructions in \p sideEffectInsts cannot be
|
||||
/// reordered with a call to a global initialier (which is in the same basic
|
||||
/// reordered with a call to a global initializer (which is in the same basic
|
||||
/// block).
|
||||
static bool mayConflictWithGlobalInit(AliasAnalysis *AA,
|
||||
ArrayRef<SILInstruction *> sideEffectInsts,
|
||||
@@ -1324,7 +1324,7 @@ hoistLoadsAndStores(AccessPath accessPath, SILLoop *loop) {
|
||||
|
||||
// If a store just stores the loaded value, bail. The operand (= the load)
|
||||
// will be removed later, so it cannot be used as available value.
|
||||
// This corner case is suprisingly hard to handle, so we just give up.
|
||||
// This corner case is surprisingly hard to handle, so we just give up.
|
||||
if (isLoadWithinAccess(dyn_cast<LoadInst>(SI->getSrc()), accessPath))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user