OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OldFunc
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Transforms/Utils/
CloneFunction.cpp
73
// Clone
OldFunc
into NewFunc, transforming the old arguments into references to
76
void llvm::CloneFunctionInto(Function *NewFunc, const Function *
OldFunc
,
85
for (Function::const_arg_iterator I =
OldFunc
->arg_begin(),
86
E =
OldFunc
->arg_end(); I != E; ++I)
91
if (NewFunc->arg_size() ==
OldFunc
->arg_size())
92
NewFunc->copyAttributesFrom(
OldFunc
);
95
for (Function::const_arg_iterator I =
OldFunc
->arg_begin(),
96
E =
OldFunc
->arg_end(); I != E; ++I)
98
Anew->addAttr(
OldFunc
->getAttributes()
101
.addAttr(0,
OldFunc
->getAttributes(
[
all
...]
/external/llvm/include/llvm/Transforms/Utils/
Cloning.h
126
/// Clone
OldFunc
into NewFunc, transforming the old arguments into references
135
void CloneFunctionInto(Function *NewFunc, const Function *
OldFunc
,
154
void CloneAndPruneFunctionInto(Function *NewFunc, const Function *
OldFunc
,
Completed in 31 milliseconds