Home
last modified time | relevance | path

Searched refs:opnd2 (Results 1 – 20 of 20) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_cg.cpp207 Operand &opnd2 = insn.GetOperand(kInsnThirdOpnd); in IsEffectiveCopy() local
208 if (opnd2.IsIntImmediate()) { in IsEffectiveCopy()
209 auto &immOpnd = static_cast<ImmOperand &>(opnd2); in IsEffectiveCopy()
216 Operand &opnd2 = insn.GetOperand(kInsnThirdOpnd); in IsEffectiveCopy() local
217 if (opnd2.IsIntImmediate()) { in IsEffectiveCopy()
218 auto &immOpnd = static_cast<ImmOperand &>(opnd2); in IsEffectiveCopy()
Daarch64_global.cpp223 Operand &opnd2 = insn.GetOperand(kInsnThirdOpnd); in InsnDefOneOrZero() local
224 DEBUG_ASSERT(opnd2.IsIntImmediate(), "expects ImmOperand"); in InsnDefOneOrZero()
225 ImmOperand &opndImm = static_cast<ImmOperand &>(opnd2); in InsnDefOneOrZero()
2196 bool SameRHSPropPattern::IsSameOperand(Operand *opnd1, Operand *opnd2) const in IsSameOperand()
2198 if (opnd1 == nullptr && opnd2 == nullptr) { in IsSameOperand()
2200 } else if (opnd1 == nullptr || opnd2 == nullptr) { in IsSameOperand()
2203 if (opnd1->IsRegister() && opnd2->IsRegister()) { in IsSameOperand()
2204 return RegOperand::IsSameReg(*opnd1, *opnd2); in IsSameOperand()
2205 } else if (opnd1->IsImmediate() && opnd2->IsImmediate()) { in IsSameOperand()
2207 auto *immOpnd2 = static_cast<ImmOperand *>(opnd2); in IsSameOperand()
Daarch64_validbit_opt.cpp429 Operand &opnd2 = defInsn.GetOperand(kInsnThirdOpnd); in OpndDefByOneValidBit() local
430 DEBUG_ASSERT(opnd2.IsIntImmediate(), "expects ImmOperand"); in OpndDefByOneValidBit()
431 auto &opndImm = static_cast<ImmOperand &>(opnd2); in OpndDefByOneValidBit()
Daarch64_ebo.cpp969 Operand &opnd2 = prevInsn->GetOperand(kInsnThirdOpnd); in CombineMultiplyAdd() local
975 …insn->GetBB()->ReplaceInsn(*insn, cgFunc->GetInsnBuilder()->BuildInsn(mOp, res, opnd1, opnd2, *add… in CombineMultiplyAdd()
1026 Operand &opnd2 = insn1->GetOperand(kInsnThirdOpnd); in CombineMultiplySub() local
1032 …>GetBB()->ReplaceInsn(*insn, cgFunc->GetInsnBuilder()->BuildInsn(mOp, res, opnd1, opnd2, subOpnd)); in CombineMultiplySub()
1075 Operand &opnd2 = insn1->GetOperand(kInsnThirdOpnd); in CombineMultiplyNeg() local
1077 … insn->GetBB()->ReplaceInsn(*insn, cgFunc->GetInsnBuilder()->BuildInsn(mOp, res, opnd1, opnd2)); in CombineMultiplyNeg()
Daarch64_ico.cpp41 Operand &opnd2 = cmpInsn->GetOperand(kInsnThirdOpnd); in BuildCcmpInsn() local
54 bool isIntTy = opnd2.IsIntImmediate(); in BuildCcmpInsn()
58 if (isIntTy && static_cast<RegOperand &>(opnd2).GetRegisterNumber() >= k32BitSize) { in BuildCcmpInsn()
61 return &cgFunc->GetInsnBuilder()->BuildInsn(mOpCode, opnd0, opnd1, opnd2, opnd3, cond); in BuildCcmpInsn()
Daarch64_dependence.cpp263 Operand *opnd2 = nullptr; in CombineMemoryAccessPair() local
267 opnd2 = &(firstNode.GetInsn()->GetOperand(1)); in CombineMemoryAccessPair()
271 opnd2 = &(secondNode.GetInsn()->GetOperand(1)); in CombineMemoryAccessPair()
273 Insn &newInsn = cgFunc.GetInsnBuilder()->BuildInsn(mopPair, *opnd0, *opnd1, *opnd2); in CombineMemoryAccessPair()
Daarch64_obj_emitter.cpp653 Operand &opnd2 = insn.GetOperand(kInsnSecondOpnd); in GenMovReg() local
655 DEBUG_ASSERT(opnd2.IsRegister(), "opnd2 must be a register"); in GenMovReg()
658 static_cast<RegOperand &>(opnd2).GetRegisterNumber() == RSP) { in GenMovReg()
670 opnd |= GetOpndMachineValue(opnd2) << kShiftFive; in GenMovReg()
684 opnd |= GetOpndMachineValue(opnd2) << kShiftSixteen; in GenMovReg()
Daarch64_peep.cpp390 Operand &opnd2 = prevInsn->GetOperand(kInsnSecondOpnd); in Run() local
397 newInsn = &(cgFunc->GetInsnBuilder()->BuildInsn(newMop, ccReg, opnd1, opnd2)); in Run()
402 newInsn = &(cgFunc->GetInsnBuilder()->BuildInsn(newMop, ccReg, opnd1, opnd2, shiftOpnd)); in Run()
970 auto &opnd2 = static_cast<RegOperand &>(insn.GetOperand(kInsnThirdOpnd)); in Run() local
971 …Insn &newInsn = cgFunc->GetInsnBuilder()->BuildInsn(newMop, opnd0, op1IsMvnDef ? opnd2 : opnd1, pr… in Run()
1221 Operand &opnd2 = in Run() local
1226 …gFunc->GetInsnBuilder()->BuildInsn(newMop, insn.GetOperand(kInsnFirstOpnd), opnd1, opnd2, immOpnd); in Run()
4449 Operand &opnd2 = defInsn.GetOperand(kInsnThirdOpnd); in OpndDefByOneValidBit() local
4450 DEBUG_ASSERT(opnd2.IsIntImmediate(), "expects ImmOperand"); in OpndDefByOneValidBit()
4451 auto &opndImm = static_cast<ImmOperand &>(opnd2); in OpndDefByOneValidBit()
[all …]
Daarch64_prop.cpp2133 Operand &opnd2 = validDefInsns[i]->GetOperand(idx); in CheckPhiCaseCondition() local
2134 if (!opnd1.Equals(opnd2) && differIdx == -1) { in CheckPhiCaseCondition()
2158 } else if (!opnd1.Equals(opnd2) && idx != static_cast<uint32>(differIdx)) { in CheckPhiCaseCondition()
Daarch64_cgfunc.cpp5230 …electBxorShift(Operand &resOpnd, Operand *opnd0, Operand *opnd1, Operand &opnd2, PrimType primType) in SelectBxorShift() argument
5237 GetCurBB()->AppendInsn(GetInsnBuilder()->BuildInsn(mopBxor, resOpnd, *opnd0, *opnd1, opnd2)); in SelectBxorShift()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dinsn.h66 …Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2) : Insn(memPo… in Insn() argument
70 opnds.emplace_back(&opnd2); in Insn()
72 …Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opn… in Insn() argument
77 opnds.emplace_back(&opnd2); in Insn()
80 …Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opn… in Insn() argument
86 opnds.emplace_back(&opnd2); in Insn()
Ddbg.h51 maplebe::Operand &opnd2) in DbgInsn() argument
52 : Insn(memPool, op, opnd0, opnd1, opnd2) in DbgInsn()
Dcfi.h72 maplebe::Operand &opnd2) in CfiInsn() argument
73 : Insn(memPool, op, opnd0, opnd1, opnd2) in CfiInsn()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_obj_emitter.h194 void EmitInsn(MOperator mOp, Operand &opnd1, Operand &opnd2, std::vector<uint32> &label2Offset, in EmitInsn() argument
197 Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1, opnd2); in EmitInsn()
201 …void EmitInsn(MOperator mOp, Operand &opnd1, Operand &opnd2, Operand &opnd3, std::vector<uint32> &… in EmitInsn() argument
204 … Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1, opnd2, opnd3); in EmitInsn()
Daarch64_global.h497 bool IsSameOperand(Operand *opnd1, Operand *opnd2) const;
Daarch64_cgfunc.h271 …Operand *SelectSelect(TernaryNode &node, Operand &opnd0, Operand &opnd1, Operand &opnd2, const Bas…
324 …RegOperand *SelectVectorBitwiseOp(PrimType rType, Operand *o1, PrimType oTyp1, Operand *opnd2, Pri…
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcgfunc.cpp468 Operand *opnd2 = cgFunc.HandleExpr(intrnNode, *intrnNode.Opnd(1)); /* vector operand 2 */ in HandleVectorAbsSubL() local
469 …return cgFunc.SelectVectorAbsSubL(intrnNode.GetPrimType(), opnd1, opnd2, intrnNode.Opnd(0)->GetPri… in HandleVectorAbsSubL()
475 Operand *opnd2 = cgFunc.HandleExpr(intrnNode, *intrnNode.Opnd(1)); /* vector operand2 */ in HandleVectorMerge() local
490 return cgFunc.SelectVectorMerge(intrnNode.GetPrimType(), opnd1, opnd2, iNum); in HandleVectorMerge()
549 Operand *opnd2 = cgFunc.HandleExpr(intrnNode, *arg2); in HandleVectorSetElement() local
551 if (opnd2->IsConstImmediate()) { in HandleVectorSetElement()
574 Operand *opnd2 = cgFunc.HandleExpr(intrnNode, *intrnNode.Opnd(1)); /* shift const */ in HandleVectorShiftNarrow() local
575 if (!opnd2->IsConstImmediate()) { in HandleVectorShiftNarrow()
578 …return cgFunc.SelectVectorShiftRNarrow(rType, opnd1, intrnNode.Opnd(0)->GetPrimType(), opnd2, isLo… in HandleVectorShiftNarrow()
601 Operand *opnd2 = cgFunc.HandleExpr(intrnNode, *intrnNode.Opnd(1)); /* vector operand 2 */ in HandleVectorTableLookup() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_builder.h230 BaseNode *opnd2);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_nodes.cpp1821 bool CompatibleTypeVerify(const BaseNode &opnd1, const BaseNode &opnd2) in CompatibleTypeVerify() argument
1824 uint8 groupID2 = GetCompGroupID(opnd2); in CompatibleTypeVerify()
1825 Opcode opCode2 = opnd2.GetOpCode(); in CompatibleTypeVerify()
1833 opnd2.Dump(); in CompatibleTypeVerify()
Dmir_builder.cpp813 BaseNode *opnd2) in CreateExprTernary() argument
815 … return GetCurrentFuncCodeMp()->New<TernaryNode>(opcode, type.GetPrimType(), opnd0, opnd1, opnd2); in CreateExprTernary()