Home
last modified time | relevance | path

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

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