Lines Matching refs:Start

367     MachineInstr *Start = nullptr;  member
429 return Start && Dec && End; in FoundAllComponents()
441 return Start->getOperand(1); in getLoopStartOperand()
445 bool IsDo = isDoLoopStart(*Start); in getStartOpcode()
453 if (Start) dbgs() << "ARM Loops: Found Loop Start: " << *Start; in dump()
463 else if (!(Start && Dec && End)) in dump()
634 if (Start->getOpcode() == ARM::t2DoLoopStartTP || in ValidateTailPredicate()
635 Start->getOpcode() == ARM::t2WhileLoopStartTP) { in ValidateTailPredicate()
636 TPNumElements = Start->getOperand(2); in ValidateTailPredicate()
637 StartInsertPt = Start; in ValidateTailPredicate()
638 StartInsertBB = Start->getParent(); in ValidateTailPredicate()
781 if ((Start->getOpcode() == ARM::t2DoLoopStartTP || in ValidateTailPredicate()
782 Start->getOpcode() == ARM::t2WhileLoopStartTP) && in ValidateTailPredicate()
1027 auto ValidateRanges = [](MachineInstr *Start, MachineInstr *End, in Validate()
1047 if (isWhileLoopStart(*Start)) { in Validate()
1048 MachineBasicBlock *TargetBB = getWhileLoopStartTargetBB(*Start); in Validate()
1049 if (BBUtils->getOffsetOf(Start) > BBUtils->getOffsetOf(TargetBB) || in Validate()
1050 !BBUtils->isBBInRange(Start, TargetBB, 4094)) { in Validate()
1058 StartInsertPt = MachineBasicBlock::iterator(Start); in Validate()
1059 StartInsertBB = Start->getParent(); in Validate()
1063 Revert = !ValidateRanges(Start, End, BBUtils, ML); in Validate()
1306 LoLoop.Start = SearchForStart(LoLoop.Preheader); in ProcessLoop()
1324 LoLoop.Start = &MI; in ProcessLoop()
1345 assert(LoLoop.Start->getOpcode() != ARM::t2WhileLoopStart && in ProcessLoop()
1471 MachineInstr *Def = RDA->getMIOperand(LoLoop.Start, 1); in IterationCountDCE()
1478 SmallPtrSet<MachineInstr*, 4> Killed = { LoLoop.Start, LoLoop.Dec, in IterationCountDCE()
1491 MachineInstr *Start = LoLoop.Start; in ExpandLoopStart() local
1503 BuildMI(*MBB, InsertPt, Start->getDebugLoc(), TII->get(Opc)); in ExpandLoopStart()
1507 if (isWhileLoopStart(*Start)) in ExpandLoopStart()
1508 MIB.addMBB(getWhileLoopStartTargetBB(*Start)); in ExpandLoopStart()
1514 LoLoop.ToRemove.insert(Start); in ExpandLoopStart()
1693 if (isWhileLoopStart(*LoLoop.Start)) in Expand()
1694 RevertWhile(LoLoop.Start); in Expand()
1696 RevertDo(LoLoop.Start); in Expand()
1702 LoLoop.Start = ExpandLoopStart(LoLoop); in Expand()
1703 if (LoLoop.Start) in Expand()
1704 RemoveDeadBranch(LoLoop.Start); in Expand()
1763 for (auto *Start : Starts) { in RevertNonLoops() local
1764 if (isWhileLoopStart(*Start)) in RevertNonLoops()
1765 RevertWhile(Start); in RevertNonLoops()
1767 RevertDo(Start); in RevertNonLoops()