Searched refs:EndInst (Results 1 – 3 of 3) sorted by relevance
280 collectInstructionsInBetween(Instruction &StartInst, const Instruction &EndInst, in collectInstructionsInBetween() argument302 if (CurInst == &EndInst) in collectInstructionsInBetween()372 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore() local374 collectInstructionsInBetween(StartInst, EndInst, InstsToCheck); in isSafeToMoveBefore()
2855 Instruction *EndInst = BB->getTerminator(); // Last not to be deleted. in removeAllNonTerminatorAndEHPadInstructions() local2857 handleUnreachableTerminator(EndInst, Uses); in removeAllNonTerminatorAndEHPadInstructions()2859 while (EndInst != &BB->front()) { in removeAllNonTerminatorAndEHPadInstructions()2861 Instruction *Inst = &*--EndInst->getIterator(); in removeAllNonTerminatorAndEHPadInstructions()2868 EndInst = Inst; in removeAllNonTerminatorAndEHPadInstructions()
254 Instruction *EndInst = nullptr; in splitCandidate() local262 EndInst = Candidate->end()->Inst; in splitCandidate()263 assert(EndInst && "Expected an end instruction?"); in splitCandidate()271 EndInst != BackInst->getNextNonDebugInstruction()) in splitCandidate()356 EndBB = EndInst->getParent(); in splitCandidate()357 FollowBB = EndBB->splitBasicBlock(EndInst, OriginalName + "_after_outline"); in splitCandidate()