Lines Matching refs:OptMap
14 return OptMap.find(Ext) != OptMap.end(); in isKnown()
22 auto &OptInfo = OptMap.find(Ext)->getValue(); in isAvailableOption()
30 auto I = OptMap.find(Ext); in isEnabled()
31 return I != OptMap.end() && I->getValue().Enabled; in isEnabled()
35 auto E = OptMap.find(Ext); in isWithPragma()
36 return E != OptMap.end() && E->second.WithPragma; in isWithPragma()
41 auto I = OptMap.find(Ext); in isSupported()
42 return I != OptMap.end() && I->getValue().Supported && in isSupported()
48 auto I = OptMap.find(Ext); in isSupportedCore()
49 return I != OptMap.end() && I->getValue().Supported && in isSupportedCore()
55 auto I = OptMap.find(Ext); in isSupportedOptionalCore()
56 return I != OptMap.end() && I->getValue().Supported && in isSupportedOptionalCore()
67 auto I = OptMap.find(Ext); in isSupportedExtension()
68 return I != OptMap.end() && I->getValue().Supported && in isSupportedExtension()
74 OptMap[Ext].Enabled = V; in enable()
78 OptMap[Ext].WithPragma = V; in acceptsPragma()
84 OptMap[Ext].Supported = V; in support()
89 OptMap.insert_or_assign(#Ext, OpenCLOptionInfo{__VA_ARGS__}); in OpenCLOptions()
97 if (F.getValue() && isKnown(Name) && OptMap[Name].isAvailableIn(Opts)) in addSupport()
103 for (auto &Opt : OptMap) in disableAll()