Issue

#I9LKA7:[新需求]: Move CheckCast and RefTypeCheck from loop and replace by deoptimization

Reason

Support hoisting CheckCast and RefTypeCheck from loop

Description

Move CheckCast and RefTypeCheck from loop in JIT/AOT and replace by deoptimization

Tests

ninja all tests

All required pre-merge tests passed. Results are available in the internal CI.