Home | History | Annotate | Download | only in optimizing

Lines Matching refs:effects

27   // In DEBUG mode, ensure side effects are properly initialized to empty.
30 SideEffects effects = GetBlockEffects(block);
31 DCHECK(effects.DoesNothing());
33 effects = GetLoopEffects(block);
34 DCHECK(effects.DoesNothing());
41 SideEffects effects = SideEffects::None();
42 // Update `effects` with the side effects of all instructions in this block.
46 effects = effects.Union(instruction->GetSideEffects());
47 // If all side effects are represented, scanning further will not add any
48 // more information to side-effects of this block.
49 if (effects.DoesAll()) {
54 block_effects_[block->GetBlockId()] = effects;
57 // The side effects of the loop header are part of the loop.
58 UpdateLoopEffects(block->GetLoopInformation(), effects);
61 // Update the side effects of the outer loop with the side effects of the inner loop.
67 // Update the side effects of the loop with the side effects of this block.
68 UpdateLoopEffects(block->GetLoopInformation(), effects);
83 void SideEffectsAnalysis::UpdateLoopEffects(HLoopInformation* info, SideEffects effects) {
85 loop_effects_[id] = loop_effects_[id].Union(effects);