Home
last modified time | relevance | path

Searched refs:EndInst (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp278 collectInstructionsInBetween(Instruction &StartInst, const Instruction &EndInst, in collectInstructionsInBetween() argument
300 if (CurInst == &EndInst) in collectInstructionsInBetween()
357 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore() local
359 collectInstructionsInBetween(StartInst, EndInst, InstsToCheck); in isSafeToMoveBefore()
H A DLocal.cpp2104 Instruction *EndInst = BB->getTerminator(); // Last not to be deleted. in removeAllNonTerminatorAndEHPadInstructions() local
2105 while (EndInst != &BB->front()) { in removeAllNonTerminatorAndEHPadInstructions()
2107 Instruction *Inst = &*--EndInst->getIterator(); in removeAllNonTerminatorAndEHPadInstructions()
2111 EndInst = Inst; in removeAllNonTerminatorAndEHPadInstructions()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp248 Instruction *EndInst = nullptr; in splitCandidate() local
256 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()