/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_emitter.cpp | 178 Operand *opnd0 = nullptr; in EmitInsn() local 181 opnd0 = &insn.GetOperand(0); in EmitInsn() 199 assmbler.Mov(kB, TransferReg(opnd0), TransferReg(opnd1)); in EmitInsn() 202 assmbler.Mov(kW, TransferReg(opnd0), TransferReg(opnd1)); in EmitInsn() 205 assmbler.Mov(kL, TransferReg(opnd0), TransferReg(opnd1)); in EmitInsn() 208 assmbler.Mov(kQ, TransferReg(opnd0), TransferReg(opnd1)); in EmitInsn() 211 assmbler.Mov(kB, TransferMem(opnd0, funcUniqueId), TransferReg(opnd1)); in EmitInsn() 214 assmbler.Mov(kW, TransferMem(opnd0, funcUniqueId), TransferReg(opnd1)); in EmitInsn() 217 assmbler.Mov(kL, TransferMem(opnd0, funcUniqueId), TransferReg(opnd1)); in EmitInsn() 220 assmbler.Mov(kQ, TransferMem(opnd0, funcUniqueI in EmitInsn() [all...] |
H A D | x64_cgfunc.cpp | 27 void X64CGFunc::SelectDassign(DassignNode &stmt, Operand &opnd0) in SelectDassign() argument 31 void X64CGFunc::SelectRegassign(RegassignNode &stmt, Operand &opnd0) in SelectRegassign() argument 43 void X64CGFunc::SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) in SelectCondGoto() argument 47 void X64CGFunc::SelectCondSpecialCase1(CondGotoNode &stmt, BaseNode &opnd0) in SelectCondSpecialCase1() argument 51 void X64CGFunc::SelectCondSpecialCase2(const CondGotoNode &stmt, BaseNode &opnd0) in SelectCondSpecialCase2() argument 111 void X64CGFunc::SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectAdd() argument 115 Operand *X64CGFunc::SelectAdd(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectAdd() argument 120 Operand *X64CGFunc::SelectShift(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectShift() argument 125 void X64CGFunc::SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectMpy() argument 129 Operand *X64CGFunc::SelectMpy(BinaryNode &node, Operand &opnd0, Operan in SelectMpy() argument 134 SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectRem() argument 139 SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectDiv() argument 143 SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectDiv() argument 148 SelectSub(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectSub() argument 153 SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectSub() argument 157 SelectBand(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectBand() argument 162 SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBand() argument 166 SelectMin(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMin() argument 170 SelectMin(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectMin() argument 175 SelectMax(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMax() argument 179 SelectMax(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectMax() argument 184 SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectCmpOp() argument 189 SelectBior(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectBior() argument 194 SelectBior(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBior() argument 198 SelectBxor(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectBxor() argument 203 SelectBxor(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBxor() argument 207 SelectAbs(UnaryNode &node, Operand &opnd0) SelectAbs() argument 212 SelectBnot(UnaryNode &node, Operand &opnd0, const BaseNode &parent) SelectBnot() argument 217 SelectExtractbits(ExtractbitsNode &node, Operand &opnd0, const BaseNode &parent) SelectExtractbits() argument 227 SelectLnot(UnaryNode &node, Operand &opnd0, const BaseNode &parent) SelectLnot() argument 232 SelectNeg(UnaryNode &node, Operand &opnd0, const BaseNode &parent) SelectNeg() argument 237 SelectSqrt(UnaryNode &node, Operand &opnd0, const BaseNode &parent) SelectSqrt() argument 242 SelectCeil(TypeCvtNode &node, Operand &opnd0, const BaseNode &parent) SelectCeil() argument 247 SelectFloor(TypeCvtNode &node, Operand &opnd0, const BaseNode &parent) SelectFloor() argument 252 SelectRetype(TypeCvtNode &node, Operand &opnd0) SelectRetype() argument 257 SelectCvt(const BaseNode &parent, TypeCvtNode &node, Operand &opnd0) SelectCvt() argument 262 SelectTrunc(TypeCvtNode &node, Operand &opnd0, const BaseNode &parent) SelectTrunc() argument 273 SelectRangeGoto(RangeGotoNode &rangeGotoNode, Operand &opnd0) SelectRangeGoto() argument [all...] |
H A D | x64_MPIsel.cpp | 278 Operand *opnd0 = HandleExpr(iCallNode, *iCallNode.GetNopndAt(0)); in SelectIcall() local 279 RegOperand &targetOpnd = SelectCopy2Reg(*opnd0, iCallNode.Opnd(0)->GetPrimType()); in SelectIcall() 341 RegOperand &opnd0 = SelectCopy2Reg(*HandleExpr(intrnNode, *intrnNode.Opnd(0)), in SelectOverFlowCall() local 348 SelectAdd(resReg, opnd0, opnd1, type); in SelectOverFlowCall() 350 SelectSub(resReg, opnd0, opnd1, type); in SelectOverFlowCall() 352 SelectMpy(resReg, opnd0, opnd1, type); in SelectOverFlowCall() 422 RegOperand &opnd0 = SelectCopy2Reg(srcOpnd, srcType); in SelectRangeGoto() local 427 SelectAdd(indexOpnd, opnd0, opnd1, srcType); in SelectRangeGoto() 478 * handle brfalse/brtrue op, opnd0 can be a compare node or non-compare node 481 void X64MPIsel::SelectCondGoto(CondGotoNode &stmt, BaseNode &condNode, Operand &opnd0) in SelectCondGoto() argument 540 SelectMpy(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectMpy() argument 551 SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMpy() argument 586 SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectDiv() argument 596 SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectRem() argument 606 SelectDivRem(RegOperand &opnd0, RegOperand &opnd1, PrimType primType, Opcode opcode) SelectDivRem() argument 656 SelectLnot(const UnaryNode &node, Operand &opnd0, const BaseNode &parent) SelectLnot() argument 683 SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectCmpOp() argument 710 SelectCmp(Operand &opnd0, Operand &opnd1, PrimType primType, bool isSwap) SelectCmp() argument 730 SelectCmpFloatEq(RegOperand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primResType, PrimType primOpndType) SelectCmpFloatEq() argument 793 SelectMinOrMax(bool isMin, Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMinOrMax() argument 805 SelectCctz(IntrinsicopNode &node, Operand &opnd0, const BaseNode &parent) SelectCctz() argument 825 SelectCclz(IntrinsicopNode &node, Operand &opnd0, const BaseNode &parent) SelectCclz() argument 872 SelectRetypeFloat(RegOperand &resOpnd, Operand &opnd0, PrimType toType, PrimType fromType) SelectRetypeFloat() argument [all...] |
H A D | x64_standardize.cpp | 97 Operand *opnd0 = &insn.GetOperand(kInsnSecondOpnd); in StdzCvtOp() local 98 RegOperand *src = static_cast<RegOperand *>(opnd0); in StdzCvtOp()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | isel.h | 50 void SelectRegassign(RegassignNode &stmt, Operand &opnd0); 52 Operand *SelectBand(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent); 53 Operand *SelectAdd(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent); 54 Operand *SelectSub(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent); 55 Operand *SelectNeg(const UnaryNode &node, Operand &opnd0, const BaseNode &parent); 56 Operand *SelectCvt(const BaseNode &parent, const TypeCvtNode &node, Operand &opnd0); 57 Operand *SelectExtractbits(const BaseNode &parent, const ExtractbitsNode &node, Operand &opnd0); 58 virtual Operand *SelectAbs(UnaryNode &node, Operand &opnd0); 61 void SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType); 62 void SelectSub(Operand &resOpnd, Operand &opnd0, Operan [all...] |
H A D | cgfunc.h | 176 virtual void SelectDassign(DassignNode &stmt, Operand &opnd0) = 0; 177 virtual void SelectRegassign(RegassignNode &stmt, Operand &opnd0) = 0; 180 virtual void SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) = 0; 181 virtual void SelectCondSpecialCase1(CondGotoNode &stmt, BaseNode &opnd0) = 0; 182 virtual void SelectCondSpecialCase2(const CondGotoNode &stmt, BaseNode &opnd0) = 0; 198 virtual void SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0; 199 virtual Operand *SelectAdd(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) = 0; 200 virtual Operand *SelectShift(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) = 0; 201 virtual void SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0; 202 virtual Operand *SelectMpy(BinaryNode &node, Operand &opnd0, Operan [all...] |
H A D | insn.h | 61 Insn(MemPool &memPool, MOperator opc, Operand &opnd0) : Insn(memPool, opc) in Insn() argument 63 opnds.emplace_back(&opnd0); in Insn() 65 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1) : Insn(memPool, opc) in Insn() argument 67 opnds.emplace_back(&opnd0); in Insn() 70 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2) : Insn(memPool, opc) in Insn() argument 72 opnds.emplace_back(&opnd0); in Insn() 76 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opnd3) in Insn() argument 79 opnds.emplace_back(&opnd0); in Insn() 84 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opnd3, in Insn() argument 88 opnds.emplace_back(&opnd0); in Insn() [all...] |
H A D | cfi.h | 66 CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0) : Insn(memPool, op, opnd0) {} in CfiInsn() argument 68 CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1) in CfiInsn() argument 69 : Insn(memPool, op, opnd0, opnd1) in CfiInsn() 73 CfiInsn(MemPool &memPool, maplebe::MOperator op, maplebe::Operand &opnd0, maplebe::Operand &opnd1, in CfiInsn() argument 75 : Insn(memPool, op, opnd0, opnd1, opnd2) in CfiInsn()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_cgfunc.h | 43 void SelectDassign(DassignNode &stmt, Operand &opnd0) override; 44 void SelectRegassign(RegassignNode &stmt, Operand &opnd0) override; 47 void SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) override; 48 void SelectCondSpecialCase1(CondGotoNode &stmt, BaseNode &opnd0) override; 49 void SelectCondSpecialCase2(const CondGotoNode &stmt, BaseNode &opnd0) override; 63 void SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override; 64 Operand *SelectAdd(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 65 Operand *SelectShift(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 66 void SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override; 67 Operand *SelectMpy(BinaryNode &node, Operand &opnd0, Operan [all...] |
H A D | x64_MPISel.h | 37 void SelectCondGoto(CondGotoNode &stmt, BaseNode &condNode, Operand &opnd0) override; 38 Operand *SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 39 Operand *SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 40 Operand *SelectMpy(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 41 Operand *SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 42 Operand *SelectLnot(const UnaryNode &node, Operand &opnd0, const BaseNode &parent) override; 45 Operand *SelectCclz(IntrinsicopNode &node, Operand &opnd0, const BaseNode &parent) override; 46 Operand *SelectCctz(IntrinsicopNode &node, Operand &opnd0, const BaseNode &parent) override; 47 Operand *SelectSqrt(UnaryNode &node, Operand &opnd0, const BaseNode &parent) override; 57 void SelectMpy(Operand &resOpnd, Operand &opnd0, Operan [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | isel.cpp | 175 Operand *opnd0 = iSel.HandleExpr(regAssignNode, *operand); in HandleRegassign() local 176 iSel.SelectRegassign(regAssignNode, *opnd0); in HandleRegassign() 263 /* select cmpOp Insn and get the result "opnd0". However, the opnd0 is not used in HandleCondbr() 265 Operand *opnd0 = iSel.HandleExpr(stmt, *condNode); in HandleCondbr() local 266 iSel.SelectCondGoto(condGotoNode, *condNode, *opnd0); in HandleCondbr() 550 void MPISel::SelectBasicOp(Operand &resOpnd, Operand &opnd0, Operand &opnd1, MOperator mOp, PrimType primType) in SelectBasicOp() argument 552 RegOperand &firstOpnd = SelectCopy2Reg(opnd0, primType); in SelectBasicOp() 655 Operand *MPISel::SelectShift(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectShift() argument 664 RegOperand ®Opnd0 = SelectCopy2Reg(opnd0, primTyp in SelectShift() 672 SelectShift(Operand &resOpnd, Operand &opnd0, Operand &opnd1, Opcode shiftDirect, PrimType opnd0Type, PrimType opnd1Type) SelectShift() argument 701 SelectRegassign(RegassignNode &stmt, Operand &opnd0) SelectRegassign() argument 795 SelectAdd(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectAdd() argument 806 SelectBand(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectBand() argument 817 SelectSub(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectSub() argument 828 SelectExtractbits(RegOperand &resOpnd, RegOperand &opnd0, uint8 bitOffset, uint8 bitSize, PrimType primType) SelectExtractbits() argument 855 SelectExtractbits(const BaseNode &parent, const ExtractbitsNode &node, Operand &opnd0) SelectExtractbits() argument 878 SelectCvt(const BaseNode &parent, const TypeCvtNode &node, Operand &opnd0) SelectCvt() argument 901 SelectCvtFloat2Int(RegOperand &resOpnd, Operand &opnd0, PrimType toType, PrimType fromType) SelectCvtFloat2Int() argument 926 SelectCvtInt2Float(RegOperand &resOpnd, Operand &opnd0, PrimType toType, PrimType fromType) SelectCvtInt2Float() argument 955 SelectIntCvt(RegOperand &resOpnd, Operand &opnd0, PrimType toType, PrimType fromType) SelectIntCvt() argument 977 SelectFloatCvt(RegOperand &resOpnd, Operand &opnd0, PrimType toType, PrimType fromType) SelectFloatCvt() argument 1000 SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectSub() argument 1013 SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBand() argument 1026 SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectAdd() argument 1039 SelectBior(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectBior() argument 1050 SelectBior(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBior() argument 1057 SelectBxor(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectBxor() argument 1068 SelectBxor(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectBxor() argument 1099 SelectAbs(UnaryNode &node, Operand &opnd0) SelectAbs() argument 1245 SelectBnot(const UnaryNode &node, Operand &opnd0, const BaseNode &parent) SelectBnot() argument 1256 SelectBnot(Operand &resOpnd, Operand &opnd0, PrimType primType) SelectBnot() argument 1265 SelectMin(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectMin() argument 1274 SelectMin(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMin() argument 1279 SelectMax(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectMax() argument 1288 SelectMax(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMax() argument 1293 SelectRetype(TypeCvtNode &node, Operand &opnd0) SelectRetype() argument [all...] |
H A D | cgfunc.cpp | 321 Operand *opnd0 = cgFunc.HandleExpr(condGotoNode, *condNode); in HandleCondbr() local 331 cgFunc.SelectCondGoto(condGotoNode, *opnd0, *zeroOpnd); in HandleCondbr() 363 Operand *opnd0 = cgFunc.HandleExpr(*condNode, *condNode->Opnd(0)); in HandleCondbr() local 365 cgFunc.SelectCondGoto(condGotoNode, *opnd0, *opnd1); in HandleCondbr() 411 Operand *opnd0 = cgFunc.HandleExpr(dassignNode, *rhs); in HandleDassign() local 412 cgFunc.SelectDassign(dassignNode, *opnd0); in HandleDassign() 428 Operand *opnd0 = cgFunc.HandleExpr(regAssignNode, *operand); in HandleRegassign() local 429 cgFunc.SelectRegassign(regAssignNode, *opnd0); in HandleRegassign()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_cgfunc.cpp | 680 void AArch64CGFunc::SelectDassign(DassignNode &stmt, Operand &opnd0) in SelectDassign() argument 682 SelectDassign(stmt.GetStIdx(), stmt.GetFieldID(), stmt.GetRHS()->GetPrimType(), opnd0); in SelectDassign() 694 void AArch64CGFunc::SelectDassign(StIdx stIdx, FieldID fieldId, PrimType rhsPType, Operand &opnd0) in SelectDassign() argument 701 Operand &stOpnd = LoadIntoRegister(opnd0, IsPrimitiveInteger(rhsPType), in SelectDassign() 727 void AArch64CGFunc::SelectRegassign(RegassignNode &stmt, Operand &opnd0) in SelectRegassign() argument 739 Operand *srcOpnd = &opnd0; in SelectRegassign() 743 SelectCvtInt2Int(nullptr, srcOpnd, &opnd0, rhsType, stmt.GetPrimType()); in SelectRegassign() 1148 LabelOperand &targetOpnd, Operand &opnd0) in GenerateCompareWithZeroInstruction() 1159 GetCurBB()->AppendInsn(GetInsnBuilder()->BuildInsn(mOpCode, opnd0, targetOpnd)); in GenerateCompareWithZeroInstruction() 1168 GetCurBB()->AppendInsn(GetInsnBuilder()->BuildInsn(mOpCode, opnd0, targetOpn in GenerateCompareWithZeroInstruction() 1147 GenerateCompareWithZeroInstruction(Opcode jmpOp, Opcode cmpOp, bool is64Bits, PrimType primType, LabelOperand &targetOpnd, Operand &opnd0) GenerateCompareWithZeroInstruction() argument 1215 Operand *opnd0 = &origOpnd0; SelectCondGoto() local 1273 Operand *opnd0 = HandleExpr(expr, *expr.Opnd(0)); SelectCondSpecialCase1() local 1311 Operand *opnd0 = HandleExpr(cmpNode, *cmpNode.Opnd(0)); SelectCondSpecialCase2() local 1333 SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) SelectCondGoto() argument 1364 SelectAdd(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectAdd() argument 1390 SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectAdd() argument 1494 SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectSub() argument 1581 SelectSub(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectSub() argument 1596 SelectMpy(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectMpy() argument 1611 SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) SelectMpy() argument 1686 Operand &opnd0 = LoadIntoRegister(origOpnd0, primType); SelectDiv() local 1757 SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectDiv() argument 1775 Operand &opnd0 = LoadIntoRegister(lhsOpnd, primType); SelectRem() local [all...] |
H A D | aarch64_emitter.cpp | 451 /* reset opnd0 ref-field flag, so following instruction has correct register */ in EmitAArch64Insn() 633 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); in EmitClinitTail() local 640 opnd0->Accept(visitor); in EmitClinitTail() 660 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); in EmitLazyLoad() local 670 opnd0->Accept(visitor); in EmitLazyLoad() 672 opnd0->Accept(visitor1); in EmitLazyLoad() 680 opnd0->Accept(visitor); in EmitLazyLoad() 698 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); in EmitCounter() local 706 opnd0->Accept(visitor); in EmitCounter() 713 opnd0 in EmitCounter() 743 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); EmitAdrpLabel() local 777 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); EmitAdrpLdr() local 819 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); EmitLazyLoadStatic() local 872 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); EmitArrayClassCacheLoad() local 1564 Operand *opnd0 = &insn.GetOperand(kInsnFirstOpnd); EmitLazyBindingRoutine() local 1621 Operand &opnd0 = insn.GetOperand(opndIndex); CheckInsnRefField() local [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_cgfunc.h | 90 void SelectDassign(DassignNode &stmt, Operand &opnd0) override; 91 void SelectRegassign(RegassignNode &stmt, Operand &opnd0) override; 93 void SelectReturn(Operand *opnd0) override; 97 void SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) override; 98 void SelectCondGoto(LabelOperand &targetOpnd, Opcode jmpOp, Opcode cmpOp, Operand &opnd0, Operand &opnd1, 100 void SelectCondSpecialCase1(CondGotoNode &stmt, BaseNode &opnd0) override; 101 void SelectCondSpecialCase2(const CondGotoNode &stmt, BaseNode &opnd0) override; 156 Operand *SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 157 void SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override; 158 Operand *SelectDiv(BinaryNode &node, Operand &opnd0, Operan [all...] |
H A D | aarch64_mop_split.h | 96 Operand *opnd0 = &insn->GetOperand(kInsnFirstOpnd); in AddInsnSplit() local 139 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *newOpnd1, *immOpnd); in AddInsnSplit() 170 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *opnd1, *movOpnd, bitShiftOpnd); in AddInsnSplit() 179 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *opnd1, *movOpnd); in AddInsnSplit() 197 Operand *opnd0 = &insn->GetOperand(kInsnFirstOpnd); in SubInsnSplit() local 243 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *newOpnd1, *immOpnd); in SubInsnSplit() 272 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *opnd1, *movOpnd, bitShiftOpnd); in SubInsnSplit() 281 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *opnd1, *movOpnd); in SubInsnSplit() 303 Operand *opnd0 = &insn->GetOperand(kInsnFirstOpnd); in AddsSubsInsnSplit() local 315 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *opnd in AddsSubsInsnSplit() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_builder.h | 172 BinaryNode *CreateExprBinary(Opcode opcode, const MIRType &type, BaseNode *opnd0, BaseNode *opnd1); 173 BinaryNode *CreateExprBinary(Opcode opcode, PrimType pty, BaseNode *opnd0, BaseNode *opnd1) 176 return CreateExprBinary(opcode, *ty, opnd0, opnd1); 178 CompareNode *CreateExprCompare(Opcode opcode, const MIRType &type, const MIRType &opndType, BaseNode *opnd0,
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_builder.cpp | 261 BinaryNode *MIRBuilder::CreateExprBinary(Opcode opcode, const MIRType &type, BaseNode *opnd0, BaseNode *opnd1) 263 return NewNode<BinaryNode>(opcode, type.GetPrimType(), opnd0, opnd1); 266 CompareNode *MIRBuilder::CreateExprCompare(Opcode opcode, const MIRType &type, const MIRType &opndType, BaseNode *opnd0, 269 return NewNode<CompareNode>(opcode, type.GetPrimType(), opndType.GetPrimType(), opnd0, opnd1);
|
H A D | mir_lower.cpp | 79 // opnd0 must be intrinsicop C___builtin_expect in LowerCondGotoStmtWithBuiltinExpect() 80 BaseNode *opnd0 = condExpr->Opnd(0); in LowerCondGotoStmtWithBuiltinExpect() local 81 if (opnd0->GetOpCode() != OP_intrinsicop) { in LowerCondGotoStmtWithBuiltinExpect() 85 auto *expectedConstExpr = opnd0->Opnd(1); in LowerCondGotoStmtWithBuiltinExpect() 106 condExpr->SetOpnd(opnd0->Opnd(0), 0); in LowerCondGotoStmtWithBuiltinExpect()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
H A D | lower.cpp | 50 BaseNode *opnd0 = retNode.Opnd(0); in LowerReturnStructUsingFakeParm() local 59 DEBUG_ASSERT(opnd0 != nullptr, "opnd0 should not be nullptr"); in LowerReturnStructUsingFakeParm() 61 iassign->SetRHS(opnd0); in LowerReturnStructUsingFakeParm()
|