Searched refs:BaseFn (Results 1 – 4 of 4) sorted by relevance
168 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local177 assert(!BaseFn->isDeclaration() && "cannot clone undefined variadic method"); in GenerateVarArgsThunk()184 resolveTopLevelMetadata(BaseFn, VMap); in GenerateVarArgsThunk()185 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); in GenerateVarArgsThunk()
1478 CallInst *BaseFn = dyn_cast<CallInst>(Base); in replacePowWithExp() local1479 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp()1482 Function *CalleeFn = BaseFn->getCalledFunction(); in replacePowWithExp()1510 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp()1511 ExpFn = BaseFn->doesNotAccessMemory() in replacePowWithExp()1516 BaseFn->getAttributes()); in replacePowWithExp()1522 substituteInParent(BaseFn, ExpFn); in replacePowWithExp()
155 llvm::Function *BaseFn = cast<llvm::Function>(Callee); in GenerateVarArgsThunk() local159 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); in GenerateVarArgsThunk()
1085 template <typename BaseFn>1090 int64 dst_start, int64 src_start, BaseFn&& base) { in GenerateIndices()