Searched refs:ClonedFunc (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/llvm/tools/llvm-reduce/deltas/ |
D | ReduceArguments.cpp | 89 auto *ClonedFunc = CloneFunction(F, VMap); in extractArgumentsFromModule() local 91 ClonedFunc->removeFromParent(); in extractArgumentsFromModule() 92 Program->getFunctionList().insertAfter(F->getIterator(), ClonedFunc); in extractArgumentsFromModule() 94 replaceFunctionCalls(*F, *ClonedFunc, ArgIndexesToKeep); in extractArgumentsFromModule() 97 F->replaceAllUsesWith(ConstantExpr::getBitCast(ClonedFunc, F->getType())); in extractArgumentsFromModule() 99 ClonedFunc->setName(FName); in extractArgumentsFromModule()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 247 Function *ClonedFunc = nullptr; member 733 Cloner.ClonedFuncBFI->getBlockFreq(&Cloner.ClonedFunc->getEntryBlock()); in getOutliningCallBBRelativeFreq() 775 assert(Callee == Cloner.ClonedFunc); in shouldPartialInline() 998 ClonedFunc = CloneFunction(F, VMap); in FunctionCloner() 1011 F->replaceAllUsesWith(ClonedFunc); in FunctionCloner() 1024 ClonedFunc = CloneFunction(F, VMap); in FunctionCloner() 1045 F->replaceAllUsesWith(ClonedFunc); in FunctionCloner() 1143 DT.recalculate(*ClonedFunc); in doMultiRegionFunctionOutlining() 1147 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doMultiRegionFunctionOutlining() 1148 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doMultiRegionFunctionOutlining() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 251 Function *ClonedFunc = nullptr; member 725 Cloner.ClonedFuncBFI->getBlockFreq(&Cloner.ClonedFunc->getEntryBlock()); in getOutliningCallBBRelativeFreq() 769 assert(Callee == Cloner.ClonedFunc); in shouldPartialInline() 974 ClonedFunc = CloneFunction(F, VMap); in FunctionCloner() 987 F->replaceAllUsesWith(ClonedFunc); in FunctionCloner() 999 ClonedFunc = CloneFunction(F, VMap); in FunctionCloner() 1020 F->replaceAllUsesWith(ClonedFunc); in FunctionCloner() 1119 DT.recalculate(*ClonedFunc); in doMultiRegionFunctionOutlining() 1123 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doMultiRegionFunctionOutlining() 1124 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doMultiRegionFunctionOutlining() [all …]
|