Lines Matching refs:BuiltinInfo
21 static const Builtin::Info BuiltinInfo[] = { variable
34 return BuiltinInfo[ID]; in getRecord()
54 if (FuncName.equals(BuiltinInfo[i].Name)) in isBuiltinFunc()
55 return strchr(BuiltinInfo[i].Attributes, 'f') != nullptr; in isBuiltinFunc()
60 bool Builtin::Context::builtinIsSupported(const Builtin::Info &BuiltinInfo, in builtinIsSupported() argument
63 (LangOpts.NoBuiltin || LangOpts.isNoBuiltinFunc(BuiltinInfo.Name)) && in builtinIsSupported()
64 strchr(BuiltinInfo.Attributes, 'f'); in builtinIsSupported()
66 LangOpts.NoMathBuiltin && BuiltinInfo.HeaderName && in builtinIsSupported()
67 llvm::StringRef(BuiltinInfo.HeaderName).equals("math.h"); in builtinIsSupported()
68 bool GnuModeUnsupported = !LangOpts.GNUMode && (BuiltinInfo.Langs & GNU_LANG); in builtinIsSupported()
70 !LangOpts.MicrosoftExt && (BuiltinInfo.Langs & MS_LANG); in builtinIsSupported()
71 bool ObjCUnsupported = !LangOpts.ObjC1 && BuiltinInfo.Langs == OBJC_LANG; in builtinIsSupported()
73 BuiltinInfo.Langs == OCLC20_LANG; in builtinIsSupported()
85 if (builtinIsSupported(BuiltinInfo[i], LangOpts)) { in initializeBuiltins()
86 Table.get(BuiltinInfo[i].Name).setBuiltinID(i); in initializeBuiltins()