OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OldFunc
(Results
1 - 3
of
3
) sorted by null
/external/llvm/lib/Transforms/Utils/
CloneFunction.cpp
74
// Clone
OldFunc
into NewFunc, transforming the old arguments into references to
77
void llvm::CloneFunctionInto(Function *NewFunc, const Function *
OldFunc
,
87
for (Function::const_arg_iterator I =
OldFunc
->arg_begin(),
88
E =
OldFunc
->arg_end(); I != E; ++I)
95
NewFunc->copyAttributesFrom(
OldFunc
);
98
AttributeSet OldAttrs =
OldFunc
->getAttributes();
100
for (const Argument &OldArg :
OldFunc
->args())
119
for (Function::const_iterator BI =
OldFunc
->begin(), BE =
OldFunc
->end();
136
Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(
OldFunc
),
[
all
...]
/external/llvm/unittests/Transforms/Utils/
Cloning.cpp
225
OldFunc
= Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M);
241
FuncType, true, true, 3, 0, false,
OldFunc
);
244
BasicBlock* Entry = BasicBlock::Create(C, "",
OldFunc
);
275
NewFunc = CloneFunction(
OldFunc
, VMap, true, nullptr);
285
Function*
OldFunc
;
293
EXPECT_NE(
OldFunc
, NewFunc);
309
EXPECT_TRUE((Sub1.getFunction() ==
OldFunc
&& Sub2.getFunction() == NewFunc)
310
|| (Sub1.getFunction() == NewFunc && Sub2.getFunction() ==
OldFunc
));
331
inst_iterator OldIter = inst_begin(
OldFunc
);
332
inst_iterator OldEnd = inst_end(
OldFunc
);
[
all
...]
/external/llvm/include/llvm/Transforms/Utils/
Cloning.h
118
/// Clone
OldFunc
into NewFunc, transforming the old arguments into references
127
void CloneFunctionInto(Function *NewFunc, const Function *
OldFunc
,
147
void CloneAndPruneFunctionInto(Function *NewFunc, const Function *
OldFunc
,
Completed in 93 milliseconds