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

  /external/llvm/include/llvm/Transforms/Utils/
Cloning.h 134 /// Clone OldFunc into NewFunc, transforming the old arguments into references
135 /// to VMap values. Note that if NewFunc already has basic blocks, the ones
143 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
161 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
  /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,
88 if (NewFunc->arg_size() == OldFunc->arg_size())
89 NewFunc->copyAttributesFrom(OldFunc);
97 NewFunc->setAttributes(NewFunc->getAttributes()
100 NewFunc->setAttributes(NewFunc->getAttributes()
115 BasicBlock *CBB = CloneBasicBlock(&BB, VMap, NameSuffix, NewFunc, CodeInfo);
125 BE = NewFunc->end(); BB != BE; ++BB
    [all...]

Completed in 62 milliseconds