Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGVTables.cpp170 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local
179 assert(!BaseFn->isDeclaration() && "cannot clone undefined variadic method"); in GenerateVarArgsThunk()
186 resolveTopLevelMetadata(BaseFn, VMap); in GenerateVarArgsThunk()
187 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); in GenerateVarArgsThunk()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1880 CallInst *BaseFn = dyn_cast<CallInst>(Base); in replacePowWithExp() local
1881 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp()
1884 Function *CalleeFn = BaseFn->getCalledFunction(); in replacePowWithExp()
1916 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp()
1917 ExpFn = BaseFn->doesNotAccessMemory() in replacePowWithExp()
1922 BaseFn->getAttributes()); in replacePowWithExp()
1928 substituteInParent(BaseFn, ExpFn); in replacePowWithExp()