/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_emitter.cpp | 179 Operand *opnd1 = nullptr; in EmitInsn() local 183 opnd1 = &insn.GetOperand(1); 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, funcUniqueId), TransferReg(opnd1)); in EmitInsn() [all...] |
H A D | x64_cgfunc.cpp | 43 void X64CGFunc::SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) in SelectCondGoto() 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, Operand &opnd1, const BaseNode &parent) in SelectMpy() argument 134 Operand *X64CGFunc::SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectRem() argument 139 void X64CGFunc::SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectDiv() argument 143 Operand *X64CGFunc::SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectDiv() argument 148 Operand *X64CGFunc::SelectSub(BinaryNode &node, Operand &opnd0, Operand &opnd1, cons in SelectDiv() 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 [all...] |
H A D | x64_MPIsel.cpp | 343 RegOperand &opnd1 = SelectCopy2Reg(*HandleExpr(intrnNode, *intrnNode.Opnd(1)), 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() 424 ImmOperand &opnd1 = in SelectRangeGoto() local 427 SelectAdd(indexOpnd, opnd0, opnd1, srcType); in SelectRangeGoto() 540 Operand *X64MPIsel::SelectMpy(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectMpy() argument 546 RegOperand ®Opnd1 = SelectCopy2Reg(opnd1, dtype, node.Opnd(1)->GetPrimType()); in SelectMpy() 551 void X64MPIsel::SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) in SelectMpy() argument 555 RegOperand ®Opnd1 = SelectCopy2Reg(opnd1, primTyp in SelectMpy() 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 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 [all...] |
H A D | x64_standardize.cpp | 102 Operand *opnd1 = &insn.GetOperand(kInsnFirstOpnd); in StdzCvtOp() local 103 RegOperand *dest = static_cast<RegOperand *>(opnd1); in StdzCvtOp()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | isel.h | 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); 61 void SelectAdd(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType); 62 void SelectSub(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType); 63 Operand *SelectShift(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent); 64 void SelectShift(Operand &resOpnd, Operand &opnd0, Operand &opnd1, Opcode shiftDirect, PrimType opnd0Type, 66 void SelectBand(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType); 77 Operand *SelectBior(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent); 78 Operand *SelectBxor(const BinaryNode &node, Operand &opnd0, Operand &opnd1, cons [all...] |
H A D | cgfunc.h | 180 virtual void SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) = 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, Operand &opnd1, const BaseNode &parent) = 0; 203 virtual Operand *SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) = 0; 204 virtual void SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) = 0; 205 virtual Operand *SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) = 0; 206 virtual Operand *SelectSub(BinaryNode &node, Operand &opnd0, Operand &opnd1, cons [all...] |
H A D | insn.h | 65 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1) : Insn(memPool, opc) in Insn() argument 68 opnds.emplace_back(&opnd1); in Insn() 70 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2) : Insn(memPool, opc) in Insn() argument 73 opnds.emplace_back(&opnd1); in Insn() 76 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opnd3) in Insn() argument 80 opnds.emplace_back(&opnd1); in Insn() 84 Insn(MemPool &memPool, MOperator opc, Operand &opnd0, Operand &opnd1, Operand &opnd2, Operand &opnd3, in Insn() argument 89 opnds.emplace_back(&opnd1); in Insn()
|
H A D | cfi.h | 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 | 47 void SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) 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, Operand &opnd1, const BaseNode &parent) override; 68 Operand *SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 69 void SelectDiv(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override; 70 Operand *SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) override; 71 Operand *SelectSub(BinaryNode &node, Operand &opnd0, Operand &opnd1, cons [all...] |
H A D | x64_MPISel.h | 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; 57 void SelectMpy(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType); 60 void SelectCmp(Operand &opnd0, Operand &opnd1, PrimType primType, bool isSwap = false); 61 void SelectCmpFloatEq(RegOperand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primResType, 67 Operand *SelectDivRem(RegOperand &opnd0, RegOperand &opnd1, PrimType primType, Opcode opcode); 69 void SelectMinOrMax(bool isMin, Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType) override;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | isel.cpp | 550 void MPISel::SelectBasicOp(Operand &resOpnd, Operand &opnd0, Operand &opnd1, MOperator mOp, PrimType primType) in SelectBasicOp() argument 553 RegOperand &secondOpnd = SelectCopy2Reg(opnd1, primType); in SelectBasicOp() 655 Operand *MPISel::SelectShift(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectShift() argument 665 SelectShift(*resOpnd, regOpnd0, opnd1, opcode, primType, node.Opnd(1)->GetPrimType()); in SelectShift() 672 void MPISel::SelectShift(Operand &resOpnd, Operand &opnd0, Operand &opnd1, Opcode shiftDirect, PrimType opnd0Type, in SelectShift() argument 675 if (opnd1.IsIntImmediate() && static_cast<ImmOperand &>(opnd1).GetValue() == 0) { in SelectShift() 695 RegOperand &secondOpnd = SelectCopy2Reg(opnd1, opnd1Type); in SelectShift() 795 Operand *MPISel::SelectAdd(const BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) in SelectAdd() argument 801 RegOperand ®Opnd1 = SelectCopy2Reg(opnd1, primTyp in SelectAdd() 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 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 1115 Operand *opnd1 = SelectFloatingConst(*c, PTY_f64); SelectAbs() local 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 [all...] |
H A D | cgfunc.cpp | 364 Operand *opnd1 = cgFunc.HandleExpr(*condNode, *condNode->Opnd(1)); in HandleCondbr() local 365 cgFunc.SelectCondGoto(condGotoNode, *opnd0, *opnd1); in HandleCondbr()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_cgfunc.cpp | 1216 Operand *opnd1 = &origOpnd1; in SelectCondGoto() local 1223 opnd1 = &LoadIntoRegister(origOpnd1, primType); in SelectCondGoto() 1226 GetCurBB()->AppendInsn(GetInsnBuilder()->BuildInsn(mOp, rflag, *opnd0, *opnd1)); in SelectCondGoto() 1230 opnd1 = &SelectCopy(origOpnd1, primType, primType); in SelectCondGoto() 1235 if (static_cast<ImmOperand *>(opnd1)->IsZero() && in SelectCondGoto() 1247 ImmOperand *immOpnd = static_cast<ImmOperand *>(opnd1); in SelectCondGoto() 1251 opnd1 = &SelectCopy(*opnd1, primType, primType); in SelectCondGoto() 1254 GetCurBB()->AppendInsn(GetInsnBuilder()->BuildInsn(mOp, rflag, *opnd0, *opnd1)); in SelectCondGoto() 1274 Operand *opnd1 in SelectCondSpecialCase1() local 1312 Operand *opnd1 = HandleExpr(cmpNode, *cmpNode.Opnd(1)); 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 1684 SelectDiv(Operand &resOpnd, Operand &origOpnd0, Operand &opnd1, PrimType primType) SelectDiv() argument 1757 SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &parent) SelectDiv() argument 1776 Operand &opnd1 = LoadIntoRegister(rhsOpnd, primType); SelectRem() local [all...] |
H A D | aarch64_emitter.cpp | 661 Operand *opnd1 = &insn.GetOperand(kInsnSecondOpnd); in EmitLazyLoad() local 675 opnd1->Accept(visitor1); in EmitLazyLoad() 682 opnd1->Accept(visitor1); in EmitLazyLoad() 699 Operand *opnd1 = &insn.GetOperand(kInsnSecondOpnd); in EmitCounter() local 702 StImmOperand *stImmOpnd = static_cast<StImmOperand *>(opnd1); in EmitCounter() 744 Operand *opnd1 = &insn.GetOperand(kInsnSecondOpnd); in EmitAdrpLabel() local 747 auto lidx = static_cast<ImmOperand *>(opnd1)->GetValue(); in EmitAdrpLabel() 778 Operand *opnd1 = &insn.GetOperand(kInsnSecondOpnd); in EmitAdrpLdr() local 781 auto *stImmOpnd = static_cast<StImmOperand *>(opnd1); in EmitAdrpLdr() 820 Operand *opnd1 in EmitLazyLoadStatic() local 873 Operand *opnd1 = &insn.GetOperand(kInsnSecondOpnd); EmitArrayClassCacheLoad() local [all...] |
H A D | aarch64_obj_emitter.cpp | 576 Operand &opnd1 = insn.GetOperand(kInsnFirstOpnd); 578 DEBUG_ASSERT(opnd1.IsRegister(), "opnd1 must be a register"); 581 if (static_cast<RegOperand &>(opnd1).GetRegisterNumber() == RSP || 592 uint32 opnd = opCode | GetOpndMachineValue(opnd1); 606 uint32 opnd = opCode | GetOpndMachineValue(opnd1);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_obj_emitter.h | 186 void EmitInsn(MOperator mOp, Operand &opnd1, std::vector<uint32> &label2Offset, ObjFuncEmitInfo &objFuncEmitInfo) in EmitInsn() argument 188 Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1); in EmitInsn() 192 void EmitInsn(MOperator mOp, Operand &opnd1, Operand &opnd2, std::vector<uint32> &label2Offset, in EmitInsn() argument 195 Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1, opnd2); in EmitInsn() 199 void EmitInsn(MOperator mOp, Operand &opnd1, Operand &opnd2, Operand &opnd3, std::vector<uint32> &label2Offset, in EmitInsn() argument 202 Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1, opnd2, opnd3); in EmitInsn()
|
H A D | aarch64_mop_split.h | 97 Operand *opnd1 = &insn->GetOperand(kInsnSecondOpnd); in AddInsnSplit() local 118 Operand *newOpnd1 = opnd1; in AddInsnSplit() 127 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *tmpRes, *opnd1, immOpnd2, shiftopnd); in AddInsnSplit() 151 regno_t regNO0 = static_cast<RegOperand *>(opnd1)->GetRegisterNumber(); 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() 198 Operand *opnd1 = &insn->GetOperand(kInsnSecondOpnd); in SubInsnSplit() local 225 Operand *newOpnd1 = opnd1; in SubInsnSplit() 234 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *resOpnd, *opnd1, immOpnd2, shiftopnd); in SubInsnSplit() 272 Insn &newInsn = insnBuilder->BuildInsn(mOpCode, *opnd0, *opnd1, *movOpn in SubInsnSplit() 304 Operand *opnd1 = &insn->GetOperand(kInsnSecondOpnd); AddsSubsInsnSplit() local [all...] |
H A D | aarch64_cgfunc.h | 97 void SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) override; 98 void SelectCondGoto(LabelOperand &targetOpnd, Opcode jmpOp, Opcode cmpOp, Operand &opnd0, Operand &opnd1, 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, Operand &opnd1, const BaseNode &parent) override; 174 void SelectAArch64Select(Operand &dest, Operand &opnd0, Operand &opnd1, CondOperand &cond, bool isIntType, 600 void SelectRem(Operand &resOpnd, Operand &opnd0, Operand &opnd1, PrimType primType, bool isSigned, bool is64Bits); 607 Operand &opnd1, const BaseNode &parent); 608 void SelectRelationOperator(RelationOperator operatorCode, Operand &resOpnd, Operand &opnd0, Operand &opnd1, 612 Operand *SelectMinOrMax(bool isMin, const BinaryNode &node, Operand &opnd0, Operand &opnd1, cons [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); 179 BaseNode *opnd1);
|
/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); 267 BaseNode *opnd1) 269 return NewNode<CompareNode>(opcode, type.GetPrimType(), opndType.GetPrimType(), opnd0, opnd1);
|
H A D | mir_lower.cpp | 70 // opnd1 must be int const 0 in LowerCondGotoStmtWithBuiltinExpect() 71 BaseNode *opnd1 = condExpr->Opnd(1); in LowerCondGotoStmtWithBuiltinExpect() local 72 if (opnd1->GetOpCode() != OP_constval) { in LowerCondGotoStmtWithBuiltinExpect() 75 auto *constVal = static_cast<ConstvalNode *>(opnd1)->GetConstVal(); in LowerCondGotoStmtWithBuiltinExpect()
|