Home
last modified time | relevance | path

Searched refs:NewFunc (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp76 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc, in CloneFunctionInto() argument
102 NewFunc->setAttributes(NewFunc->getAttributes() in CloneFunctionInto()
103 .addAttributes(NewFunc->getContext(), in CloneFunctionInto()
106 NewFunc->setAttributes(NewFunc->getAttributes() in CloneFunctionInto()
107 .addAttributes(NewFunc->getContext(), in CloneFunctionInto()
120 BasicBlock *CBB = CloneBasicBlock(&BB, VMap, NameSuffix, NewFunc, CodeInfo); in CloneFunctionInto()
134 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto()
145 BE = NewFunc->end(); BB != BE; ++BB) in CloneFunctionInto()
201 Function *NewFunc; member
215 : NewFunc(newFunc), OldFunc(oldFunc), in PruningFunctionCloner()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h128 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
147 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1085 const FunctionProtoType *NewFunc in adjustFunctionTypeForInstantiation() local
1087 if (OrigFunc->getExtInfo() == NewFunc->getExtInfo()) in adjustFunctionTypeForInstantiation()
1090 FunctionProtoType::ExtProtoInfo NewEPI = NewFunc->getExtProtoInfo(); in adjustFunctionTypeForInstantiation()
1092 return Context.getFunctionType(NewFunc->getResultType(), in adjustFunctionTypeForInstantiation()
1093 ArrayRef<QualType>(NewFunc->arg_type_begin(), in adjustFunctionTypeForInstantiation()
1094 NewFunc->getNumArgs()), in adjustFunctionTypeForInstantiation()