Lines Matching defs:FDecl
1221 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl,
1226 if (FDecl.isIntrinsic()) return false;
1228 const Module *M = FDecl.getParent();
1229 assert(M && "Expecting FDecl to be connected to a Module.");
1231 if (FDecl.LibFuncCache == Function::UnknownLibFunc)
1232 if (!getLibFunc(FDecl.getName(), FDecl.LibFuncCache))
1233 FDecl.LibFuncCache = NotLibFunc;
1235 if (FDecl.LibFuncCache == NotLibFunc)
1238 F = FDecl.LibFuncCache;
1239 return isValidProtoForLibFunc(*FDecl.getFunctionType(), F, *M);