/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
H A D | common_call.cpp | 85 Register argv, Register op1, Register op2, Label *stackOverflow) in PushArgsWithArgvAndCheckStack() 88 StackOverflowCheck(assembler, glue, argc, op1, op2, stackOverflow); in PushArgsWithArgvAndCheckStack() 91 if (op1 != op2) { in PushArgsWithArgvAndCheckStack() 92 // use op2 as opArgc and will not change argc register in PushArgsWithArgvAndCheckStack() 93 opArgc = op2; in PushArgsWithArgvAndCheckStack() 105 Register op2, Label *stackOverflow) in StackOverflowCheck() 108 Register temp2 = op2; in StackOverflowCheck() 109 if (op1 == op2) { in StackOverflowCheck() 120 if (op1 == op2) { in StackOverflowCheck() 84 PushArgsWithArgvAndCheckStack(ExtendedAssembler *assembler, Register glue, Register argc, Register argv, Register op1, Register op2, Label *stackOverflow) PushArgsWithArgvAndCheckStack() argument 104 StackOverflowCheck(ExtendedAssembler *assembler, Register glue, Register numArgs, Register op1, Register op2, Label *stackOverflow) StackOverflowCheck() argument
|
H A D | common_call.h | 46 Register op1, Register op2, Label *stackOverflow); 48 Register op2, Label *stackOverflow); 202 Register op1, Register op2, Label *stackOverflow);
|
H A D | asm_interpreter_call.cpp | 505 Register op2 = __ TempRegister(); in JSCallCommonSlowPath() local 506 PushUndefinedWithArgcAndCheckStack(assembler, glueRegister, declaredNumArgsRegister, op1, op2, in JSCallCommonSlowPath() 1834 Register op1, Register op2, Label *stackOverflow) in PushUndefinedWithArgcAndCheckStack() 1837 StackOverflowCheck(assembler, glue, argc, op1, op2, stackOverflow); in PushUndefinedWithArgcAndCheckStack() 1833 PushUndefinedWithArgcAndCheckStack(ExtendedAssembler *assembler, Register glue, Register argc, Register op1, Register op2, Label *stackOverflow) PushUndefinedWithArgcAndCheckStack() argument
|
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/ |
H A D | intrinsics_lowering.cpp | 114 llvm::Value *op2 = call->getOperand(COUNT); in HandleMemCall() local 127 if (llvm::cast<llvm::IntegerType>(op2->getType())->getBitWidth() < realCountType->getBitWidth()) { in HandleMemCall() 128 op2 = builder.CreateCast(llvm::Instruction::ZExt, op2, realCountType); in HandleMemCall() 131 auto newCall = llvm::CallInst::Create(callee, {op0, op1, op2}); in HandleMemCall()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
H A D | common_call.cpp | 117 Register argv, Register padding, Register op1, Register op2, Label *next) in PushArgsWithArgvInPair() 145 __ Ldp(op1, op2, MemoryOperand(argv, -DOUBLE_SLOT_SIZE, PREINDEX)); in PushArgsWithArgvInPair() 146 __ Stp(op1, op2, MemoryOperand(sp, -DOUBLE_SLOT_SIZE, AddrMode::PREINDEX)); in PushArgsWithArgvInPair() 152 __ Ldr(op2, MemoryOperand(argv, -FRAME_SLOT_SIZE, PREINDEX)); in PushArgsWithArgvInPair() 153 __ Stp(padding, op2, MemoryOperand(sp, -DOUBLE_SLOT_SIZE, AddrMode::PREINDEX)); in PushArgsWithArgvInPair() 116 PushArgsWithArgvInPair(ExtendedAssembler *assembler, Register argc, Register argv, Register padding, Register op1, Register op2, Label *next) PushArgsWithArgvInPair() argument
|
H A D | common_call.h | 69 Register op1, Register op2, Label *next);
|
H A D | optimized_call.cpp | 773 Register op2 = __ AvailableRegister3(); in FastCallToAsmInterBridge() local 779 PushArgsWithArgvInPair(assembler, tempArgc, onStackArgs, arg4, op1, op2, &lCall4); in FastCallToAsmInterBridge()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | graph_checker.h | 285 [[maybe_unused]] auto op2 = inst->GetInputs()[1].GetInst(); in CheckBinaryOperationTypes() local 288 if (op2->GetOpcode() == Opcode::ZeroCheck) { in CheckBinaryOperationTypes() 289 op2 = op2->GetInput(0).GetInst(); in CheckBinaryOperationTypes() 303 v, DataType::IsTypeNumeric(op2->GetType()), in CheckBinaryOperationTypes() 308 CHECKER_DO_IF_NOT_VISITOR(v, CheckCommonTypes(op1, op2), in CheckBinaryOperationTypes() 310 op1->Dump(&std::cerr), op2->Dump(&std::cerr), inst->Dump(&std::cerr))); in CheckBinaryOperationTypes() 353 [[maybe_unused]] auto op2 = inst->GetInputs()[1].GetInst(); in CheckTernaryOperationTypes() local 366 v, DataType::IsTypeNumeric(op2->GetType()), in CheckTernaryOperationTypes() 374 CHECKER_DO_IF_NOT_VISITOR(v, CheckCommonTypes(op1, op2) in CheckTernaryOperationTypes() [all...] |
H A D | graph_checker.cpp | 1969 [[maybe_unused]] auto op2 = inst->GetInputs()[1].GetInst(); in CheckUserOfInt32() local 1993 if (op2->IsConst()) { in CheckUserOfInt32() 1994 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, IsZeroConstant(op2), in CheckUserOfInt32() 1996 inst->Dump(&std::cerr), op2->Dump(&std::cerr))); in CheckUserOfInt32() 1999 v, op2->GetType() == DataType::REFERENCE, in CheckUserOfInt32() 2001 op2->Dump(&std::cerr))); in CheckUserOfInt32() 2037 [[maybe_unused]] auto op2 = inst->GetInput(1).GetInst(); in CheckUserOfInt32() local 2041 CHECKER_DO_IF_NOT_AND_PRINT_VISITOR(v, DataType::IsTypeNumeric(op2->GetType()), in CheckUserOfInt32() 2043 inst->Dump(&std::cerr), op2->Dump(&std::cerr))); in CheckUserOfInt32() 2048 v, DataType::GetCommonType(op2 in CheckUserOfInt32() 2364 [[maybe_unused]] auto op2 = inst->GetInput(2U).GetInst(); CheckUserOfInt32() local 2395 [[maybe_unused]] auto op2 = inst->GetInput(2U).GetInst(); CheckUserOfInt32() local 2443 [[maybe_unused]] auto op2 = inst->GetInput(2U).GetInst(); CheckUserOfInt32() local 2466 [[maybe_unused]] auto op2 = inst->GetInput(2U).GetInst(); CheckUserOfInt32() local 2537 [[maybe_unused]] auto op2 = inst->GetInputs()[1].GetInst(); CheckUserOfInt32() local 2578 [[maybe_unused]] auto op2 = inst->CastToIfImm()->GetImm(); CheckUserOfInt32() local [all...] |
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | graph_checker.cpp | 762 [[maybe_unused]] auto op2 = inst->GetInputs()[1].GetInst(); in VisitIf() local 780 if (op2->IsConst()) { in VisitIf() 781 ASSERT_DO(IsZeroConstant(op2), (std::cerr << "Constant reference input must be integer 0: \n", in VisitIf() 782 inst->Dump(&std::cerr), op2->Dump(&std::cerr))); in VisitIf() 784 ASSERT_DO(op2->GetType() == DataType::REFERENCE, (std::cerr << "If 2nd operand type is not a reference\n", in VisitIf() 785 inst->Dump(&std::cerr), op2->Dump(&std::cerr))); in VisitIf() 796 [[maybe_unused]] auto op2 = inst->CastToIfImm()->GetImm(); in VisitIfImm() local 811 ASSERT_DO(op2 == 0, in VisitIfImm()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | cfgo.cpp | 68 Operand &op2 = insn2->GetOperand(i); in DoSameThing() local 69 if (&op1 == &op2) { in DoSameThing() 72 if (!op1.Equals(op2)) { in DoSameThing()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | peepholes.cpp | 624 auto op2 = inst->GetInput(1).GetInst(); in VisitShr() local 625 if (op1->GetOpcode() == Opcode::Shl && op2->IsConst() && op1->GetInput(1) == op2) { in VisitShr() 626 uint64_t val = op2->CastToConstant()->GetIntValue(); in VisitShr() 678 auto op2 = inst->GetInput(1).GetInst(); in VisitAShr() local 679 if (op1->GetOpcode() == Opcode::Shl && op2->IsConst() && op1->GetInput(1) == op2) { in VisitAShr() 684 auto offset = op2->CastToConstant()->GetIntValue(); in VisitAShr()
|
/arkcompiler/runtime_core/static_core/static_linker/ |
H A D | linker_context.cpp | 381 bool Context::IsSameProto(panda_file::ProtoItem *op1, panda_file::ProtoItem *op2) in IsSameProto() argument 383 if (op1->GetRefTypes().size() != op2->GetRefTypes().size()) { in IsSameProto() 387 if (op1->GetShorty() != op2->GetShorty()) { in IsSameProto() 392 if (!IsSameType(op2->GetRefTypes()[i], op1->GetRefTypes()[i])) { in IsSameProto()
|
H A D | linker_context.h | 209 bool IsSameProto(panda_file::ProtoItem *op1, panda_file::ProtoItem *op2);
|