Home
last modified time | relevance | path

Searched refs:rangeGuardGate (Results 1 – 1 of 1) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Drange_guard.cpp97 auto rangeGuardGate = builder_.RangeGuard(input, 1, length); in TryApplyRangeGuardForLength() local
98 return rangeGuardGate; in TryApplyRangeGuardForLength()
110 auto rangeGuardGate = builder_.RangeGuard(input, 0, length); in TryApplyRangeGuardForIndex() local
111 return rangeGuardGate; in TryApplyRangeGuardForIndex()
133 auto rangeGuardGate = Circuit::NullGate(); in TryApplyRangeGuardGate() local
136 rangeGuardGate = TryApplyRangeGuardForLength(dependChain, gate, originalInput); in TryApplyRangeGuardGate()
137 … } else if (originalInputOpcode != OpCode::CONSTANT && rangeGuardGate == Circuit::NullGate()) { in TryApplyRangeGuardGate()
138 rangeGuardGate = TryApplyRangeGuardForIndex(dependChain, gate, originalInput); in TryApplyRangeGuardGate()
140 if (rangeGuardGate != Circuit::NullGate()) { in TryApplyRangeGuardGate()
141 acc_.ReplaceValueIn(gate, rangeGuardGate, i); in TryApplyRangeGuardGate()