| /arkcompiler/runtime_core/compiler/docs/ |
| D | object_type_check_elimination_doc.md | 3 **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/ |
| D | isinstance.yaml | 47 - 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 …]
|
| D | throw.yaml | 147 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 …]
|
| D | lda.str.yaml | 149 isinstance panda.String 152 isinstance panda.Object 189 isinstance panda.String 192 isinstance panda.Object
|
| D | newarr.yaml | 93 isinstance %s 96 isinstance panda.Object 297 isinstance %s 300 isinstance panda.Object 358 isinstance %s 361 isinstance panda.Object
|
| D | newobj.yaml | 209 isinstance %s 212 isinstance panda.Object 251 isinstance %s 254 isinstance panda.Object
|
| D | return.obj.yaml | 592 isinstance %s 611 isinstance %s 711 isinstance %s 804 isinstance %s
|
| D | lda.type.yaml | 227 isinstance panda.Class 230 isinstance panda.Object 279 isinstance panda.Class 282 isinstance panda.Object
|
| D | template.yaml | 249 - include: 'isinstance.yaml'
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | obj-25.pa | 14 #Assert that operation isinstance works fine 28 isinstance Asm 32 isinstance Asm
|
| D | obj-35.pa | 14 # check that isinstance doesn't trigger cctor 34 isinstance R1
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | object_type_check_elimination.cpp | 64 /// 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()
|
| D | object_type_check_elimination.h | 60 /// 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/ |
| D | newobj.pa | 47 isinstance Asm 52 isinstance Asm
|
| /arkcompiler/runtime_core/disassembler/tests/sources/ |
| D | instructions.pa | 193 isinstance A
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | vn_test.cpp | 811 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 …]
|
| D | graph_comparator.h | 181 CHECK(IsInstance, GetNeedBarrier) in Compare() 216 // CHECK(IsInstance, GetTypeId) in Compare()
|
| D | inst_generator.h | 178 {Opcode::IsInstance, {DataType::BOOL}},
|
| /arkcompiler/runtime_core/docs/ |
| D | PBC2IR.md | 196 | isinstance | LoadClass, i32 IsInstance |
|
| /arkcompiler/runtime_core/verification/ |
| D | messages.yaml | 314 …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/ |
| D | events.yaml | 218 enum: [checkcast, isinstance]
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | implicit_nullcheck_tests.pa | 211 isinstance A
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | inst_builder_gen.cpp.erb | 123 /^isinstance/ => "isinstance",
|
| /arkcompiler/runtime_core/runtime/entrypoints/ |
| D | entrypoints.yaml | 293 - name: IsInstance
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | object_header.h | 181 inline bool IsInstance() const;
|