Home
last modified time | relevance | path

Searched refs:BaseFn (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1215 CallInst *BaseFn = dyn_cast<CallInst>(Base); in replacePowWithExp() local
1216 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp()
1219 Function *CalleeFn = BaseFn->getCalledFunction(); in replacePowWithExp()
1249 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp()
1250 ExpFn = BaseFn->doesNotAccessMemory() in replacePowWithExp()
1255 BaseFn->getAttributes()); in replacePowWithExp()
1261 BaseFn->replaceAllUsesWith(ExpFn); in replacePowWithExp()
1262 eraseFromParent(BaseFn); in replacePowWithExp()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGVTables.cpp168 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local
175 resolveTopLevelMetadata(BaseFn, VMap); in GenerateVarArgsThunk()
176 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); in GenerateVarArgsThunk()