Home
last modified time | relevance | path

Searched full:checkcast (Results 1 – 25 of 74) sorted by relevance

123

/arkcompiler/runtime_core/static_core/tests/checked/
Dcheckcast_elimination.pa17 #! CHECKER CheckCast Elimination applied, replaced by Deoptimize.
21 #! INST "CheckCast"
23 #! INST_NOT "CheckCast"
31 checkcast B
43 #! CHECKER CheckCast Elimination applied, remove redundant checkcast for field value.
47 #! INST "CheckCast"
49 #! INST_NOT "CheckCast"
59 checkcast A
71 #! CHECKER CheckCast Elimination applied, remove redundant checkcast for method return value.
75 #! INST "CheckCast"
[all …]
Dcheckcast_elimination_test.pa20 #! CHECKER CheckCast Elimination applied, replaced by Deoptimize.
24 #! INST_NOT "CheckCast"
32 checkcast C
49 #! CHECKER CheckCast Elimination applied, remove redundant checkcast.
53 #! INST_NOT "CheckCast"
60 checkcast A
62 checkcast A
79 #! CHECKER CheckCast Elimination applied, remove redundant checkcast, inline.
85 checkcast C
108 #! CHECKER CheckCast Elimination applied, remove redundant checkcast for field value.
[all …]
Dcheckcast_nullcheck.pa22 #! CHECKER Null check inside CheckCast can be omitted if its input is NullCheck
24 #! EVENT /CodegenSimplification,CHECKCAST,SKIP_NULLCHECK/
30 checkcast R
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcheckcast.yaml44 - file-name: "checkcast"
51 - sig: checkcast type_id
84 - checkcast panda.Object
86 - checkcast panda.String
88 - checkcast R
91 checkcast R
92 checkcast Q
95 checkcast panda.ClassCastException
96 checkcast R
129 - checkcast panda.Object
[all …]
/arkcompiler/runtime_core/static_core/compiler/docs/
Dobject_type_check_elimination_doc.md3 **Object Type Check Elimination** - optimization which try to reduce number of IsInstance/CheckCast
13 Visit `IsInstance` and `CheckCast` instructions in RPO order and try to elimiate them.
20 ### CheckCast subsection
22 If an object in input can't be cast to the resolved type `CheckCast` is replaced by deoptimize, els…
23 `CheckCastVisitor` also used in `CheckCast` optimizations.
45 checkcast A // will removed
46 checkcast C // will replaced by deoptimze
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dcheckcast.yaml23 - file-name: "checkcast"
30 - sig: checkcast type_id
61 - checkcast panda.Object
63 - checkcast panda.String
65 - checkcast R
68 checkcast R
69 checkcast Q
72 checkcast panda.ClassCastException
73 checkcast R
102 - checkcast panda.Object[]
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dhoist_checkcast.sts16 //! CHECKER Hoist loop invariant CheckCast and replace by deopt, JIT
23 //! INST_COUNT "CheckCast", 1
27 //! INST "CheckCast D"
30 //! INST_COUNT "CheckCast", 1
33 //! CHECKER Hoist loop invariant CheckCast and replace by deopt, AOT
76 //! INST_NOT "CheckCast"
82 //! INST_NOT "CheckCast"
/arkcompiler/runtime_core/tests/cts-assembly/
Dobj-24.pa14 #Assert that operation checkcast works fine
22 checkcast Asm
Dobj-36.pa14 # check that checkcast doesn't trigger cctor
35 checkcast R1
Doom-02.pa59 checkcast A
69 checkcast A
Doom-01.pa59 checkcast A
69 checkcast A
/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dobj-24.pa14 #Assert that operation checkcast works fine
22 checkcast Asm
Dobj-36.pa14 # check that checkcast doesn't trigger cctor
35 checkcast R1
Doom-02.pa59 checkcast A
69 checkcast A
Doom-01.pa59 checkcast A
69 checkcast A
Dexceptions-class-cast.pa27checkcast LoremipsumdolorsitametconsecteturadipiscingelitMorbiingravidanibhFusceaccumsandiamvitaeu…
Dobj-28.pa31 checkcast R2
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dobject_type_check_elimination.cpp126 ASSERT(inst->GetOpcode() == Opcode::CheckCast); in TryEliminateCheckCast()
136 auto checkCast = inst->CastToCheckCast(); in TryEliminateCheckCast() local
137 auto tgtKlass = graph->GetRuntime()->GetClass(checkCast->GetMethod(), checkCast->GetTypeId()); in TryEliminateCheckCast()
140 // But we can't change the CheckCast to Deoptimize, because we can resolve after compilation in TryEliminateCheckCast()
153 if (IsMember(ref, checkCast->GetTypeId(), inst)) { in TryEliminateCheckCast()
171 case Opcode::CheckCast: in IsMember()
/arkcompiler/runtime_core/static_core/verification/
DTODO.txt20 - done Introduce the same mechanism in checkcast
21 - Return error if checkcast fail wrt typecasting in past?
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DCastReference4.sts33 …// Instruction 'checkcast' will always throw an exception here. It may be a sign of possible error…
45 …// Instruction 'checkcast' will always throw an exception here. It may be a sign of possible error…
/arkcompiler/runtime_core/static_core/tests/verifier-tests/
Dcheckcast_null_acctype.pa21 checkcast panda.Object
/arkcompiler/runtime_core/libabckit/tests/ut/isa/isa_static/cast/
Dcheckcast_static.sts32 // <checkcast A>;
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
Dreg_encoder_test.cpp262 INST(20U, Opcode::CheckCast).Inputs(18U, 21U, 19U); in TEST_F()
269 INST(31U, Opcode::CheckCast).Inputs(29U, 32U, 30U); in TEST_F()
276 INST(42U, Opcode::CheckCast).Inputs(40U, 43U, 41U); in TEST_F()
283 INST(53U, Opcode::CheckCast).Inputs(51U, 54U, 52U); in TEST_F()
315 INST(20U, Opcode::CheckCast).Inputs(18U, 21U, 60U); in TEST_F()
322 INST(31U, Opcode::CheckCast).Inputs(29U, 32U, 63U); in TEST_F()
329 INST(42U, Opcode::CheckCast).Inputs(40U, 43U, 41U); in TEST_F()
336 INST(53U, Opcode::CheckCast).Inputs(51U, 54U, 52U); in TEST_F()
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/
Dnewobj.pa56 checkcast Asm2
/arkcompiler/runtime_core/tests/irtoc-interpreter-tests/
Dnewobj.pa56 checkcast Asm2

123