Searched refs:BaseFn (Results 1 – 2 of 2) sorted by relevance
177 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local186 assert(!BaseFn->isDeclaration() && "cannot clone undefined variadic method"); in GenerateVarArgsThunk()193 resolveTopLevelMetadata(BaseFn, VMap); in GenerateVarArgsThunk()194 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); in GenerateVarArgsThunk()
2059 CallInst *BaseFn = dyn_cast<CallInst>(Base); in replacePowWithExp() local2060 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp()2063 Function *CalleeFn = BaseFn->getCalledFunction(); in replacePowWithExp()2095 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp()2096 ExpFn = BaseFn->doesNotAccessMemory() in replacePowWithExp()2100 BaseFn->getAttributes()); in replacePowWithExp()2106 substituteInParent(BaseFn, ExpFn); in replacePowWithExp()