HomeSort by relevance Sort by last modified time
    Searched refs:NewFunc (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,
91 if (NewFunc->arg_size() == OldFunc->arg_size())
92 NewFunc->copyAttributesFrom(OldFunc);
100 NewFunc->setAttributes(NewFunc->getAttributes()
103 NewFunc->setAttributes(NewFunc->getAttributes()
118 BasicBlock *CBB = CloneBasicBlock(&BB, VMap, NameSuffix, NewFunc, CodeInfo);
132 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB);
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
Cloning.h 126 /// Clone OldFunc into NewFunc, transforming the old arguments into references
127 /// to VMap values. Note that if NewFunc already has basic blocks, the ones
135 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
154 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,

Completed in 23 milliseconds