| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | memlayout.cpp | 42 Opcode opCode = stmt->GetOpCode(); in FindLargestActualArea() local 43 if ((opCode < OP_call || opCode > OP_xintrinsiccallassigned) && opCode != OP_icallproto) { in FindLargestActualArea() 46 if (opCode == OP_intrinsiccallwithtypeassigned || opCode == OP_intrinsiccallwithtype || in FindLargestActualArea() 47 opCode == OP_intrinsiccallassigned || opCode == OP_intrinsiccall) { in FindLargestActualArea() 59 …DCHECK((opCode == OP_call || opCode == OP_icall || opCode == OP_icallproto), "Not lowered to call … in FindLargestActualArea() 62 …ComputeStackSpaceRequirementForCall(*stmt, copySize, opCode == OP_icall || opCode == OP_icallproto… in FindLargestActualArea()
|
| D | cg_irbuilder.cpp | 23 Insn &InsnBuilder::BuildInsn(MOperator opCode, const InsnDesc &idesc) in BuildInsn() argument 25 auto *newInsn = mp->New<Insn>(*mp, opCode); in BuildInsn() 31 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0) in BuildInsn() argument 33 const InsnDesc &tMd = Globals::GetInstance()->GetTarget()->GetTargetMd(opCode); in BuildInsn() 34 return BuildInsn(opCode, tMd).AddOpndChain(o0); in BuildInsn() 36 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1) in BuildInsn() argument 38 const InsnDesc &tMd = Globals::GetInstance()->GetTarget()->GetTargetMd(opCode); in BuildInsn() 39 return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1); in BuildInsn() 41 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2) in BuildInsn() argument 43 const InsnDesc &tMd = Globals::GetInstance()->GetTarget()->GetTargetMd(opCode); in BuildInsn() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/ |
| D | regexp_executor.h | 88 inline bool HandleOpAll(uint8_t opCode) in HandleOpAll() argument 94 if ((opCode == RegExpOpCode::OP_DOTS) && IsTerminator(currentChar)) { in HandleOpAll() 97 Advance(opCode); in HandleOpAll() 101 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument 104 if (opCode == RegExpOpCode::OP_CHAR32) { in HandleOpChar() 117 Advance(opCode); in HandleOpChar() 126 inline bool HandleOpWordBoundary(uint8_t opCode) in HandleOpWordBoundary() argument 129 if (opCode == RegExpOpCode::OP_WORD_BOUNDARY) { in HandleOpWordBoundary() 130 Advance(opCode); in HandleOpWordBoundary() 144 if (((opCode == RegExpOpCode::OP_WORD_BOUNDARY) && in HandleOpWordBoundary() [all …]
|
| D | regexp_executor.cpp | 112 uint8_t opCode = byteCode.GetU8(GetCurrentPC()); in ExecuteInternal() local 113 switch (opCode) { in ExecuteInternal() 116 if (!HandleOpAll(opCode)) { in ExecuteInternal() 123 if (!HandleOpChar(byteCode, opCode)) { in ExecuteInternal() 130 if (!HandleOpWordBoundary(opCode)) { in ExecuteInternal() 136 if (!HandleOpLineStart(opCode)) { in ExecuteInternal() 142 if (!HandleOpLineEnd(opCode)) { in ExecuteInternal() 148 HandleOpSaveStart(byteCode, opCode); in ExecuteInternal() 151 HandleOpSaveEnd(byteCode, opCode); in ExecuteInternal() 155 Advance(opCode, offset); in ExecuteInternal() [all …]
|
| D | regexp_opcode.cpp | 89 RegExpOpCode::RegExpOpCode(uint8_t opCode, int size) : opCode_(opCode), size_(size) {} in RegExpOpCode() argument 94 uint8_t opCode = buf.GetU8(pc); in GetRegExpOpCode() local 95 ASSERT_PRINT(opCode <= g_gIntrinsicSet.size(), "invalid op code"); in GetRegExpOpCode() 96 return g_gIntrinsicSet.at(opCode); in GetRegExpOpCode() 100 RegExpOpCode *RegExpOpCode::GetRegExpOpCode(uint8_t opCode) in GetRegExpOpCode() argument 102 ASSERT_PRINT(opCode <= g_gIntrinsicSet.size(), "invalid op code"); in GetRegExpOpCode() 103 return g_gIntrinsicSet.at(opCode); in GetRegExpOpCode()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | cg_irbuilder.h | 32 Insn &BuildInsn(MOperator opCode) in BuildInsn() argument 34 return BuildInsn(opCode, Target::kMd[opCode]); in BuildInsn() 36 Insn &BuildInsn(MOperator opCode, const InsnDesc &idesc); 37 Insn &BuildInsn(MOperator opCode, Operand &o0); 38 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1); 39 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2); 40 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3); 41 …Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, Operand &o4); 42 Insn &BuildInsn(MOperator opCode, std::vector<Operand *> &opnds); 44 Insn &BuildCfiInsn(MOperator opCode); [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | inst_generator.cpp | 768 std::vector<Inst *> &InstGenerator::GenerateOperations(Opcode opCode) in GenerateOperations() argument 770 for (size_t i = 0; i < opcodeXPossibleTypes_[opCode].size(); ++i) { in GenerateOperations() 771 auto inst = Inst::New<T>(&allocator_, opCode); in GenerateOperations() 772 inst->SetType(opcodeXPossibleTypes_[opCode][i]); in GenerateOperations() 779 std::vector<Inst *> &InstGenerator::GenerateOperationsImm(Opcode opCode) in GenerateOperationsImm() argument 781 for (size_t i = 0; i < opcodeXPossibleTypes_[opCode].size(); ++i) { in GenerateOperationsImm() 782 auto inst = Inst::New<T>(&allocator_, opCode); in GenerateOperationsImm() 783 auto type = opcodeXPossibleTypes_[opCode][i]; in GenerateOperationsImm() 792 std::vector<Inst *> &InstGenerator::GenerateOperationsShiftedRegister(Opcode opCode) in GenerateOperationsShiftedRegister() argument 794 for (size_t i = 0; i < opcodeXPossibleTypes_[opCode].size(); ++i) { in GenerateOperationsShiftedRegister() [all …]
|
| D | inst_generator.h | 96 std::vector<Inst *> &Generate(Opcode opCode); 107 int GetPossibleInstToGenerateNumber(Opcode opCode) in GetPossibleInstToGenerateNumber() argument 109 return opcodeXPossibleTypes_[opCode].size(); in GetPossibleInstToGenerateNumber() 124 std::vector<Inst *> &GenerateOperations(Opcode opCode); 127 std::vector<Inst *> &GenerateOperationsImm(Opcode opCode); 130 std::vector<Inst *> &GenerateOperationsShiftedRegister(Opcode opCode);
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_executor.h | 75 inline bool HandleOpAll(uint8_t opCode) in HandleOpAll() argument 81 if ((opCode == RegExpOpCode::OP_DOTS) && IsTerminator(currentChar)) { in HandleOpAll() 84 Advance(opCode); in HandleOpAll() 88 inline bool HandleOpChar(const DynChunk &byteCode, uint8_t opCode) in HandleOpChar() argument 91 if (opCode == RegExpOpCode::OP_CHAR32) { in HandleOpChar() 104 Advance(opCode); in HandleOpChar() 113 inline bool HandleOpWordBoundary(uint8_t opCode) in HandleOpWordBoundary() argument 121 if (((opCode == RegExpOpCode::OP_WORD_BOUNDARY) && in HandleOpWordBoundary() 123 ((opCode == RegExpOpCode::OP_NOT_WORD_BOUNDARY) && in HandleOpWordBoundary() 125 Advance(opCode); in HandleOpWordBoundary() [all …]
|
| D | regexp_executor.cpp | 109 uint8_t opCode = byteCode.GetU8(GetCurrentPC()); in ExecuteInternal() local 110 switch (opCode) { in ExecuteInternal() 113 if (!HandleOpAll(opCode)) { in ExecuteInternal() 120 if (!HandleOpChar(byteCode, opCode)) { in ExecuteInternal() 127 if (!HandleOpWordBoundary(opCode)) { in ExecuteInternal() 133 if (!HandleOpLineStart(opCode)) { in ExecuteInternal() 139 if (!HandleOpLineEnd(opCode)) { in ExecuteInternal() 145 HandleOpSaveStart(byteCode, opCode); in ExecuteInternal() 148 HandleOpSaveEnd(byteCode, opCode); in ExecuteInternal() 152 Advance(opCode, offset); in ExecuteInternal() [all …]
|
| D | regexp_opcode.cpp | 93 RegExpOpCode::RegExpOpCode(uint8_t opCode, int size) : opCode_(opCode), size_(size) {} in RegExpOpCode() argument 98 uint8_t opCode = buf.GetU8(pc); in GetRegExpOpCode() local 99 ASSERT_PRINT(opCode <= g_intrinsicSet.size(), "invalid op code"); in GetRegExpOpCode() 100 return g_intrinsicSet.at(opCode); in GetRegExpOpCode() 104 RegExpOpCode *RegExpOpCode::GetRegExpOpCode(uint8_t opCode) in GetRegExpOpCode() argument 106 ASSERT_PRINT(opCode <= g_intrinsicSet.size(), "invalid op code"); in GetRegExpOpCode() 107 return g_intrinsicSet.at(opCode); in GetRegExpOpCode()
|
| D | regexp_opcode.h | 69 RegExpOpCode(uint8_t opCode, int size); 75 static RegExpOpCode *GetRegExpOpCode(uint8_t opCode);
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_lower.h | 38 inline bool OpCodeNoFallThrough(Opcode opCode) in OpCodeNoFallThrough() argument 40 return opCode == OP_goto || opCode == OP_return || opCode == OP_switch || opCode == OP_throw || in OpCodeNoFallThrough() 41 opCode == OP_gosub || opCode == OP_retsub; in OpCodeNoFallThrough()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/ |
| D | lmir_builder.cpp | 836 Opcode opCode = OP_eq; in ICmp() local 840 opCode = OP_eq; in ICmp() 843 opCode = OP_ne; in ICmp() 847 opCode = OP_lt; in ICmp() 851 opCode = OP_le; in ICmp() 855 opCode = OP_gt; in ICmp() 859 opCode = OP_ge; in ICmp() 862 opCode = OP_lt; in ICmp() 865 opCode = OP_le; in ICmp() 868 opCode = OP_gt; in ICmp() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
| D | switch_lowerer.h | 59 maple::CompareNode *BuildCmpNode(maple::Opcode opCode, maple::uint32 idx); 61 …maple::CondGotoNode *BuildCondGotoNode(maple::int32 idx, maple::Opcode opCode, maple::BaseNode &co…
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
| D | switch_lowerer.cpp | 135 CompareNode *SwitchLowerer::BuildCmpNode(Opcode opCode, uint32 idx) in BuildCmpNode() argument 137 CompareNode *binaryExpr = mirModule.CurFuncCodeMemPool()->New<CompareNode>(opCode); in BuildCmpNode() 166 CondGotoNode *SwitchLowerer::BuildCondGotoNode(int32 idx, Opcode opCode, BaseNode &cond) in BuildCondGotoNode() argument 171 CondGotoNode *cGotoStmt = mirModule.CurFuncCodeMemPool()->New<CondGotoNode>(opCode); in BuildCondGotoNode()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/templates/intrinsics/ |
| D | generate_operations_intrinsic_inst.inl.erb | 20 std::vector<Inst*>& InstGenerator::GenerateOperations<IntrinsicInst>([[maybe_unused]] Opcode opCode…
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_schedule.cpp | 91 MOperator opCode = insn.GetMachineOpcode(); in CanCombine() local 92 …if ((opCode != MOP_xldr) && (opCode != MOP_wldr) && (opCode != MOP_dldr) && (opCode != MOP_sldr) && in CanCombine() 93 … (opCode != MOP_xstr) && (opCode != MOP_wstr) && (opCode != MOP_dstr) && (opCode != MOP_sstr)) { in CanCombine()
|
| D | aarch64_ebo.cpp | 568 MOperator opCode = insn.GetMachineOpcode(); in Csel2Cset() local 570 if ((opCode == MOP_wcselrrrc) || (opCode == MOP_xcselrrrc)) { in Csel2Cset() 603 … (opCode == MOP_xcselrrrc) ? MOP_xcsetrc : MOP_wcsetrc, *res, condOperand, rflag); in Csel2Cset() 616 … (opCode == MOP_xcselrrrc) ? MOP_xcsetrc : MOP_wcsetrc, *res, reverseCond, rflag); in Csel2Cset() 1128 MOperator opCode = insn.GetMachineOpcode(); in SpecialSequence() local 1130 switch (opCode) { in SpecialSequence() 1143 if ((prevInsn != nullptr) && (prevInsn->GetMachineOpcode() == opCode) && in SpecialSequence() 1270 … static_cast<int32>((opCode == MOP_xlslrri6) ? xLslrriBitLen : wLslrriBitLen)); in SpecialSequence()
|
| D | aarch64_strldr.cpp | 326 bool AArch64StoreLoadOpt::CheckStoreOpCode(MOperator opCode) const in CheckStoreOpCode() 328 switch (opCode) { in CheckStoreOpCode() 569 MOperator opCode = defInsn.GetMachineOpcode(); in SelectReplaceMem() local 571 switch (opCode) { in SelectReplaceMem()
|
| D | aarch64_obj_emitter.cpp | 656 uint32 opCode = 0; in GenMovReg() local 661 opCode = md.GetMopEncode(); in GenMovReg() 665 opCode = md.GetMopEncode(); in GenMovReg() 668 uint32 opnd = opCode | GetOpndMachineValue(opnd1); in GenMovReg() 675 opCode = md.GetMopEncode(); in GenMovReg() 679 opCode = md.GetMopEncode(); in GenMovReg() 682 uint32 opnd = opCode | GetOpndMachineValue(opnd1); in GenMovReg()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
| D | initialization_analysis.cpp | 164 OpCode opCode = acc_.GetOpCode(gate); in CheckSimpleGate() local 165 switch (opCode) { in CheckSimpleGate()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| D | aarch64_strldr.h | 38 bool CheckStoreOpCode(MOperator opCode) const;
|
| D | aarch64_reaching.h | 67 int64 GetEachMemSizeOfPair(MOperator opCode) const;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
| D | x64_MPISel.h | 82 …void SelectCmpResult(RegOperand &resOpnd, Opcode opCode, PrimType primType, PrimType primOpndType);
|