reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
688 if (!II) 691 if (II->getIntrinsicID() == Intrinsic::stacksave) { 692 IRBuilder<> IRB(II); 694 LI->takeName(II); 695 II->replaceAllUsesWith(LI); 696 II->eraseFromParent(); 697 } else if (II->getIntrinsicID() == Intrinsic::stackrestore) { 698 IRBuilder<> IRB(II); 699 Instruction *SI = IRB.CreateStore(II->getArgOperand(0), UnsafeStackPtr); 700 SI->takeName(II); 701 assert(II->use_empty()); 702 II->eraseFromParent();