Searched refs:OldFunc (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.2-release/contrib/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp73 // Clone OldFunc into NewFunc, transforming the old arguments into references to
76 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc, argument
86 for (Function::const_arg_iterator I = OldFunc->arg_begin(),
87 E = OldFunc->arg_end(); I != E; ++I)
91 AttributeSet OldAttrs = OldFunc->getAttributes();
93 for (Function::const_arg_iterator I = OldFunc->arg_begin(),
94 E = OldFunc->arg_end();
116 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end();
133 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc),
203 const Function *OldFunc; member in struct:__anon2835::PruningFunctionCloner
365 CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc, ValueToValueMapTy &VMap, bool ModuleLevelChanges, SmallVectorImpl<ReturnInst*> &Returns, const char *NameSuffix, ClonedCodeInfo *CodeInfo, const DataLayout *TD, Instruction *TheCall) argument
[all...]
/freebsd-10.2-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DCloning.h119 /// Clone OldFunc into NewFunc, transforming the old arguments into references
128 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
148 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,

Completed in 112 milliseconds