Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp177 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local
186 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2059 CallInst *BaseFn = dyn_cast<CallInst>(Base); in replacePowWithExp() local
2060 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()