Lines Matching refs:OptMap
16 return OptMap.find(Ext) != OptMap.end(); in isKnown()
24 auto &OptInfo = OptMap.find(Ext)->getValue(); in isAvailableOption()
32 auto I = OptMap.find(Ext); in isEnabled()
33 return I != OptMap.end() && I->getValue().Enabled; in isEnabled()
37 auto E = OptMap.find(Ext); in isWithPragma()
38 return E != OptMap.end() && E->second.WithPragma; in isWithPragma()
43 auto I = OptMap.find(Ext); in isSupported()
44 return I != OptMap.end() && I->getValue().Supported && in isSupported()
50 auto I = OptMap.find(Ext); in isSupportedCore()
51 return I != OptMap.end() && I->getValue().Supported && in isSupportedCore()
57 auto I = OptMap.find(Ext); in isSupportedOptionalCore()
58 return I != OptMap.end() && I->getValue().Supported && in isSupportedOptionalCore()
69 auto I = OptMap.find(Ext); in isSupportedExtension()
70 return I != OptMap.end() && I->getValue().Supported && in isSupportedExtension()
76 OptMap[Ext].Enabled = V; in enable()
80 OptMap[Ext].WithPragma = V; in acceptsPragma()
86 OptMap[Ext].Supported = V; in support()
91 OptMap.insert_or_assign(#Ext, OpenCLOptionInfo{__VA_ARGS__}); in OpenCLOptions()
99 if (F.getValue() && isKnown(Name) && OptMap[Name].isAvailableIn(Opts)) in addSupport()
105 for (auto &Opt : OptMap) in disableAll()