Searched refs:EndInst (Results 1 – 3 of 3) sorted by relevance
278 collectInstructionsInBetween(Instruction &StartInst, const Instruction &EndInst, in collectInstructionsInBetween() argument300 if (CurInst == &EndInst) in collectInstructionsInBetween()357 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore() local359 collectInstructionsInBetween(StartInst, EndInst, InstsToCheck); in isSafeToMoveBefore()
2104 Instruction *EndInst = BB->getTerminator(); // Last not to be deleted. in removeAllNonTerminatorAndEHPadInstructions() local2105 while (EndInst != &BB->front()) { in removeAllNonTerminatorAndEHPadInstructions()2107 Instruction *Inst = &*--EndInst->getIterator(); in removeAllNonTerminatorAndEHPadInstructions()2111 EndInst = Inst; in removeAllNonTerminatorAndEHPadInstructions()
248 Instruction *EndInst = nullptr; in splitCandidate() local256 EndInst = Candidate->end()->Inst; in splitCandidate()257 assert(EndInst && "Expected an end instruction?"); in splitCandidate()265 EndInst != BackInst->getNextNonDebugInstruction()) in splitCandidate()350 EndBB = EndInst->getParent(); in splitCandidate()351 FollowBB = EndBB->splitBasicBlock(EndInst, OriginalName + "_after_outline"); in splitCandidate()