Searched refs:OldFunc (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 92 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc, in CloneFunctionInto() argument 99 NewFunc->setIsNewDbgInfoFormat(OldFunc->IsNewDbgInfoFormat); in CloneFunctionInto() 103 for (const Argument &I : OldFunc->args()) in CloneFunctionInto() 112 NewFunc->copyAttributesFrom(OldFunc); in CloneFunctionInto() 119 if (OldFunc->hasPersonalityFn()) in CloneFunctionInto() 120 NewFunc->setPersonalityFn(MapValue(OldFunc->getPersonalityFn(), VMap, in CloneFunctionInto() 124 if (OldFunc->hasPrefixData()) { in CloneFunctionInto() 125 NewFunc->setPrefixData(MapValue(OldFunc->getPrefixData(), VMap, in CloneFunctionInto() 130 if (OldFunc->hasPrologueData()) { in CloneFunctionInto() 131 NewFunc->setPrologueData(MapValue(OldFunc->getPrologueData(), VMap, in CloneFunctionInto() [all …]
|
H A D | CodeExtractor.cpp | 1544 static void fixupDebugInfoPostExtraction(Function &OldFunc, Function &NewFunc, in fixupDebugInfoPostExtraction() argument 1546 DISubprogram *OldSP = OldFunc.getSubprogram(); in fixupDebugInfoPostExtraction() 1547 LLVMContext &Ctx = OldFunc.getContext(); in fixupDebugInfoPostExtraction() 1561 DIBuilder DIB(*OldFunc.getParent(), /*AllowUnresolved=*/false, in fixupDebugInfoPostExtraction() 1930 bool CodeExtractor::verifyAssumptionCache(const Function &OldFunc, in verifyAssumptionCache() argument 1939 if (I->getFunction() != &OldFunc) in verifyAssumptionCache() 1949 if (AffectedCI->getFunction() != &OldFunc) in verifyAssumptionCache() 1952 if (AssumedInst->getFunction() != &OldFunc) in verifyAssumptionCache()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | Cloning.h | 169 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc, 177 void CloneAndPruneIntoFromInst(Function *NewFunc, const Function *OldFunc, 195 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
|
H A D | CodeExtractor.h | 179 static bool verifyAssumptionCache(const Function &OldFunc,
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 4941 auto UpgradeToIntrinsic = [&](const char *OldFunc, in UpgradeARCRuntime() 4943 Function *Fn = M.getFunction(OldFunc); in UpgradeARCRuntime()
|