Searched refs:BaseFn (Results 1 – 2 of 2) sorted by relevance
171 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local180 assert(!BaseFn->isDeclaration() && "cannot clone undefined variadic method"); in GenerateVarArgsThunk()187 resolveTopLevelMetadata(BaseFn, VMap); in GenerateVarArgsThunk()188 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); in GenerateVarArgsThunk()
1990 CallInst *BaseFn = dyn_cast<CallInst>(Base); in replacePowWithExp() local1991 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp()1994 Function *CalleeFn = BaseFn->getCalledFunction(); in replacePowWithExp()2026 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp()2027 ExpFn = BaseFn->doesNotAccessMemory() in replacePowWithExp()2032 BaseFn->getAttributes()); in replacePowWithExp()2038 substituteInParent(BaseFn, ExpFn); in replacePowWithExp()