Searched refs:SubFn (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp39 static void lowerSubFn(IRBuilder<> &Builder, CoroSubFnInst *SubFn) { argument
40 Builder.SetInsertPoint(SubFn);
41 Value *FrameRaw = SubFn->getFrame();
42 int Index = SubFn->getIndex();
45 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()});
48 Builder.SetInsertPoint(SubFn);
53 SubFn->replaceAllUsesWith(Load);
H A DCoroElide.cpp353 if (auto *SubFn = dyn_cast<CoroSubFnInst>(&I))
354 if (SubFn->getIndex() == CoroSubFnInst::RestartTrigger)
355 DevirtAddr.push_back(SubFn);
H A DCoroSplit.cpp1174 auto *SubFn = dyn_cast<CoroSubFnInst>(Callee); local
1175 if (!SubFn)
1179 if (SubFn->getFrame() != CoroBegin)
1191 Suspend->replaceAllUsesWith(SubFn->getRawIndex());
1204 // If no more users remove it. Usually it is a bitcast of SubFn.
1205 if (CalledValue != SubFn && CalledValue->user_empty())
1209 // Now we are good to remove SubFn.
1210 if (SubFn->user_empty())
1211 SubFn->eraseFromParent();

Completed in 108 milliseconds