Searched refs:LastInstr (Results 1 – 9 of 9) sorted by relevance
153 const MCInst *LastInstr = BB->getLastNonPseudoInstr(); in postProcessProfile() local154 if (!LastInstr) in postProcessProfile()156 const uint64_t JTAddress = BC.MIB->getJumpTable(*LastInstr); in postProcessProfile()328 const MCInst *LastInstr = BB->getLastNonPseudoInstr(); in inferFallThroughCounts() local329 if (LastInstr && (BC.MIB->isUnconditionalBranch(*LastInstr) || in inferFallThroughCounts()330 BC.MIB->isIndirectBranch(*LastInstr))) in inferFallThroughCounts()
259 const MCInst *LastInstr = BB->getLastNonPseudoInstr(); in getDynoStats() local260 if (BC.MIB->getJumpTable(*LastInstr)) { in getDynoStats()274 if (BC.MIB->isIndirectBranch(*LastInstr) && !BC.MIB->isCall(*LastInstr)) { in getDynoStats()
2091 MCInst *LastInstr = BB->getLastNonPseudoInstr(); in buildCFG() local2092 assert(LastInstr && in buildCFG()2102 IsPrevFT = !MIB->isTerminator(*LastInstr) || in buildCFG()2103 MIB->getConditionalTailCall(*LastInstr); in buildCFG()2105 IsPrevFT = MIB->isConditionalBranch(*LastInstr); in buildCFG()3055 const MCInst *LastInstr = BB->getLastNonPseudoInstr(); in dumpGraph() local3056 const bool IsJumpTable = LastInstr && BC.MIB->getJumpTable(*LastInstr); in dumpGraph()4291 if (MCInst *LastInstr = BB->getLastNonPseudoInstr()) { in getInstructionAtOffset() local4293 BC.MIB->getAnnotationWithDefault<uint32_t>(*LastInstr, "Size"); in getInstructionAtOffset()4295 return LastInstr; in getInstructionAtOffset()
235 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()236 assert(BI.LastInstr < Stop); in calcLiveBlockInfo()254 BI.LastInstr = LastStop; in calcLiveBlockInfo()266 UseBlocks.back().LastInstr = LastStop; in calcLiveBlockInfo()1605 overlapIntv(SegStop, BI.LastInstr); in splitSingleBlock()1746 useIntv(Start, BI.LastInstr); in splitRegInBlock()1763 if (BI.LastInstr < LSP) { in splitRegInBlock()1773 overlapIntv(Idx, BI.LastInstr); in splitRegInBlock()1787 if (!BI.LiveOut || BI.LastInstr < LSP) { in splitRegInBlock()1793 SlotIndex To = leaveIntvAfter(BI.LastInstr); in splitRegInBlock()[all …]
125 SlotIndex LastInstr; ///< Last instr accessing current reg. member133 return SlotIndex::isSameInstr(FirstInstr, LastInstr); in isOneInstr()
582 !LIS->getInstructionFromIndex(BI.LastInstr)->isImplicitDef()) in addSplitConstraints()601 } else if (Intf.first() < BI.LastInstr) { in addSplitConstraints()618 } else if (Intf.last() > BI.LastInstr) { in addSplitConstraints()1313 BI.LiveOut ? BI.LastInstr.getBoundaryIndex() : BI.LastInstr; in calcGapWeights()
459 auto LastInstr = BB.end(); in instrumentFunction() local460 --LastInstr; in instrumentFunction()461 while (LastInstr != I && BC.MIB->isPseudo(*LastInstr)) in instrumentFunction()462 --LastInstr; in instrumentFunction()468 if (!BC.MIB->getOffset(*LastInstr)) in instrumentFunction()470 FromOffset = *BC.MIB->getOffset(*LastInstr); in instrumentFunction()
722 const MCInst *LastInstr = ToBB->getLastNonPseudoInstr(); in recordBranch() local723 if (LastInstr) { in recordBranch()725 BC.MIB->getOffsetWithDefault(*LastInstr, 0); in recordBranch()728 if (To == LastInstrOffset && BC.MIB->isUnconditionalBranch(*LastInstr)) in recordBranch()
623 BasicBlock::iterator LastInstr = C0->getIterator(); in getBoundaryInstrs() local636 LastInstr = I.getIterator(); in getBoundaryInstrs()642 return std::make_pair(FirstInstr, ++LastInstr); in getBoundaryInstrs()