HomeSort by relevance Sort by last modified time
    Searched refs:OldFunc (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Utils/
CloneFunction.cpp 71 // Clone OldFunc into NewFunc, transforming the old arguments into references to
74 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
82 for (Function::const_arg_iterator I = OldFunc->arg_begin(),
83 E = OldFunc->arg_end(); I != E; ++I)
88 if (NewFunc->arg_size() == OldFunc->arg_size())
89 NewFunc->copyAttributesFrom(OldFunc);
92 for (Function::const_arg_iterator I = OldFunc->arg_begin(),
93 E = OldFunc->arg_end(); I != E; ++I)
95 Anew->addAttr( OldFunc->getAttributes()
98 .addAttr(0, OldFunc->getAttributes(
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
Cloning.h 134 /// Clone OldFunc into NewFunc, transforming the old arguments into references
143 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
161 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,

Completed in 26 milliseconds