Searched refs:BaseFn (Results 1 – 2 of 2) sorted by relevance
1215 CallInst *BaseFn = dyn_cast<CallInst>(Base); in replacePowWithExp() local1216 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()
168 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local175 resolveTopLevelMetadata(BaseFn, VMap); in GenerateVarArgsThunk()176 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); in GenerateVarArgsThunk()