Lines Matching defs:BeforeInst
1746 const Instruction *BeforeInst = Inst;
1747 while (BeforeInst != &*Begin) {
1748 BeforeInst = &*std::prev(BasicBlock::const_iterator(BeforeInst));
1749 if (!isFoldedOrDeadInstruction(BeforeInst, *FuncInfo))
1752 if (BeforeInst != Inst && isa<LoadInst>(BeforeInst) &&
1753 BeforeInst->hasOneUse() &&
1754 FastIS->tryToFoldLoad(cast<LoadInst>(BeforeInst), Inst)) {
1757 << "FastISel folded load: " << *BeforeInst << "\n");
1758 FastIS->handleDbgInfo(BeforeInst);
1759 BI = std::next(BasicBlock::const_iterator(BeforeInst));