Searched refs:EndInst (Results 1 – 11 of 11) sorted by relevance
60 collectInstructionsInBetween(Instruction &StartInst, const Instruction &EndInst, in collectInstructionsInBetween() argument82 if (CurInst == &EndInst) in collectInstructionsInBetween()134 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore() local136 collectInstructionsInBetween(StartInst, EndInst, InstsToCheck); in isSafeToMoveBefore()
1898 Instruction *EndInst = BB->getTerminator(); // Last not to be deleted. in removeAllNonTerminatorAndEHPadInstructions() local1899 while (EndInst != &BB->front()) { in removeAllNonTerminatorAndEHPadInstructions()1901 Instruction *Inst = &*--EndInst->getIterator(); in removeAllNonTerminatorAndEHPadInstructions()1905 EndInst = Inst; in removeAllNonTerminatorAndEHPadInstructions()
278 collectInstructionsInBetween(Instruction &StartInst, const Instruction &EndInst, in collectInstructionsInBetween() argument300 if (CurInst == &EndInst) in collectInstructionsInBetween()349 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore() local351 collectInstructionsInBetween(StartInst, EndInst, InstsToCheck); in isSafeToMoveBefore()
2018 Instruction *EndInst = BB->getTerminator(); // Last not to be deleted. in removeAllNonTerminatorAndEHPadInstructions() local2019 while (EndInst != &BB->front()) { in removeAllNonTerminatorAndEHPadInstructions()2021 Instruction *Inst = &*--EndInst->getIterator(); in removeAllNonTerminatorAndEHPadInstructions()2025 EndInst = Inst; in removeAllNonTerminatorAndEHPadInstructions()
88 inline Instruction* EndInst() { return end_inst_.get(); } in EndInst() function89 inline const Instruction* EndInst() const { return end_inst_.get(); } in EndInst() function
48 clone->SetFunctionEnd(std::unique_ptr<Instruction>(EndInst()->Clone(ctx))); in Clone()
1296 Instruction *EndInst = BB->getTerminator(); // Last not to be deleted. in removeAllNonTerminatorAndEHPadInstructions() local1297 while (EndInst != &BB->front()) { in removeAllNonTerminatorAndEHPadInstructions()1299 Instruction *Inst = &*--EndInst->getIterator(); in removeAllNonTerminatorAndEHPadInstructions()1303 EndInst = Inst; in removeAllNonTerminatorAndEHPadInstructions()