Searched refs:EndInst (Results 1 – 9 of 9) 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()
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()
89 inline Instruction* EndInst() { return end_inst_.get(); } in EndInst() function90 inline const Instruction* EndInst() const { return end_inst_.get(); } in EndInst() function
1471 body.push_back(function.EndInst()); in GetFunctionBody()