OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:duplicateFunction
(Results
1 - 2
of
2
) sorted by null
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
PartialInlining.cpp
73
Function*
duplicateFunction
= CloneFunction(F, VMap,
75
duplicateFunction
->setLinkage(GlobalValue::InternalLinkage);
76
F->getParent()->getFunctionList().push_back(
duplicateFunction
);
83
F->replaceAllUsesWith(
duplicateFunction
);
114
for (Function::iterator FI =
duplicateFunction
->begin(),
115
FE =
duplicateFunction
->end(); FI != FE; ++FI)
122
DT.runOnFunction(*
duplicateFunction
);
130
std::vector<User*> Users(
duplicateFunction
->use_begin(),
131
duplicateFunction
->use_end());
141
duplicateFunction
->replaceAllUsesWith(F)
[
all
...]
/external/llvm/lib/Transforms/IPO/
PartialInlining.cpp
82
Function*
duplicateFunction
= CloneFunction(F, VMap);
83
duplicateFunction
->setLinkage(GlobalValue::InternalLinkage);
90
F->replaceAllUsesWith(
duplicateFunction
);
121
for (BasicBlock &BB : *
duplicateFunction
)
128
DT.recalculate(*
duplicateFunction
);
137
std::vector<User *> Users(
duplicateFunction
->user_begin(),
138
duplicateFunction
->user_end());
147
duplicateFunction
->replaceAllUsesWith(F);
148
duplicateFunction
->eraseFromParent();
Completed in 571 milliseconds