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()
2816 Instruction *EndInst = BB->getTerminator(); // Last not to be deleted. in removeAllNonTerminatorAndEHPadInstructions() local2818 handleUnreachableTerminator(EndInst, Uses); in removeAllNonTerminatorAndEHPadInstructions()2820 while (EndInst != &BB->front()) { in removeAllNonTerminatorAndEHPadInstructions()2822 Instruction *Inst = &*--EndInst->getIterator(); in removeAllNonTerminatorAndEHPadInstructions()2829 EndInst = Inst; in removeAllNonTerminatorAndEHPadInstructions()
253 Instruction *EndInst = nullptr; in splitCandidate() local261 EndInst = Candidate->end()->Inst; in splitCandidate()262 assert(EndInst && "Expected an end instruction?"); in splitCandidate()270 EndInst != BackInst->getNextNonDebugInstruction()) in splitCandidate()355 EndBB = EndInst->getParent(); in splitCandidate()356 FollowBB = EndBB->splitBasicBlock(EndInst, OriginalName + "_after_outline"); in splitCandidate()