OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SubFn
(Results
1 - 3
of
3
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroCleanup.cpp
39
static void lowerSubFn(IRBuilder<> &Builder, CoroSubFnInst *
SubFn
) {
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);
116
M, {"llvm.coro.alloc", "llvm.coro.begin", "llvm.coro.
subfn
.addr",
CoroElide.cpp
47
// Go through the list of coro.
subfn
.addr intrinsics and replace them with the
55
// being replaced. Note: All coro.
subfn
.addr intrinsics return the same type,
304
// Collect all coro.
subfn
.addrs associated with coro.begin.
305
// Note, we only devirtualize the calls if their coro.
subfn
.addr refers to
319
llvm_unreachable("unexpected coro.
subfn
.addr constant");
352
// See if there are any coro.
subfn
.addr instructions referring to coro.devirt
357
if (auto *
SubFn
= dyn_cast<CoroSubFnInst>(&I))
358
if (
SubFn
->getIndex() == CoroSubFnInst::RestartTrigger)
359
DevirtAddr.push_back(
SubFn
);
CoroSplit.cpp
1391
auto *
SubFn
= dyn_cast<CoroSubFnInst>(Callee);
1392
if (!
SubFn
)
1396
if (
SubFn
->getFrame() != CoroBegin)
1408
Suspend->replaceAllUsesWith(
SubFn
->getRawIndex());
1421
// If no more users remove it. Usually it is a bitcast of
SubFn
.
1422
if (CalledValue !=
SubFn
&& CalledValue->user_empty())
1426
// Now we are good to remove
SubFn
.
1427
if (
SubFn
->user_empty())
1428
SubFn
->eraseFromParent();
1883
// %0 = call i8* @llvm.coro.
subfn
.addr(i8* null, i8 -1
[
all
...]
Completed in 19 milliseconds
Indexes created Mon Sep 14 00:24:24 UTC 2026