Home
last modified time | relevance | path

Searched refs:lastInsn (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcgbb.cpp48 if (&existing == lastInsn) { in InsertInsnAfter()
49 lastInsn = &newInsn; in InsertInsnAfter()
68 if (&insn == lastInsn) { in ReplaceInsn()
69 lastInsn = &newInsn; in ReplaceInsn()
84 if ((firstInsn == &insn) && (lastInsn == &insn)) { in RemoveInsn()
85 firstInsn = lastInsn = nullptr; in RemoveInsn()
88 } else if (lastInsn == &insn) { in RemoveInsn()
89 lastInsn = insn.GetPrev(); in RemoveInsn()
106 if ((firstInsn == &insn) && (lastInsn == &nextInsn)) { in RemoveInsnPair()
107 firstInsn = lastInsn = nullptr; in RemoveInsnPair()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcgbb.h122 if (lastInsn == nullptr) { in IsEmpty()
179 if (lastInsn == nullptr) { in InsertInsnBegin()
180 firstInsn = lastInsn = &insn; in InsertInsnBegin()
191 if (firstInsn != nullptr && lastInsn != nullptr) { in AppendInsn()
192 InsertInsnAfter(*lastInsn, insn); in AppendInsn()
194 firstInsn = lastInsn = &insn; in AppendInsn()
221 firstInsn = lastInsn = nullptr; in ClearInsns()
392 return lastInsn; in GetLastInsn()
396 return lastInsn; in GetLastInsn()
400 lastInsn = arg; in SetLastInsn()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_regsaves.cpp510 Insn *lastInsn = bb->GetLastInsn(); in DetermineCalleeRestoreLocations() local
511 if (lastInsn != nullptr && lastInsn->IsBranch() && in DetermineCalleeRestoreLocations()
512 (!lastInsn->GetOperand(0).IsRegister() || /* not a reg OR */ in DetermineCalleeRestoreLocations()
515 … static_cast<RegOperand &>(lastInsn->GetOperand(0)) in DetermineCalleeRestoreLocations()
Daarch64_proepilog.cpp1579 Insn *lastInsn = tmpBB->GetLastInsn(); in TestPredsOfRetBB() local
1580 if (lastInsn == nullptr) { in TestPredsOfRetBB()
1583 MOperator insnMop = lastInsn->GetMachineOpcode(); in TestPredsOfRetBB()
2033 Insn *lastInsn = toBB->GetLastInsn(); in ConvertToTailCalls() local
2034 if (lastInsn->GetMachineOpcode() == MOP_xret) { in ConvertToTailCalls()
2036 toBB->ReplaceInsn(*lastInsn, *newInsn); in ConvertToTailCalls()
Daarch64_cgfunc.cpp5293 Operand *AArch64CGFunc::SelectAbsSub(Insn &lastInsn, const UnaryNode &node, Operand &newOpnd0) in SelectAbsSub() argument
5303 MOperator newMop = lastInsn.GetMachineOpcode() + 1; in SelectAbsSub()
5307 for (uint32 i = 0; i < lastInsn.GetOperandSize(); i++) { in SelectAbsSub()
5308 opndVec.push_back(&lastInsn.GetOperand(i)); in SelectAbsSub()
5311 GetCurBB()->ReplaceInsn(lastInsn, *subsInsn); in SelectAbsSub()
5333 Insn *lastInsn = GetCurBB()->GetLastInsn(); in SelectAbs() local
5334 if (lastInsn != nullptr && lastInsn->GetMachineOpcode() >= MOP_xsubrrr && in SelectAbs()
5335 lastInsn->GetMachineOpcode() <= MOP_wsubrri12) { in SelectAbs()
5336 return SelectAbsSub(*lastInsn, node, newOpnd0); in SelectAbs()
9834 Insn *lastInsn = GetCurBB() == nullptr ? nullptr : GetCurBB()->GetLastInsn(); in CreateNonExtendMemOpnd() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_cgfunc.h252 Operand *SelectAbsSub(Insn &lastInsn, const UnaryNode &node, Operand &newOpnd0);