Lines Matching defs:FDecl
1152 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl,
1157 if (FDecl.isIntrinsic()) return false;
1159 const Module *M = FDecl.getParent();
1160 assert(M && "Expecting FDecl to be connected to a Module.");
1162 if (FDecl.LibFuncCache == Function::UnknownLibFunc)
1163 if (!getLibFunc(FDecl.getName(), FDecl.LibFuncCache))
1164 FDecl.LibFuncCache = NotLibFunc;
1166 if (FDecl.LibFuncCache == NotLibFunc)
1169 F = FDecl.LibFuncCache;
1170 return isValidProtoForLibFunc(*FDecl.getFunctionType(), F, *M);