/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | object_type_check_elimination.cpp | 80 if (ref->GetOpcode() == Opcode::NullPtr) { in TryEliminateIsInstance() 94 // If we can't resolve klass in runtime we must throw exception, so we check NullPtr after in TryEliminateIsInstance() 131 if (ref->GetOpcode() == Opcode::NullPtr) { in TryEliminateCheckCast() 139 // If we can't resolve klass in runtime we must throw exception, so we check NullPtr after in TryEliminateCheckCast()
|
H A D | lowering.cpp | 1175 if (inputInst->GetOpcode() == Opcode::NullPtr || in LowerStateInst() 1178 inputInst->GetOpcode() == Opcode::NullPtr ? 0 : inputInst->CastToConstant()->GetRawValue(); in LowerStateInst() 1229 if (in0->GetOpcode() == compiler::Opcode::NullPtr) { in BetterToSwapCompareInputs() 1334 if (cst->GetOpcode() == compiler::Opcode::NullPtr || (cst->IsConst() && ConstantFitsCompareImm(cst, size, cc))) { in LowerIf() 1348 if (cst->GetOpcode() == Opcode::NullPtr && IsZeroConstant(newInput) && in InPlaceLowerIfImm() 1354 uint64_t val = cst->GetOpcode() == Opcode::NullPtr ? 0 : cst->CastToConstant()->GetRawValue(); in InPlaceLowerIfImm()
|
H A D | checks_elimination.cpp | 113 if (storeInst->GetOpcode() == Opcode::NullPtr) { in VisitRefTypeCheck()
|
H A D | const_folding.cpp | 1042 return inst->IsAllocation() || inst->GetOpcode() == Opcode::NullPtr || inst->GetOpcode() == Opcode::LoadUndefined; in IsUniqueRef()
|
H A D | inlining.cpp | 750 ASSERT(oldDef->GetOpcode() == Opcode::NullPtr); in GetNewDefAndCorrectDF() 1521 // Move NullPtr instruction in MoveConstants()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_function_stub_builder.cpp | 506 SetWorkNodePointerToFunction(glue, func, NullPtr(), MemoryAttribute::NoBarrier());
in InitializeSFunction() 524 SetWorkNodePointerToFunction(glue, func, NullPtr(), MemoryAttribute::NoBarrier());
in InitializeSFunction() 581 SetWorkNodePointerToFunction(glue, func, NullPtr(), MemoryAttribute::NoBarrier());
in InitializeJSFunction() 625 SetWorkNodePointerToFunction(glue, func, NullPtr(), MemoryAttribute::NoBarrier());
in InitializeJSFunction()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | const_array_resolver.cpp | 64 if ((input->GetOpcode() == Opcode::NullPtr) || !input->IsConst()) { in GetConstantIfPossible()
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | inst_generator.h | 220 {Opcode::NullPtr, {DataType::REFERENCE}},
|
H A D | cleanup_test.cpp | 1065 TEST_F(CleanupTest, NullPtr) in TEST_F() 1079 // Delete NullPtr in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | alias_analysis.h | 165 case Opcode::NullPtr: in IsLocalAlias()
|
H A D | bounds_analysis.cpp | 694 if (inst->GetOpcode() == Opcode::NullPtr) { in FindBoundsRange()
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | inst_generator.cpp | 43 case Opcode::NullPtr: in GenerateGraph() 517 if (opc == Opcode::Constant || opc == Opcode::Parameter || opc == Opcode::NullPtr) { in Finalize() 1198 case Opcode::NullPtr: in Generate()
|
H A D | inst_generator.h | 265 {Opcode::NullPtr, {DataType::REFERENCE}},
|
H A D | escape_analysis_test.cpp | 1972 INST(2U, Opcode::NullPtr).ref(); in SRC_GRAPH() 2013 INST(2U, Opcode::NullPtr).ref(); in OUT_GRAPH() 2182 INST(18U, Opcode::NullPtr).ref(); in OUT_GRAPH()
|
H A D | cleanup_test.cpp | 1132 TEST_F(CleanupTest, NullPtr) in TEST_F() 1146 // Delete NullPtr in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | inst.cpp | 853 case Opcode::NullPtr: in IsMovableObject()
|
H A D | basicblock.cpp | 1276 if (inst->GetOpcode() == Opcode::NullPtr) {
|
H A D | graph_checker.cpp | 501 opc == Opcode::SpillFill || opc == Opcode::NullPtr || opc == Opcode::NOP || opc == Opcode::LiveIn || in CheckUserOfInt32() 504 << "Entry block can contain Constant, Parameter, NullPtr, SafePoint, NOP or SpillFill instructions" in CheckUserOfInt32() 518 if (opc == Opcode::NullPtr) { in CheckUserOfInt32() 520 "There should be not more than one NullPtr instruction"); in CheckUserOfInt32() 1925 (std::cerr << "NullPtr instruction should have REFERENCE type only\n", inst->Dump(&std::cerr))); in CheckUserOfInt32() 1929 (std::cerr << "There should be not more than one NullPtr instruction in graph\n", in CheckUserOfInt32()
|
H A D | inst.h | 955 return GetOpcode() == Opcode::NullPtr; 3698 return IsZeroConstant(inst) || inst->GetOpcode() == Opcode::NullPtr; in IsZeroConstantOrNullPtr()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | codegen.cpp | 1942 if (val->GetOpcode() == Opcode::NullPtr) { in CreatePostWRB() 1944 if (secondValue == nullptr || secondValue->GetOpcode() == Opcode::NullPtr) { in CreatePostWRB() 1961 if (secondValue != nullptr && secondValue->GetOpcode() == Opcode::NullPtr) { in CreatePostWRB()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub_builder.h | 121 GateRef NullPtr();
|
H A D | stub_builder-inl.h | 137 inline GateRef StubBuilder::NullPtr() in NullPtr() function in panda::ecmascript::kungfu::StubBuilder
|
H A D | stub_builder.cpp | 9127 DEFVARIABLE(result, VariableType::JS_POINTER(), NullPtr()); in GetCallSpreadArgs() 10321 DEFVARIABLE(result, VariableType::NATIVE_POINTER(), NullPtr()); in GetArgumentsElements()
|
H A D | interpreter_stub.cpp | 277 varMachineCode = NullPtr(); \
|
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | llvm_ir_constructor.cpp | 966 if (input->GetOpcode() == Opcode::NullPtr) { in GetInputValue() 2174 if (val->GetOpcode() == Opcode::NullPtr) { in CreatePostWRB() 2936 // Constant and NullPtr are processed directly in GetInputValue
|