Searched refs:SubFn (Results 1 – 3 of 3) sorted by relevance
41 static void lowerSubFn(IRBuilder<> &Builder, CoroSubFnInst *SubFn) { in lowerSubFn() argument42 Builder.SetInsertPoint(SubFn); in lowerSubFn()43 Value *FrameRaw = SubFn->getFrame(); in lowerSubFn()44 int Index = SubFn->getIndex(); in lowerSubFn()47 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); in lowerSubFn()50 Builder.SetInsertPoint(SubFn); in lowerSubFn()55 SubFn->replaceAllUsesWith(Load); in lowerSubFn()
260 if (auto *SubFn = dyn_cast<CoroSubFnInst>(&I)) in replaceDevirtTrigger() local261 if (SubFn->getIndex() == CoroSubFnInst::RestartTrigger) in replaceDevirtTrigger()262 DevirtAddr.push_back(SubFn); in replaceDevirtTrigger()
580 auto *SubFn = dyn_cast<CoroSubFnInst>(Callee); in simplifySuspendPoint() local581 if (!SubFn) in simplifySuspendPoint()585 if (SubFn->getFrame() != CoroBegin) in simplifySuspendPoint()590 Suspend->replaceAllUsesWith(SubFn->getRawIndex()); in simplifySuspendPoint()597 if (SubFn->user_empty()) in simplifySuspendPoint()598 SubFn->eraseFromParent(); in simplifySuspendPoint()