Lines Matching refs:FramePtr
163 const coro::Shape &Shape, Value *FramePtr,
170 Shape.emitDealloc(Builder, FramePtr, CG);
175 const coro::Shape &Shape, Value *FramePtr,
194 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG);
201 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG);
225 Value *FramePtr, bool InResume, CallGraph *CG){
238 maybeFreeRetconStorage(Builder, Shape, FramePtr, CG);
252 Value *FramePtr, bool InResume, CallGraph *CG) {
254 replaceUnwindCoroEnd(End, Shape, FramePtr, InResume, CG);
256 replaceFallthroughCoroEnd(End, Shape, FramePtr, InResume, CG);
271 // %index.addr = getelementptr inbounds %f.Frame, %f.Frame* %FramePtr, i32 0,
284 auto *FramePtr = Shape.FramePtr;
287 FrameTy, FramePtr, Shape.getSwitchIndexField(), "index.addr");
305 auto *GepIndex = Builder.CreateStructGEP(FrameTy, FramePtr,
313 FrameTy, FramePtr, Shape.getSwitchIndexField(), "index.addr");
752 Value *OldFramePtr = VMap[Shape.FramePtr];
810 replaceCoroEnd(End, Shape, Shape.FramePtr, /*in resume*/ false, CG);
870 IRBuilder<> Builder(Shape.FramePtr->getNextNode());
872 Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Resume,
886 Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Destroy,
1313 // Make sure we don't invalidate Shape.FramePtr.
1314 TrackingVH<Instruction> Handle(Shape.FramePtr);
1316 Shape.FramePtr = Handle.getValPtr();