循环不变代码外提
Sign in to savecode statements that can be moved outside the body of a loop without affecting the semantics of the program
Article · 中文
循环不变代码外提(英語:loop-invariant code motion,缩写LICM)在计算机编程中是指将循环不变的语句或表达式移到循环体之外,而不改变程序的语义。循环不变代码外提在英文中又被称为hoisting或scalar promotion,是编译器中常见的优化方法。
Abstract from DBpedia / Wikipedia · CC BY-SA
Connections
register allocation
Entity
loop invariant
Entity
optimizing compiler
Entity
International Standard Book Number
Entity
programming language
Entity
computer programming
Entity
digital object identifier
Entity
Q182933
Entity
imperative programming
Entity
instruction set architecture
Entity
program loop
Entity
side effect
Entity
code generation
Entity
tail recursion
Entity
loop unrolling
Entity
common subexpression elimination
Entity
dead code elimination
Entity
inline expansion
Entity
Constant folding
Entity
data-flow analysis
Entity