Home
last modified time | relevance | path

Searched full:isinstance (Results 1 – 25 of 45) sorted by relevance

12

/arkcompiler/runtime_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.
16 ### IsInstance subsection
18 `IsInstance` is replaced by 1 if an object in input can be cast to the resolved type, else replaced…
39 isinstance A // will replaced by 1
42 isinstance A // will replaced by 0
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Disinstance.yaml47 - file-name: "isinstance"
56 - sig: isinstance type_id
72 isinstance %s
93 isinstance %s
117 isinstance %s
162 isinstance panda.Object
165 isinstance panda.Class
168 isinstance panda.String
171 isinstance panda.ClassCastException
174 isinstance R
[all …]
Dthrow.yaml147 isinstance panda.NullPointerException
150 isinstance panda.Object
180 isinstance panda.NullPointerException
183 isinstance panda.Object
322 isinstance panda.NullPointerException
325 isinstance panda.Object
336 isinstance E1
339 isinstance panda.Object
350 isinstance E2
353 isinstance panda.Object
[all …]
Dlda.str.yaml149 isinstance panda.String
152 isinstance panda.Object
189 isinstance panda.String
192 isinstance panda.Object
Dnewarr.yaml93 isinstance %s
96 isinstance panda.Object
297 isinstance %s
300 isinstance panda.Object
358 isinstance %s
361 isinstance panda.Object
Dnewobj.yaml209 isinstance %s
212 isinstance panda.Object
251 isinstance %s
254 isinstance panda.Object
Dreturn.obj.yaml592 isinstance %s
611 isinstance %s
711 isinstance %s
804 isinstance %s
Dlda.type.yaml227 isinstance panda.Class
230 isinstance panda.Object
279 isinstance panda.Class
282 isinstance panda.Object
Dtemplate.yaml249 - include: 'isinstance.yaml'
/arkcompiler/runtime_core/tests/cts-assembly/
Dobj-25.pa14 #Assert that operation isinstance works fine
28 isinstance Asm
32 isinstance Asm
Dobj-35.pa14 # check that isinstance doesn't trigger cctor
34 isinstance R1
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dobject_type_check_elimination.cpp64 /// This function try to replace IsInstance with a constant.
65 /// If input of IsInstance is Nullptr then it replaced by zero constant.
68 ASSERT(inst->GetOpcode() == Opcode::IsInstance); in TryEliminateIsInstance()
78 // But we can't change the IsInstance to Deoptimize, because we can resolve after compilation in TryEliminateIsInstance()
80 // If we can't replace IsInstance, we should reset ObjectTypeInfo for input in TryEliminateIsInstance()
99 // If we can't replace IsInstance, we should reset ObjectTypeInfo for input in TryEliminateIsInstance()
Dobject_type_check_elimination.h60 /// This function try to replace IsInstance with a constant.
61 /// If input of IsInstance is Nullptr then it replaced by zero constant.
/arkcompiler/runtime_core/tests/irtoc-interpreter-tests/
Dnewobj.pa47 isinstance Asm
52 isinstance Asm
/arkcompiler/runtime_core/disassembler/tests/sources/
Dinstructions.pa193 isinstance A
/arkcompiler/runtime_core/compiler/tests/
Dvn_test.cpp811 INST(3, Opcode::IsInstance).b().Inputs(0, 2, 12).TypeId(1); in TEST_F()
813 INST(5, Opcode::IsInstance).b().Inputs(0, 4, 12).TypeId(1); in TEST_F()
815 INST(7, Opcode::IsInstance).b().Inputs(1, 6, 12).TypeId(1); in TEST_F()
817 INST(9, Opcode::IsInstance).b().Inputs(0, 8, 12).TypeId(2); in TEST_F()
832 INST(3, Opcode::IsInstance).b().Inputs(0, 2, 12).TypeId(1); in TEST_F()
833 INST(7, Opcode::IsInstance).b().Inputs(1, 2, 12).TypeId(1); in TEST_F()
835 INST(9, Opcode::IsInstance).b().Inputs(0, 8, 12).TypeId(2); in TEST_F()
912 INST(3, Opcode::IsInstance).b().Inputs(0, 2, 1).TypeId(1); in TEST_F()
928 INST(3, Opcode::IsInstance).b().Inputs(0, 2, 1).TypeId(1); in TEST_F()
951 INST(3, Opcode::IsInstance).b().Inputs(0, 2, 1).TypeId(1); in TEST_F()
[all …]
Dgraph_comparator.h181 CHECK(IsInstance, GetNeedBarrier) in Compare()
216 // CHECK(IsInstance, GetTypeId) in Compare()
Dinst_generator.h178 {Opcode::IsInstance, {DataType::BOOL}},
/arkcompiler/runtime_core/docs/
DPBC2IR.md196 | isinstance | LoadClass, i32 IsInstance |
/arkcompiler/runtime_core/verification/
Dmessages.yaml314 …Wrong type for 'isinstance'. It is a non-object/non-array type '${type}'. Possible types are ${pos…
321 …Accumulator type '${acc_type}' is always a subtype of '${type}'. Result of 'isinstance' is always …
330 Result of 'isinstance' is always zero. It may be a sign of possible error here.
/arkcompiler/runtime_core/libpandabase/events/
Devents.yaml218 enum: [checkcast, isinstance]
/arkcompiler/runtime_core/tests/checked/
Dimplicit_nullcheck_tests.pa211 isinstance A
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb123 /^isinstance/ => "isinstance",
/arkcompiler/runtime_core/runtime/entrypoints/
Dentrypoints.yaml293 - name: IsInstance
/arkcompiler/runtime_core/runtime/include/
Dobject_header.h181 inline bool IsInstance() const;

12