Home
last modified time | relevance | path

Searched refs:NullPtr (Results 1 - 25 of 25) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dobject_type_check_elimination.cpp80 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 Dlowering.cpp1175 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 Dchecks_elimination.cpp113 if (storeInst->GetOpcode() == Opcode::NullPtr) { in VisitRefTypeCheck()
H A Dconst_folding.cpp1042 return inst->IsAllocation() || inst->GetOpcode() == Opcode::NullPtr || inst->GetOpcode() == Opcode::LoadUndefined; in IsUniqueRef()
H A Dinlining.cpp750 ASSERT(oldDef->GetOpcode() == Opcode::NullPtr); in GetNewDefAndCorrectDF()
1521 // Move NullPtr instruction in MoveConstants()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_function_stub_builder.cpp506 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 Dconst_array_resolver.cpp64 if ((input->GetOpcode() == Opcode::NullPtr) || !input->IsConst()) { in GetConstantIfPossible()
/arkcompiler/runtime_core/compiler/tests/
H A Dinst_generator.h220 {Opcode::NullPtr, {DataType::REFERENCE}},
H A Dcleanup_test.cpp1065 TEST_F(CleanupTest, NullPtr) in TEST_F()
1079 // Delete NullPtr in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dalias_analysis.h165 case Opcode::NullPtr: in IsLocalAlias()
H A Dbounds_analysis.cpp694 if (inst->GetOpcode() == Opcode::NullPtr) { in FindBoundsRange()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dinst_generator.cpp43 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 Dinst_generator.h265 {Opcode::NullPtr, {DataType::REFERENCE}},
H A Descape_analysis_test.cpp1972 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 Dcleanup_test.cpp1132 TEST_F(CleanupTest, NullPtr) in TEST_F()
1146 // Delete NullPtr in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dinst.cpp853 case Opcode::NullPtr: in IsMovableObject()
H A Dbasicblock.cpp1276 if (inst->GetOpcode() == Opcode::NullPtr) {
H A Dgraph_checker.cpp501 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 Dinst.h955 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 Dcodegen.cpp1942 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 Dstub_builder.h121 GateRef NullPtr();
H A Dstub_builder-inl.h137 inline GateRef StubBuilder::NullPtr() in NullPtr() function in panda::ecmascript::kungfu::StubBuilder
H A Dstub_builder.cpp9127 DEFVARIABLE(result, VariableType::JS_POINTER(), NullPtr()); in GetCallSpreadArgs()
10321 DEFVARIABLE(result, VariableType::NATIVE_POINTER(), NullPtr()); in GetArgumentsElements()
H A Dinterpreter_stub.cpp277 varMachineCode = NullPtr(); \
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Dllvm_ir_constructor.cpp966 if (input->GetOpcode() == Opcode::NullPtr) { in GetInputValue()
2174 if (val->GetOpcode() == Opcode::NullPtr) { in CreatePostWRB()
2936 // Constant and NullPtr are processed directly in GetInputValue

Completed in 90 milliseconds