Searched refs:lastInsn (Results 1 – 6 of 6) sorted by relevance
48 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 …]
122 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 …]
510 Insn *lastInsn = bb->GetLastInsn(); in DetermineCalleeRestoreLocations() local511 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()
1579 Insn *lastInsn = tmpBB->GetLastInsn(); in TestPredsOfRetBB() local1580 if (lastInsn == nullptr) { in TestPredsOfRetBB()1583 MOperator insnMop = lastInsn->GetMachineOpcode(); in TestPredsOfRetBB()2033 Insn *lastInsn = toBB->GetLastInsn(); in ConvertToTailCalls() local2034 if (lastInsn->GetMachineOpcode() == MOP_xret) { in ConvertToTailCalls()2036 toBB->ReplaceInsn(*lastInsn, *newInsn); in ConvertToTailCalls()
5293 Operand *AArch64CGFunc::SelectAbsSub(Insn &lastInsn, const UnaryNode &node, Operand &newOpnd0) in SelectAbsSub() argument5303 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() local5334 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 …]
252 Operand *SelectAbsSub(Insn &lastInsn, const UnaryNode &node, Operand &newOpnd0);