Home
last modified time | relevance | path

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

12

/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 …]
Dtemplate.yaml190 - include: 'checkcast.yaml'
/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.
21 ### CheckCast subsection
23 If an object in input can't be cast to the resolved type `CheckCast` is replaced by deoptimize, els…
24 `CheckCastVisitor` also used in `CheckCast` optimizations.
46 checkcast A // will removed
47 checkcast C // will replaced by deoptimze
/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
Dobj-28.pa31 checkcast R2
/arkcompiler/runtime_core/verification/
DTODO.txt20 - done Introduce the same mechanism in checkcast
21 - Return error if checkcast fail wrt typecasting in past?
Dmessages.yaml266 …Wrong type for 'checkcast'. It is a non-object type '${type}'. Possible types are ${possible_types…
282 …Accumulator type '${acc_type}' is always a subtype of '${type}'. Checkcast is redundant here. It m…
291 …Instruction 'checkcast' will always throw an exception here. It may be a sign of possible error he…
299 …${possible_types}. Instruction 'checkcast' will always throw an exception here. It may be a sign of
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dobject_type_check_elimination.cpp106 ASSERT(inst->GetOpcode() == Opcode::CheckCast); in TryEliminateCheckCast()
113 // But we can't change the CheckCast to Deoptimize, because we can resolve after compilation in TryEliminateCheckCast()
115 // If we can't replace CheckCast, we should reset ObjectTypeInfo for input. in TryEliminateCheckCast()
136 // If we can't replace CheckCast, we should reset ObjectTypeInfo for input. in TryEliminateCheckCast()
/arkcompiler/runtime_core/tests/irtoc-interpreter-tests/
Dnewobj.pa56 checkcast Asm2
/arkcompiler/runtime_core/disassembler/tests/sources/
Dinstructions.pa192 checkcast A
/arkcompiler/runtime_core/docs/
DPBC2IR.md195 | checkcast | LoadClass, CheckCast |
/arkcompiler/runtime_core/compiler/tests/
Dgraph_comparator.h180 CHECK(CheckCast, GetNeedBarrier) in Compare()
215 // CHECK(CheckCast, GetTypeId) in Compare()
Dinst_generator.h184 {Opcode::CheckCast, {DataType::NO_TYPE}},
Dinst_generator.cpp117 case Opcode::CheckCast: in GenerateGraph()
504 if (inst->GetOpcode() == Opcode::CheckCast) { in GenerateCheckOperation()
514 if (inst->GetOpcode() == Opcode::CheckCast) { in GenerateCheckOperation()
1087 case Opcode::CheckCast: in Generate()
Dvn_test.cpp955 INST(7, Opcode::CheckCast).b().Inputs(0, 6, 1).TypeId(1); in TEST_F()
970 INST(7, Opcode::CheckCast).b().Inputs(0, 2, 1).TypeId(1); in TEST_F()
994 INST(5, Opcode::CheckCast).b().Inputs(0, 4, 1).TypeId(1); in TEST_F()
1010 INST(5, Opcode::CheckCast).b().Inputs(0, 2, 1).TypeId(1); in TEST_F()
/arkcompiler/runtime_core/libpandabase/events/
Devents.yaml218 enum: [checkcast, isinstance]
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb124 /^checkcast/ => "checkcast",
/arkcompiler/runtime_core/runtime/entrypoints/
Dentrypoints.yaml59 - name: CheckCast
/arkcompiler/runtime_core/compiler/optimizer/code_generator/
Dslow_path.cpp252 …SCOPED_DISASM_STR(codegen, std::string("SlowPath for CheckCast exception") + std::to_string(GetIns… in GenerateImpl()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_checker.cpp1336 … user_inst->GetOpcode() == Opcode::CheckCast || user_inst->GetOpcode() == Opcode::IsInstance || in CheckDataFlow()
1354 … user_inst->GetOpcode() == Opcode::IsInstance || user_inst->GetOpcode() == Opcode::CheckCast, in CheckDataFlow()
1790 …std::cerr << "CheckCast instruction must have input 0 with reference type: " << *inst << std::endl… in CheckDataFlow()
1793 …std::cerr << "CheckCast instruction must have input 1 with reference type: " << *inst << std::endl… in CheckDataFlow()
1797 … std::cerr << "CheckCast instruction must have SaveState as input 2: " << *inst << std::endl); in CheckDataFlow()
Dbasicblock.cpp788 case Opcode::CheckCast: in ReplaceInstByDeoptimize()
Dir_constructor.h701 case Opcode::CheckCast: in TypeId()

12